Insurgency: Sandstorm

Bot Count Flexing for Insurgency: Sandstorm

Released (updated ago). Ranked 124 of 664 with 5,233 (15 today) downloads

Published by TayLord (mod ID: 1457355)

running_bots_logo.1.png

New mutator added! RandFlex!

Adds the ability to increase the bot count per completed objective(s) as well as set a certain number of objectives to set when counterattacks begin. This mod is designed for coop matches and modifies a value added to the base set by 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. While this can be used in vanilla survival there are game.ini settings that can add bots per objective in vanilla. The Survival portion was made to be able to set different values than for Checkpoint in the Operation mode (See Custom Scenarios mod by RareK), where there can be many cache/objectives and theses vanilla settings don't work. The Checkpoint settings should also be applied to Outpost.

Checkpoint Settings

Effect

FixedBotIncreaseCheckpoint If set to > 0 then this will override Min/Max settings below 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. This is only used if FixedBotIncreaseCheckpoint is 0. 1 is default.

MaximumBotIncreaseCheckpoint

Number of bots to increase per count at MaxPlayerIncrease count. This is only used if FixedBotIncreaseCheckpoint is 0. 4 is default

NumObjectivesWaitCheckpoint

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

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.

DelayCounterAttack

How many objectives to stall counterattacks for. Default is 0.

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.

New separate Checkpoint Only mutator added that adjusts the bot count by a random number on top of the bot base! Note that this adds a varying number of bots to the base bot count set by MinimumEnemies and MaximumEnemies. After each objective the count is reset and another random number added on top. So with base bot count set to 8 and IncMin=0 and IncMax=8, then the bot counts will randomly vary from 8 to 16 bots throughout the match.

RandFlex Checkpoint Settings

Effect

IncMin Minimum random number of bots to add on top of base count. 0 is default
IncMax

Maximum random number of bots to add on top of base count. 8 is default

DelayCounterAttack

Number of objectives to stop counterattacks from occurring. 0 is default

NumObjectivesWait

Number of Objectives to wait prior to start randomizing the bot count. 0 is default.

bUsingRoundProgress

If set, this will not reset the completed objective count for NumObjectivesWait and DelayCounterAttack. 0 is default.

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

OR

Mutator=RandFlex



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=1
NumObjectivesWaitCheckpoint=2
MinimumBotIncreaseCheckpoint=1
MaximumBotIncreaseCheckpoint=2
bKeepBotCountOnRestartCheckpoint=True
DelayCounterAttack=2

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

RandFlex Game.ini example:

With 1 player this will randomly vary from 8 to 16 bots for each objective. With 4 players it'd vary from 20 to 28 bot. This will start adjusting bot counts from the beginning of the round and delay counterattacks for the first two objectives.

[/Script/Insurgency.INSCheckpointGameMode]
MinimumEnemies=8
MaximumEnemies=20

[/CountFlex/Mutators/RandFlex.RandFlex_C]
IncMin=0
IncMax=8
DelayCounterAttack=2
NumObjectivesWait=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!



Appreciate my work and want to donate or have a mod made? See my profile. If leaving a comment regarding bugs or feedback go ahead and tag me so I get a notification.

Releases

FilenameSizeVersionAddedOptions
filedata.37.zip15.49kb2.5.2

filedata.36.zip11.61kb2.5.1

filedata.35.zip11.55kb2.5

filedata.34.zip8.94kb2.4.1

filedata.33.zip8.88kb2.4

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: