View Single Post
Re: hpb template 4 metamod & cleaned
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: hpb template 4 metamod & cleaned - 24-12-2004

hmm, you'd better call this your own template, and not the "HPB template" anymore. This because botman did not want his bot to support Counter-Strike, and the msec problem you're talking about affects Counter-Strike (and thus round-based games) only.
Quote:
Originally Posted by Rifleman
And this is an old bug of HPB_template

in bot_navigate.cpp the function BotChangePitch

pEdict->v.v_angle.x = current;

We have to add this line below the above line else the pitch angle we set wont have any use

pEdict->v.angles.x = pEdict->v.v_angle.x / 3;
No, this is not needed because the bot's body angles are set already at the end of each BotThink, before the RunPlayerMove call. Doing it again here is redundant.

It's nice that you care about CS players, though, but I think you should fork from the official HPB template and call this another name instead.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 24-12-2004 at 21:10..
  
Reply With Quote