View Single Post
Re: Let go off auto-waypointing?
Old
  (#33)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Let go off auto-waypointing? - 15-06-2004

the oilrig problem is solved yes.

The walk speed is limited somewhere in the cBot::UpdateStatus() function. It differs for CS 1.6 and CS 1.5, but there is no way to tell how much a bot is limited.

here is the snippet:

Code:
  // Set max speed and such when CS 1.6
  if (counterstrike == 1)
  {
 f_max_speed = pEdict->v.maxspeed;
 bot_health = pEdict->v.health;
 bot_armor = pEdict->v.armorvalue;
  }
in CS 1.5 this info is sent by engine messages, but in CS 1.6 you can directly catch this because engine messages are not sent this way.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote