NxLabs / Insurgency: Sandstorm
AI Spawn Method Adjuster
Override the default AI spawn method per-objective
Description
WIP/Testing
This mod lets you pick the "Bot Initial Spawn Method " per-objective, per-scenario. This setting controls how the bots will spawn.
Thanks to Vix and his guide (https://mod.io/g/insurgencysandstorm/r/cover-actors-guide) for clarifying how the different modes work:
> "Default spawning means that, for example, if the attacking team just spawned and is heading toward objective A, the game will spawn half of the enemy bots in cover actors around A, and the other half of the enemy bots inside the objective capturable box at B, also known as "Reinforcements" and those reinforcing bots will then run to A to backup the orginal bots at A. > > Other Objective Capturable Spawning Methods: > > ClosestToObjective - Will spawn most enemy bots in cover actors nearest to the objective. This is useful if you have objectives that are closer than 100m to each other. > > FurthestFromObjective - Will spawn most enemy bots in cover actors furthest away from the objective. > > ClosestToPlayerSpawn - Will spawn most enemy bots in cover actors closest to the friendly spawn for that objective. Use this if you want players who just spawned to see immediate combat. > > Random - Picks a random one of these spawning methods each match." > > - Vixloi
MUTATOR NAME: SPAWNADJUSTER
CONFIG - GAME.INI
There are now 3 levels of override you can specify: Objective, Scenario and Global.
Objective overrides apply to a specific objective within a scenario. These have the highest precedence.
Scenario overrides apply to every objective in the scenario, unless already specified in the Objective overrides.
The global override applies to every objective in all scenarios, unless already specified in the Objective or Scenario overrides.
To change the spawn modes you can add the following to your Game.ini:
[/AISpawnAdjuster/Mutators/BP_Mutator_SpawnAdjuster.BP_Mutator_SpawnAdjuster_C]
; Specify the scenario name, followed by an underscore, then the objective letter. Then specify the mode. You can add as many objectives as you like. SpawnModeObjectiveOverrides=(("Scenario_Refinery_Checkpoint_Security_A", ClosestToObjective),("Scenario_Tell_Checkpoint_Security_A", ClosestToObjective),("Scenario_Gap_Checkpoint_Security_A", ClosestToObjective))
; Specify the scenario name followed by the mode to use for all objectives, apart from those defined above SpawnModeScenarioOverrides=(("Scenario_Refinery_Checkpoint_Security", Default),("Scenario_Tell_Checkpoint_Security", ClosestToObjective),("Scenario_Gap_Checkpoint_Security", FurthestFromObjective))
; Choose whether to use the global spawn override or not bUseGlobalSpawnOverride=True ; Specify the single global override mode GlobalSpawnOverride=ClosestToObjective
Ratings & reviews
Sign in to leave a rating or comment.