View Single Post
Buying weapons routines
Old
  (#1)
sten
Guest
 
Status:
Posts: n/a
Default Buying weapons routines - 06-11-2004

How can I make my bot to buy things. I have altered botmans code to make a new cs bot. So far I havent seen anything that refers buying. I tought that when I put engine_debug flag on, I would get some info, but couldn't do that, because there wasnt such a flag in engine.cpp. I made a new FireWeapon function wich works so far, but it's kind of hard to chooce weapons when bot only have a pistol and knife.

I planned that BotThink function would call "BotBuyWeapon" function if bot is in buying area and for example don't have a primary weapon. So now I would need to know what kind of message should be sent, or better if there is some free routines for this, those would be nice, so I would not have to "invent wheel again"..

thx: NiCo

PS: Couldn't find answers with that awesome search this time..
  
Reply With Quote