Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating variable difficulty for the bots #30

Open
LaserP563 opened this issue Sep 18, 2023 · 1 comment
Open

Creating variable difficulty for the bots #30

LaserP563 opened this issue Sep 18, 2023 · 1 comment

Comments

@LaserP563
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants