ineedbots / t6_bot_warfare

The Bot Warfare mod for Black Ops 2
https://www.moddb.com/mods/bot-warfare
27 stars 5 forks source link

Creating variable difficulty for the bots #30

Open LaserP563 opened 9 months ago

LaserP563 commented 9 months ago

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.

ineedbots commented 9 months ago

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