Insurgency: Sandstorm

Bot Count Flexing for Insurgency: Sandstorm

Released (updated ago). Ranked 213 of 511 with 306 (0 today) downloads

Published by dantaylor129 (mod ID: 1457355)

logo.png

Adds the ability to increase the bot count per completed objective(s). With 1.11, when respawn is enabled (bBots=True && bForceSoloWaves=True), the bot count will scale the bot count between MinimumEnemies and MaximumEnemies. This mod is designed for coop matches and modifies MinimumEnemies and MaximumEnemies such that scaling per player remains the same but bots are added throughout the match. This has specific configuration support for checkpoint and survival/operation. The Checkpoint settings should also be applied to Outpost.

Checkpoint Settings

Effect

FixedBotIncreaseCheckpoint If set to > 0 then this will override Min/Max settings and set it to a fixed number. 1 is default
ObjectiveCountBeforeIncreaseCheckpoint

Number of captures/caches required before bot increase is applied. 1 is default.

MinimumBotIncreaseCheckpoint

Number of bots to increase at minimum player count. 1 is default.

MaximumBotIncreaseCheckpoint

Number of bots to increase per count at MaxPlayerIncrease count. 4 is default

NumObjectivesWaitCheckpoint

Number of Objectives to wait prior to starting the bot increase algorithm. 0 is default.

MinimumEnemies

Minimum bot count to have for 1 player

MaximumEnemies

Bot count to have at MaxPlayersToScaleEnemyCount

bKeepBotCountOnRestartCheckpoint

Set to true and the bot increase will be maintained on round restart. This is for when using RoundProgress mod the bot counts can be maintained. False is default.

Survival Settings

Effect

FixedBotIncreaseSurvival If set to > 0 then this will override Min/Max settings and set it to a fixed number. 1 is default
ObjectiveCountBeforeIncreaseSurvival

Number of captures/caches required before bot increase is applied. 1 is default.

MinimumBotIncreaseSurvival

Number of bots to increase at minimum player count. 1 is default.

MaximumBotIncreaseSurvival

Number of bots to increase per count at MaxPlayerIncrease count. 4 is default

NumObjectivesWaitSurvival

Number of Objectives to wait prior to starting the bot increase algorithm. 0 is default.

MinimumEnemies

Minimum bot count to have for 1 player

MaximumEnemies

Bot count to have at MaxPlayersToScaleEnemyCount

If you simply want to scale bots by number of players with no increment throughout the round, then simply use the MinimumEnemies and MaximumEnemies settings built in to the game. To enable respawns use bBots=True and bForceSoloWaves=True.

Implementation Notes

BaseBotCount = MinimumEnemies + (PlayerCount-1)/(MaxPlayersToScaleEnemyCount-1) * (MaximumEnemies-MinimumEnemies) <- Determined by vanilla game

BotIncrease = abs((number of objectives taken-NumObjectivesWait)/ObjectiveCountBeforeIncrease)*IncreaseCount, where IncreaseCount is set like BaseBotCount based off MinimumBotIncrease and MaximumBotIncrease or is simply set by FixedBotIncrease if desired.

TotalEnemies = BaseBotCount+BotIncrease

Bot count can still be adjusted by setting MinimumEnemies and MaximumEnemies mid-round without causing conflicts with this mod. The base can be kept or reset after a checkpoint defeat. As objectives are taken a separate botIncrease is stored that will be adjusted by the settings in this mod.


Mutator=CountFlex


Game.ini example:

[/Script/Insurgency.INSCoopMode]
bBots=True
MaxPlayersToScaleEnemyCount=4
SoloWaves=2

[/Script/Insurgency.INSCheckpointGameMode]
MinimumEnemies=10
MaximumEnemies=40

[/Script/Insurgency.INSSurvivalGameMode]
MinimumEnemies=10
MaximumEnemies=40

[ CountFlex/Mutators/CountFlex.CountFlex_C]
ObjectiveCountBeforeIncreaseCheckpoint=1
FixedBotIncreaseCheckpoint=0
MinimumBotIncreaseCheckpoint=1
MaximumBotIncreaseCheckpoint=3
NumObjectivesWaitCheckpoint=2
bKeepBotCount>

ObjectiveCountBeforeIncreaseSurvival=1
FixedBotIncreaseSurvival=0
MinimumBotIncreaseSurvival=5
MaximumBotIncreaseSurvival=20
NumObjectivesWaitSurvival=0



Example use:

open Citadel?Scenario=Scenario_Citadel_Checkpoint_Security?Mutators=CountFlex

Designed to be use along with my FortuneSoldier mod:

open Farmhouse?Scenario=Scenario_Farmhouse_Checkpoint_Security?Mutators=CountFlex,FortuneSoldier,Warlords


Big shoutout to Destinate who's work on Scale Bot Amount and time was hugely helpful and without the assistance I would not have got this done!


ToDo:

  • Operation gas trucks do not count towards bot increase unless exploded.



Releases

FilenameSizeVersionAddedOptions
filedata.32.zip8.38kb2.3

filedata.31.zip8.32kb2.2.3

filedata.30.zip8.28kb2.2.2

filedata.29.zip8.31kb2.2.1

filedata.28.zip44.09mb2.2

filedata.27.zip23.65kb2.1

filedata.26.zip22.66kb2.0.1

filedata.25.zip22.62kb2.0

filedata.24.zip22.52kb1.7.2

filedata.23.zip22.34kb1.7.1

filedata.22.zip22.11kb1.7

filedata.21.zip21.61kb1.6

filedata.20.zip21.65kb1.5.2

filedata.19.zip21.63kb1.5.1

filedata.18.zip21.59kb1.2

filedata.17.zip20.82kb1.0.1

filedata.16.zip20.72kb1.0

filedata.15.zip20.71kb-

filedata.14.zip20.89kb1.0

filedata.13.zip20.91kb1.3.6

filedata.12.zip20.5kb1.3.5

filedata.11.zip20.6kb1.4.2

filedata.10.zip20.33kb1.3.1

filedata.9.zip20.32kb1.3

filedata.8.zip20.26kb1.1

filedata.7.zip19.53kb1.0.0

filedata.6.zip19.89kb1.0

filedata.5.zip19.7kb-

filedata.4.zip19.78kb-

filedata.3.zip19.46kb1.0

filedata.2.zip19.14kb1

filedata.1.zip19.09kb0.99

filedata.zip18.53kb0.1

Comments

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