Insurgency: Sandstorm

Scale Bot Amount (v1.2.0) for Insurgency: Sandstorm

Released (updated ago). Ranked 50 of 511 with 118,199 (57 today) downloads

Published by Destinate (mod ID: 135290)

logo.png

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 bBots. 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 bBots and 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.

Releases

FilenameSizeVersionAddedOptions
filedata.10.zip5.89kb1.2.0

filedata.9.zip5.89kb1.1.1

filedata.8.zip1.41mb1.1.0d

filedata.7.zip1.41mb1.1.0c

filedata.6.zip1.41mb1.1.0b

filedata.5.zip1.41mb1.1.0a

filedata.4.zip1.41mb1.1.0

filedata.3.zip1.41mb1.0.1

filedata.2.zip1.41mb1.0.0b

filedata.1.zip1.41mb1.0.0a

filedata.zip1.41mb1.0.0

69 comments

Join the community or sign in with your gaming account to join the conversation:

DA
dantaylor129 @dantaylor129

Is there an issue with the scaling in vanilla or is ot the addition of bLoseWhenWholeTeamDead that makes this needed? Cause this would require bSoloGame to work after 1.11? Then itd just be doing what vanilla does but using SoloEnemies instead of Min/Max.

Destinate
Destinate @destinate

This just change the SoloEnemies to use Min/Max. The vanilla scaling only works if you aren't using bBots/bSoloGame. It is just some server owners want to have FriendlyBot and which requires bBots/bSoloGame to be enabled to have friendly bots.

DA
dantaylor129 @dantaylor129

Got it, but vanilla scaling works for everything except bSoloGame after the hotfix. The only thing bSoloGame does now is fix the bot count to SoloEnemies instead of the scaling by player count. Ai enemy and teammates can be added with bBots, which works with scaling. There was a bug in 1.11 initially that bBots disabled friendly AI and so bSoloGame was required, but they fixed in the hotfix. So by setting bSoloGame now, all you're doing is turning off scaling only to turn it on again with this mod.

Destinate
Destinate @destinate

Pretty much
Another thing is that using the min and max, the bot will respawn. Like your max is 30 bots but somehow a single checkpoint you get like 50 bots because they respawn. But using the bSoloGame with the SoloEnemies, they don't respawn at all.

[KC]Ballistic650
[KC]Ballistic650 @kcballistic650

bLoseWhenWholeTeamDead is set to false, however, we will still lose the round if everyone dies when we haven't even captured the objective.

Destinate
Destinate @destinate

Will have to take a look at it when I have time. Probably the update changed something related to it.

[KC]Ballistic650
[KC]Ballistic650 @kcballistic650

Great, appreciate it!

Shoot2Skoot
Shoot2Skoot @shoot2skoot

Is it at all possible to use this with the Custom Scenerios Mod's Operation Gamemode?
Insurgencysandstorm.mod.io

Destinate
Destinate @destinate

It should work. This only config change for SoloEnemies.

SHTH34D
SHTH34D @shth34d

I can't seem to uninstall it? I deleted the mod folder, unsubscribed, and removed it from the mods list but it still shows scalebotamount in the mods list?

Destinate
Destinate @destinate

If you are playing on a server that using it, it will automatically download when u join that server regardless of whether you subscribed or not. The server will have to remove the mod id.

If you are not playing on a server that running it, all you have to do is just unsubscribe and delete the mod as you said and then you have to close the game and steam and restart the game. It should be removed.

Bacon1636367439
Bacon1636367439 @bacon1636367439

I can't get friendly bots to spawn after the update, no matter what settings I try. Where do you find all these settings for game.ini, is there a maintained official list of settings somewhere?

Destinate
Destinate @destinate

Bacon1636367439 It's in the mod tool. You actually have to go through there. NWI has the admin guide though which contains these settings.

Have you tried enabling bSoloGame=True and FriendlyBotQuota=8 in your INSCoopMode?
For sure that will spawn friendly bots because I tested it myself.

Shoot2Skoot
Shoot2Skoot @shoot2skoot

Is bSoloGame supposed to go into [/Script/Insurgency.INSCoopMode] of the Game.ini? All of my other Game.ini settings are working but when I check the value of bSoloGame with rcon, it's returning False, even though I have it set to true in Game.ini.

I've tried putting it under [/Script/Insurgency.INSCoopMode] and [/Script/Insurgency.INSCheckpointGameMode]. Neither seemed to work.

Destinate
Destinate @destinate

Shoot2Skoot If not working then put it in your startup parameter
?bSoloGame=1

Bacon1636367439
Bacon1636367439 @bacon1636367439

The number of enemies will still not scale with MinimumEnemies and MaximumEnemies, but I will look further into that tomorrow to figure out what my problem is. One step at at time. :)

Bacon1636367439
Bacon1636367439 @bacon1636367439

Yess! That did the trick. Thank you very much! :)

Bacon1636367439
Bacon1636367439 @bacon1636367439

Yep, tried that. Even tried reinstalling the server, deleting all settings and starting fresh. No friendly bots will ever spawn. Strange, I see other people doing it that exact way as you, and it's just working. It's no big deal though, I usually don't play with AI team mates, but it's annoying that I can't figure out what's wrong. It was working perfectly before the update, so something obviously happened. Thanks for your response. :)

CD
CDC_YahWeh1627725432 @cdc-yahweh1627725432

Hey guys, I seem to have a problem with my coop server. I don't know why, but when we do play with 4-5 players, we only get a maximum of 6 players for 5 waves per objective. We used to get atleast 12 bots per person, but my server got deleted by accident and when we resumed it back with the codes, it just doesn't seem to change. My Minimum enemies is 32, maximum is 48 and I dont understand why we are getting 6 bots per wave? can somebody help please?

DA
dantaylor129 @dantaylor129

It's probably SoloEnemies and bBots. If bBots=True, then the bot count is fixed by SoloEnemies. If bBots=Fals, then the bot count is fixed by Min/MaxEnemies. This mod enable bBots=True and scaling. First get your right bot counts with bBots=False, then use this mod to enable it when bBots=True.

CD
CDC_YahWeh1627725432 @cdc-yahweh1627725432

hey dantaylor129129 thank you so much, it worked like a charm when i reverted it back to bBots=False! now we are back to min of 12 players according to how we set it.