![]() |
how to make bots fully aggresive?
which parts of the src code do I need 2 edit to make them go totally beserk?
This means they 1) dont run from enemies regardless of their health or being hit 2) dont walk (as in use SHIFT while moving) 3) dont take precautionary measures and charges straight at their enemies ive taken a look at the bot_combat.cpp but i dont understand most of the code hope someone can help me out thx |
Re: how to make bots fully aggresive?
To make the bots always run, make sure the bot's v.button bit 12 (IN_RUN) is set before g_engfuncs.pfnRunPlayerMove is called. Do the bots not run if always run is set?
I'm not sure about the other two, but for attacking regardless of health maybe check any comparisons of v.health and see if there's something that tells the bot not to attack. |
All times are GMT +2. The time now is 17:23. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.