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.