t6_bot_warfare
t6_bot_warfare copied to clipboard
Creating variable difficulty for the bots
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.
not really possible in gsc, the game engine handles quite a bit of the bot's actions and use the dvars,