NxLabs / Insurgency: Sandstorm
Scale Bot Amount (v1.2.0)
scale amount of bots base on the amount of players in game
Description
NOTE: This is a mutator for the server-side. Its also for Coop only.
This mutator will scale the amount of enemy bot for people using bSoloGame. It will scale base on the MinimumEnemies and MaximumEnemies. Please make sure you set yours MaxPlayersToScaleEnemyCount to the number of players to scale with.
As long as a coop gamemode use bSoloGameand SoloEnemies then this mod will work.
Mutator name:
- ScaleBotAmount
Default game.ini
[/ScaleBotAmount/Mutators/ScaleBotAmount.ScaleBotAmount_C] ;Enable enemy bot scale for bBots bScaleBot=True
;Enemy bot scale base on your friendly bot too. Otherwise, just players bScaleWithFriendlyBot=True
;Your team will lose only if your whole team is dead (including friendly bot) with no reinforcement wave left ;You will still lose if enemy recap your checkpoint because that part of the gamemode bLoseWhenWholeTeamDead=True
The formula for scaling the bot
players = players + (friendly bots) scaleplayer = amount of players to scale with max = maximum enemies min = minimum enemies
domain x >= 1 otherwise x = 1 f(x) = x - 1
(((max - min) / (scaleplayer - 1)) * f(players)) + min
Use bForceSoloWaves=True if you want to enable the waves FriendlyBotQuota=8 if you want to have friendly bots
If you like my mod and you want to support me, you can make a donation in my profile.
Ratings & reviews
Sign in to leave a rating or comment.