
NxLabs / Insurgency: Sandstorm
Closer Respawns
Spawns players a configurable distance from objectives during counters and vanilla respawns

Description
This is a mod that respawns players closer to the objective on death when using respawns. This functions for all single objective modes including Checkpoint, Survival, Push, and Frontline. After round start and objective captured/destroyed there is a delay until the adjusted spawn is used. Adjust PostCaptureDelay to set this delay. Once this time has passed, the new spawn will be used instead of the default spawn.
MUTATOR=NEWRESPAWNS
Alternatively, I've made a mutator that uses an alternate strategy specifically for Survival to avoid bots from swarming the player spawn point. Both mutators work for Survival, but NewRespawns will only spawn players between the current objective and the initial spawn. If this area is swarmed by bots, then players will spawn within range of bots. SurvivalRespawns uses all possible player spawn points and chooses the one that is within 40m-100m and that has no bots at. This has a config only for BotRadius and PostCaptureDelay.
MUTATOR=SURVIVALRESPAWNS
Default config is below:
[/NewRespawns/Mutators/NewRespawns.NewRespawns_C] Distance=80.0 DistanceCounter=50.0 BotRadius=25.0 PostCaptureDelay=45.0 bEnableDuringCounter=True bEnableDuringVanilla=True bSimpleAlgorithm=False
[/NewRespawns/Mutators/SurvivalRespawns.SurvivalRespawns_C] BotRadius=18.0 PostCaptureDelay=45.0
Config Name Description
Distance DistancePVP DistanceSurvival
Minimum distance (in m) from objective to spawn player during vanilla play for respawns Same but for PVP Same but for Survival mode
DistanceCounter Minimum distance (in m) from objective to spawn player at during counter attacks
BotRadius Minimum distance the player must be from bots in order to spawn there. If a bot is within this radius then the spawn spot will move backwards until the bot is this minimum distance away.
PostCaptureDelay PostCaptureDelayPVP How long (in seconds) after capturing objectives to disable new spawn points. This allows the team to respawn at the objective for a period of time. Note: This should be set in line with Distance such that players don't die and move forward then they actually made it. Think how long would it take me to travel Distance in a round. Then use that. Additional setting for PVP modes (Push/Frontline) as well
bEnableDuringCounter This sets whether or not new spawns should be used during counter attacks
bEnableVanilla This sets whether or not new spawns should be used during vanilla play
bSimpleAlgorithm If set to true, then the mod will opt for a very simple algorithm with no iterations for servers running ISMC that may not have the capability to implement the iterative method. This simply estimates the location and tries to spawn the player there once with no bot detection.
Appreciate my work and want to donate or have a mod made? See my profile for link. If leaving a comment regarding bugs or feedback go ahead and tag me so I get a notification.
Ratings & reviews
Sign in to leave a rating or comment.