t6_bot_warfare icon indicating copy to clipboard operation
t6_bot_warfare copied to clipboard

Creating variable difficulty for the bots

Open LaserP563 opened this issue 2 years ago • 1 comments

I would like to create a variable difficulty for the bots similar to the level 9 bots in the IW5 version of Bot Warfare, but I'm not sure if I were to set certain dvars to randomIntRange( x, y ) if it would generate a random int in the range once and apply it to all bots, or if it would generate a random int for each bot individually.

Additionally, because of the absence of the aim_offset_amount and aim_offset_time dvars from IW5's version of the script, I was planning on creating a custom bot_get_aim_error function and replace the one from _bots_combat.gsc, similarly to how you replaced the bot_should_hip_fire function in your script, but I had the same doubt about whether it would set one int for all bots or if it would assign a random aim error for each individual bot.

LaserP563 avatar Sep 18 '23 20:09 LaserP563

not really possible in gsc, the game engine handles quite a bit of the bot's actions and use the dvars,

ineedbots avatar Sep 18 '23 22:09 ineedbots