Another bots wave generator
This is another bot waves generator mod.
Inspired by BetterSpawnsPlus, MOAR and SWAG + Donuts.
Any of this mods can do more and do it better.
This mod is meant to be as simple as possible.
If you happy with big spawn mods don't use this one. I made it mostly for myself to keep game as close as possible to vanila SPT-AKI and fix issue when PMC spawns among Scavs and immidently kill each other.
This mod realize only one algorithm for spawns with minimal settings.
For PMC
Amount of PMC randomly selected between locationData.base.MinPlayers and locationData.base.MaxPlayers split by random size groups from 1 to config.maxPmcGroupSize randomly spreaded by bot spawn zones. List of zones shuffle every time. PMC spawns as a bosses in beginnig of raid (game spawn them in first 60 seconds).
For Scavs
Maximum amount of regular scavs on a map (locationData.base.BotMax - amount of marksman scavs) split by random size groups from 0 to config.maxScavGroupSize randomly spreaded by spawn zones.
Scavs spawns in 3 general waves:
- normal difficulty between 60 seconds and +120 seconds.
- normal difficulty between raidLength / 4 and +120 seconds.
- hard difficulty between raidLength / 2 and +120 seconds.
PMC and Scavs waves and groups generate after each raid from scratch.
Since PMC bots count as bots in game, mod increases MaxBots value for most maps by random value between MinPlayers / 2
and MinPlayers + 1
.
For small maps like Factory, Laboratory and Reserve by random value between MaxPlayers / 2
and MaxPlayers - 1
.
If option streetsQuietRaids
set to true
then for Streets max amount of bots does not change, max scav group size is 3 and amount of PMC always MinPlayers.
633 Downloads
Return changes for total bots amount back.
662 Downloads
- SPT 3.9.0 support
- Removed changes for total bots amount
994 Downloads
Support for SPT-AKI 3.8.0
New option streetsQuietRaids
917 Downloads
Config parameter pmcBotDifficulty it must be specified to avoid problems with "An attempt was made to transition a task to a final state when it had already completed" because PMC bots dos not support difficulty setting AsOnline.
Big thanks to DrakiaXYZ
205 Downloads
Workaround for error with SAIN "An attempt was made to transition a task to a final state when it had already completed"
138 Downloads
I accidentally added regular scavs to Laboratory. Sorry. Fixed.
59 Downloads
Tuning of increase of maximum number of bots on maps. Different approach for small maps and Streets.
For small maps like Factory, Laboratory and Reserve by random value between MaxPlayers / 2 and MaxPlayers - 1.
For Streets by random value between 2 and 5.
119 Downloads
MaxBots value for each map increased by random value between MinPlayers / 2 and MinPlayers + 1 (was MaxPlayers, but it caused performance issues due to the large number of bots in raids)
105 Downloads
Not quite yet...