Former CPSR, Bot Spawn Rework System
Original by ClairrePurr/Icesugar and Reborn by Hosav
Do not disable Boss Enable in Game Raid Setting
Disable has_boss in patterns config instead
MOD IS DISABLED by Default, Check config.json
I have been using Hosav's version and quite liked a lot
Trying to fix some bugs and adding more features with configs
pattern JSON files are now inside of config folder
- Lua-Default.json has customized values which is I have been using
- Feel free to make your own pattern and share
- Resources
- 3.1.1 Default Spawn Locations and BotZoneNames - Spawn zones location by Lavax
Cultists are only spawn at night (22:00 ~ 06:00), If you want to spawn at day than use cultists on other bosses escort, or edit script to replace raiders
- OR use the patch mod
----
Recommend to use with other AI Mod without Spawn changes
(Personally I used Fin's AI Mod for AI change only)
Beware if you use Fin's AI Mod, you may have some conflicts
Edit made by myself.
Virus Total checked, virus total personally and checked with alternatives, all files came clean.
At the moment, it seems fixed and no longer flags.
Installation:
Bot Generation Server Logs
["ALL"]
["SECRET"]
9.0K Downloads
- Fixed where router doesn't work
- Supported "akiVersion": 3.2.5
This is the last update for a while or forever
3.6K Downloads
- Fixed OpenZones spacing problem, Thanks BSG
-
Thanks to Stigma for report and fix
-
v2.1.5 and v2.1.6 users must update the mod
-
- Supported "akiVersion": 3.2.4
88 Downloads
- Fixed "max_alive_bots" config
- v2.1.5 users must update the mod
- Supported "akiVersion": 3.2.4
702 Downloads
- Updated bot config - "maxBotCap" for SPT 3.2.4
- Updated pattern config
- Added "max_alive_bots" into top config instead of each maps
- Added "scav_map_openzones" for each maps OpenZones to apply for Scav spawns
- Updated Spawn print logs
- PMC Bot Type and Scav OpenZones are no longer prints unless "show_generated_bots" is "all"
- Supported "akiVersion": 3.2.4
4.6K Downloads
- Removed "usec_default_enemy" and "bear_default_enemy" option in pattern config
- Replaced pmc type option "pmc_type" in pattern config
- Supported "akiVersion": 3.2.3
5.5K Downloads
- Fixed "gifter" role for temporary until 3.2.1 hotfix releases
- Fixed customs map "OpenZones" for missing "ZoneScavBase"
- Lua-Default.json pattern update
- All "gifter" chance to 5
- All "random boss" chance to 10 from 5
- Supported "akiVersion": 3.2.1 / 3.2.2
2.0K Downloads
- Updated for SPT 3.2.0
- Removed option "cursedAssault_chance" for PMC in pattern json
- You can use the "cursedAssault" role to "bear/usec_type" in pattern json instead
- Lua-Default.json pattern update
-
For SPT 3.2.0 only, "gifter" is disabled in default pattern json
- Do not use it until next SPT 3.2.0 hotfix or update
-
"spawn_scav_raider_location_chance" to 44 from 33
-
- Supported "akiVersion": 3.2.0
1.7K Downloads
- Fixed error that trying to load not an map setting in pattern json
- Supported "akiVersion": 3.1.x
311 Downloads
- Fixed Escort amount missing error when random escorts generates
- I forget to mention before
- Map names in the pattern json are now all map id instead of actual map name
And you may having problem if you used old pattern files- "customs" => "bigmap"
- "reserve" => "rezervbase"
- "factory_day" => "factory4_day"
- "factory_night" => "factory4_night"
- (You can check in the /Aki_Data/Server/database/locations folder)
- Map names in the pattern json are now all map id instead of actual map name
- Supported "akiVersion": 3.1.x
626 Downloads
- Changed "Lua-Default.json"
- Removed "pmc_behavior_role"
- Default "showTypeInNickname" value to false
- Fixed "EscapeTimeLimit"
- Fixed "BossLocationSpawn"
- v2.0.1 users must update the mod
- Supported "akiVersion": 3.1.x
1.2K Downloads
- Fixed spawn waves were not applied on the server
- v2.0.0 users must update the mod
- Supported "akiVersion": 3.1.x
522 Downloads
- Updated for Typescript
- Refactored code a bit or more
- Added "Enabled" in config, default is false
- Added "UseDefaultSpawns" and "UsePatternSpawns" in config for pattern/default uses control
-
UseDefaultSpawns: Uses EFT default spawns
UsePatternSpawns: Uses Pattern json spawns -
You may have more bosses if you set true both "Bosses"
-
And same rules applied on "TriggeredWaves"
-
"Waves" are include every other spawns (PMC, Scav, Sniper Scav, Raider)
-
For example, If you want to use SPT's live-like boss spawns only, no boss waves from pattern json?
UseDefaultSpawns.Bosses: true
UsePatternSpawns.Bosses: false -
Last example, If you want mixed-chaos experience by default waves and pattern waves?
UseDefaultSpawns.Waves: true
UsePatternSpawns.Waves: true
-
- Updated Lua-Default pattern json and renames
-
"gifter" is still on bussiness without costumes and included as Boss, he never gives back though.
-
All bosses with random followers in all maps by very low chance but watch out in the lab
-
Since no longer need to add default bosses on our own, Bosses and Triggered Waves are wiped out and Random boss is remain
-
Added "usec_type" and "bear_type" in pattern json
-
Added "random_time_spawn" for Boss spawns (by BSG), It adds random 0 ~ 20 seconds delay to spawn
-
Renamed "triggered_raider_waves" to "triggered_waves"
-
Fixed typo for "pmc_showTypeInNickname" and renamed to "showTypeInNickname"
-
To be inform, Every bots difficulties are same unless you changes the type files or using mods like FAIT
Technically (easy == impossible)
to change bot difficulty check Aki_Data/Server/database/bots/types/%BOT_TYPE%.json
-
- Updated ReadMe.txt but still little bit outdated
- Fixed sniper scav waves may not generated correctly
- Fixed cringe typos for boss waves and other lines, previously may not work correctly
- Removed "script_file" from pattern json since no one uses or make own script and share
- Supported "akiVersion": 3.1.x
12.0K Downloads
- Added new config for "usec_default_enemy" and "bear_default_enemy" in pattern config
- Supported "akiVersion": 2.2.x
2.0K Downloads
- Fixed triggered waves (button/switch) and reserve, lab switch/buttons
- No needs to use Chomp's Raider Fix mod but will be fine to use both mod
- Fixed bug for bosses spawn location when spawn location used "evenly" method
- Changed bosses esscort amount for multiple waves
- Instead of same amount of esscort for whole waves, numbers are randomized everytime
- Added new config "chanceSameSideIsHostilePercent" for PMC bots
- Added "Gifter" as boss in all maps with very little chance
- Added "Light
Loothouse" map spawn wave template to Lua-Default pattern- Rogues are spawned in default locations just like vanllia
- Supported "akiVersion": 2.2.x
202 Downloads
- Fixed triggered waves (button/switch) and reserve, lab switch/buttons
- No needs to use Chomp's Raider Fix mod but will be fine to use both mod
- Fixed bug for bosses spawn location when spawn location used "evenly" method
- Changed bosses esscort amount for multiple waves
- Instead of same amount of esscort for whole waves, numbers are randomized everytime
- Supported "akiVersion": 2.1.2
2.2K Downloads
- Fixed Raider spawns on Lab and Reserve (again)
178 Downloads
- Mod re-named "Lua-SpawnRework"
- Updated "Lua-Default" pattern and removed other patterns
- It's based on SPT 2.2.0 of "LSR" and few options were removed for SPT 2.1.2 uses
- show_generated_bots "secret" doesn't print bosses anymore
- many bug fixes
- ...maybe more
819 Downloads
- Fixed Boss's Random type error on raid loading when bot generation print is "secret" and more than 1 wave generated.
- Added "akiVersion" for next AKI update
1.9K Downloads
- Added difficulty settings for PMC waves
3.1K Downloads
Do not disable Boss Enable in Game Raid Setting
Disable has_boss in patterns config instead
- Fixed spawn problem with PMC
- Fixed random type boss spawns error when more than one wave generated
- Removed *_insta_spawn_time for all types to avoid spawn problems
- Updated wave spawn time generated format (Added: Instant text when wave spawn time is lower than 1s)
- Lua Pattern has been updated
- max_boss reduced to 1 from 2 (boss followers took too many spaces for other types)
728 Downloads
- Fixed PMC's USEC Spawn chance config
- Re-named "custom" to "customs" for map configs
People who having trouble spawn PMC with Fin's AI Mod,
re-name Fin's AI Mod folder to "zFin-AITweaks" That hopefully fix the problem.
2.0K Downloads
No need to update spawn pattern config files for this update
- Added config check for "MoreVariety" and "Fin's AI Tweaks" Mods
- Instead of overwrite the config files, It gives Error logs in server console to Disable/Enable it
- Cleaned codes (a bit)
- Remove unused parameters
- Increased minimum spawn time to 1 from 0
450 Downloads
- Added wave numbers check and skip the generation when bot group size is 0
99 Downloads
You have to update version for Critical bug fixes (again)
This time I mean it, really.
- Fixed wave numbers are incorrect
-
since v0.7.0, "insta_spawn_time" occurs this problem
-
Now bots waves spawn correctly therefore no longer first wave only game
-
55 Downloads
- Fixed bug that 0 chances are not disabled to use
129 Downloads
You have to update version If you playing EFT v12.11 for Critical bug fixes
Time to playing some EFT 12.11
- Fixed and Updated for EFT v12.11
- Since 12.11, default PMC Bot role (assaultGroup) has been outdated and now fixed
- Updated default patterns for EFT v12.11
- You can ignore the errors if you playing EFT v12.10
Mod will fixes the error that doesn't exists role or boss type
But still you may edit Factory map for bosses
- You can ignore the errors if you playing EFT v12.10
- Fixed few minor bugs
- Updated PMC Group Bots Role
- Previously it had same role for whole group but it's now random for each bot
- Updated Bot generation logs for PMC Group Bots when value is "all"
- It's now showing the whole group list
264 Downloads
You have to update version for Critical bug fixes
Major version update and probably the last
Tested on 1.5.1, 1.6.0 and 2.0.0
- Fixed difficulty and type settings bugs
- It does now correctly choose a random type/difficulty
- Fixed few errors
- Updated type/difficulty validate method
- No more bugs
- ... I hope so
166 Downloads
I was waiting for 2.0.0 stable but Reserve map config made me to upload it now
- Fixed reserve spawn points
- Random Boss/PMC Bots are now properly spawn
- I'm surprised that no one report even zero pmc bots spawned
- Fixed missing spawn point for customs sniper scav
- ZoneBlockPostSniper3
- Fixed few minor bugs
- Removed In-Game bot generation debug config
- Added "boss_insta_spawn_time" and "insta_spawn_time" for all bots
- To set priority spawn waves, as default value priorities are boss > pmc > raider > scav/sniper scav
- Added "bossTagilla" to all maps include random
- WARNING, Tagilla only works on EFT v12.11+
- Mod will print error logs that you can ignore or you need to remove bossTagilla in the patterns JSON
- WARNING, Tagilla only works on EFT v12.11+
712 Downloads
Small update with Instant wave fixes
- Added New pattern "Lua-LowPC" and "Lua-VeryLowPC"
- Made for low spec pc like me
- Fixed Few bot generation log
- Fixed Instant waves, It was not spawned properly on map start
- Thanks for the report and fix by tfalmeida91
----
Now, We wait
187 Downloads
More random stuffs
- Added More various random option for Boss, Escort, Supporters, Raider Roles
- ex) "normal, hard" for difficulty and "bossBully, bossTagilla, bossKilla" for boss type, also "followerBully, followerGluharAssault, followerGluharScout" for raider random role
(If multiple of name has been set on boss's "name", It will move spawn queue to the last for checking same boss type) - Detailed description is in "Config_ReadMe.txt"
- ex) "normal, hard" for difficulty and "bossBully, bossTagilla, bossKilla" for boss type, also "followerBully, followerGluharAssault, followerGluharScout" for raider random role
- Added New custom pattern Lua-ScavHell.json
- One Map Boss (Random Boss for Factory and Lab with random supporters)
- No Raider, No PMC, Only Scavs that spawns like hell
- Added "Custom Random Boss" with Various Random Supporters for default Lua-Default.json
- Added a lot more JSON value check for "boss_settings" to warning errors and skipping spawn
- Added "script_file" for Pattern JSON to using one script for multiple patterns
- Added Spawn location option "spawn_location_type" for Scav/Raider/PMC
- It was force to use for spawn all locations as possible but It somehow making trouble (Not so sure )
- This works same way as "bosses_spawn_location_type"
- Thanks for the report and suggestion by tfalmeida91
- Added "max_spawn_time" for alternatively limit total wave numbers and optimization fps by making low wave counts
- Also warning message can be disabled by "max_spawn_time_limit_warning"
- "max_spawn_time_limit_warning" is now false as default value
- Some of configs are re-named
- max_spawn_time_limit_warning
- bosses_spawn_location_type
- Updated PMC Bot "spawn_scav_raider_location_chance"
- Now it uses only spawn locations where pmc doesn't spawn
- Refactored All Scripts (a bit)
- Re-named default JSON and Script as It changed too far from original
- Updated "Config_ReadMe.txt" and "Config_ReadMe_한국어.txt" with Bot INFO
----
was waiting for AKI 2.0.0 to 12.11 update with bossTagilla but anyway here is the update!
I gotta go now, Bye!
175 Downloads
Fixed inf-loading by bossKilla and prevent errors from spawn config *again*
- This error came from default "CP-Default.json", caused by empty escort values, it is now prevented by mod and safe to use null on escort
- Thanks for the report by Satori
- Added Korean "Config_ReadMe_한국어.txt" by request
98 Downloads
Update with prevent possible error from config for Boss/PMC Bot by "spawn_time"
- Added Checking for minimum "spawn_time" for bosses and pmc bots
- This may causing inf-loading when map loading because of negative "spawn_time" value for bosses and pmc bots, It's now set to 1 as minimum
- Added PMC Bot faction on bot generation logs
- "ALL" showing exact faction for pmc bot waves
- "SECRET" showing usec chance unless it has 0 or 100 chance
75 Downloads
More various amount of supporters/escorts for bosses
- Added "escort_amount_min" and "escort_amount_max" for bosses with escorts
- Added "BossEscortAmount_min" and "BossEscortAmount_max" for bosses with supporters (ex, Gluhar)
- Added Late load check for Generate Bots when server started after client is already in-game, This triggers when player joined Raid Menu (Bot Settings Menu)
- Updated Config_ReadMe.txt
- Updated "show_generated_bots"
- "all": Showing everything, exact spawn values with Group Size, Spawn time, Location, Supports, Trigger Raider Waves with Trigger ID
- "secret": Showing secretly, without Spawn time, Location, Trigger Raider Waves, Cultists and Min-Max Values unless Min-Max is Same
- Updated CP-Default.json with above configs
----
Yeah, I thought that was the last update to post but this version is kind a personal update that I would like to have as more option for bosses
Enjoy and you may trying like what I did
398 Downloads
Cultists are only spawn at night (22:00 ~ 06:00), If you want to spawn at day than use cultists on other bosses escort, or coding yourself to replace raiders
- Updated Config_ReadMe.txt with new configs
- Updated "boss_settings" with Cultists and back to normal difficulties by default
- There are only 3 map has cultists by game, Added on other maps by me with possible right spots for cultists (It may wrong location)
- Updated raider's random role, raider's having "pmcBot" as default role now (didn't test for boss bug but I guess no other choice) and removed cultists from random role list
- Added Cultists config "cultists_spawn_count_for_max_boss" and "cultists_spawn_at_own_locations"
----
Probably the last version update from me (unless game updates)
I think there are nothing to add for customizing bots spawn,
Changing much more AI behavior and gears are not purpose of this mod from the original mod
That's why I recommend to use with other AI mods
But still I'm keeping eyes on it,
Take care
110 Downloads
- Added "max_alive_bots" and "local_bots_count"
- Updated AI Configs, "ai_max_warns_before_kill" and "scav_groups_together" are moved into one section from each map
- Updated "show_generated_bots" default value to "secret" from "all"
- Fixed missing map list on Load_configs.js, this causes loading config twice but didn't cause any trouble
82 Downloads
- Added "Config_ReadMe.txt" in config/pattern folder for detailed description about configs
- Added Check for map's "DisabledForScav" option and Re-enable it when scav/sniper scav waves added
- Fixed Server logs for boss supports to show correct supporter numbers
- Fixed Missing configs in "boss_settings"
76 Downloads
- Updated PMC Bot Spawn Anywhere (Scav, Raider spawn location) feature
- It was built-in feature made it from Reborn and it didn't have config to edit chance or disable (was 20% chance)
- Added "spawn_scav_raider_location_chance" for pmc_waves config
- Updated "comment" inside of CP-Default.json (spawn_time_delay_share_all_zone)
- Updated bosses wave spawn log
35 Downloads
- Fixed Scav's instant wave
- Debug config "_debug__show_ingame_generated_bot" is now enabled by default
145 Downloads
More wide options and features to use!
CP-Default.json is updated as well but didn't much tested it for new logic
Try yourself and let me know what you thinking or Share your json!
----
- Removed "pmcBot" from Raiders random role list because i think boss and followers won't attacking raider with "pmcBot" role even getting shot
- Fixed sniper scav wave slots
- Fixed bot generation log color
- Updated priority of PMC Bot spawn
- Updated spawn location logic
- It will not make same location in a row, More like to use all "spawn_locations"
- Bots still can be spawn with other faction by randomness wave time
For example, PMC Bot spawns right after scav/raider spawned
- Updated "Laboratory" triggered raider waves "spawn_time" (again)
- I was set all spawn_time to live version but it's very much not right timing for SPT
- Added Config "map_rules"
- Added Config PMC Bots "usec_chance"
- Added Config "ai_max_warns_before_kill"
- Added Config "scav_groups_together"
- Added Config "max_bot_per_zone"
- Added boss wave in "boss_settings"
- Each boss's all wave is count as one boss even "wave_total" is 100, therefore "max_boss" config has renamed as "max_boss_type"
- "wave_total" : how many wave to make, same as other bot's "wave_total" in "wave_settings"
- "wave_spawn_time_for_each_min"
- "wave_spawn_time_for_each_max"
- "wave_spawn_same_location" : if set false, every waves use "bosses_spawn_locations" and if true, will be spawned at same spot
- Added new config in "wave_settings"
- Simple random min, max was not enough to spawn bots, it causes short delay spawn after killing bot at one spot
And decide to make it keep counting spawn time on each spawn zone to make having wide bot spawn time
- "spawn_time_delay_after_insta_wave" : How much seconds to add spawn delays after all instant wave spawned
(normal wave starting by "spawn_time_delay_after_insta_wave" + "spawn_time_delay_for_each_min") - "spawn_time_delay_for_each_min"
- "spawn_time_delay_for_each_max"
- "spawn_time_delay_share_all_zone"
(If this is false, bots more likely spawn every locations)
(If you don't want to spawn bots evenly on every spawn locations and just pure randomness with spawn_time_delay_*)
(This will skip checking each zone's spawn time counting)
- Added new config for "show_generated_bots"
- Now it has two option to print bot generation
- "all" : printing with locations
- "secret" : printing without locations and "triggered_raider_waves"
- "disable" :
- Added checking maps "escape_time_limit"
- If bot's wave spawn time has beyond "escape_time_limit
Print warning logs if any other option to spawn waves (all spawn locations are fully scheduled) - Can be disabled by "disable_escape_time_limit_beyond_warning" to set true
- Added debug config "_debug__show_ingame_generated_bot" and "_debug__generate_bots_on_load"
324 Downloads
Added Wave slot numbers to bot generation server logs
Fixed Scav wave slot numbers
Fixed PMC bot wave slot numbers
*CP-Default.json
Decreased numbers of PMC wave numbers and Increased total wave numbers
Updated Lab triggered bot's spawn by latest update (same as default game now)
52 Downloads
init release
5.3K Downloads
- Added "akiVersion" for 2.1.2
Not quite yet...