Shared HostingFirst month freeShared web hosting from $2.99/mo — $0 today, and the price you sign up at is the price you renew at.See hosting plans →

NxLabs / Insurgency: Sandstorm

Scale Bot Amount (v1.2.0)

By Destinate

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

No ratings yet

Sign in to leave a rating or comment.