The Forge is currently under construction. Data is synchronized with the hub every 30 minutes. Help report issues!

Mod Details

SWAG + Donuts - Dynamic Spawn Waves and Custom Spawn Points

SWAG + Donuts - Dynamic Spawn Waves and Custom Spawn Points 4.0.0

Created by nooky

431.1K Downloads

SPT 3.10.5 Compatible

Spawn bots anywhere - Reserve D2, Customs Crackhouse, exfils, etc. - all possible with a custom spawn point editor and dynamic spawns. Custom spawn presets, spawn options and much more. Want total spawn unpredictability and freedom? This mod is for you.

SPT 3.10.x ONLY REQUIRED MODS FOR SWAG + DONUTS
Waypoints by DrakiaXYZ

Unity Toolkit by Arys

STRONGLY RECOMMENDED MODS

SAIN by Solarint
Looting Bots by Skwizzy
Questing Bots by DanW
Unicorn (for more spawn points)by PenOkOh

About and Features

None of this would be possible without PROPS, the creator of SWAG and DONUTS

**SWAG (Simple Wave AI Generator)**is a server mod that enhances the spawns in your SPT raids by giving you full control over each and every bot that spawns. This mod comes with a full set of spawn “patterns” built-in so all you have to do is install and play.

DONUTS is a client mod that provides a full in-raid spawn point editor and dynamic spawn system. Donuts comes with a full set of spawn “patterns” specifically created with and for Donuts built-in so all you have to do is install and play.

Together, SWAG + DONUTS provide complete spawn control, unpredictability and freedom. Bots in D2. Crackhouse. Streets Apartments. Interchange Railway. Exfils. Anywhere.

eR5yQ2Y.png5Lmv0eA.png

What is SWAG + Donuts?**

SWAG + Donuts is a complete overhaul of the SPT bot spawning system. If you’re not a fan of vanilla spawns for whatever reason then this is the mod for you. SWAG + Donuts is a combination of client (Donuts) and server (SWAG) mods that each handle certain parts of the spawning system in SPT in various ways and offer a wide variety of flexibility and config options. All PMC and SCAV spawn points are completely custom made for all maps and can be modified with many different parameters.

By default, SWAG + Donuts is packaged with a set of “spawn presets” that you can select in-game (F8 for GUI) among lots of other options you can tinker with, some you can toggle on/off mid-raid.

This is a big mod and be complicated for some - fear not, if all you want is to install a cool spawn mod and just play then you can do just that, the defaults are mostly tuned for a live-like experience. If you prefer that PMCs do NOT respawn during a raid then be sure to select any of the “starting-pmcs-only-*” presets from the Donuts F12 menu.

Features include

- in-game GUI (F9 default)

- custom spawn points and custom zones for all maps, created with a built-in spawn point editor

- various “spawn presets” available or create your own

- options for spawns you can toggle mid-raid, such as force bot type, spawn hard cap, hot spot boost and more (more info on these options below).

- add, remove, change any boss spawns or other bot types (add all bosses to all maps, spawn 10 Kabans and everywhere in-between)

- in-raid custom spawn point editor - edit parameters such as spawn timers, bot count, spawn distance from the player
- adjust bot squad size and chance, max PMC/SCAV counts per map, per preset and much more

qiEy4kI.png

For more info. please see the DONUTS and SWAG tabs above.

Installation and Mod Compatibility
DONUTS
SWAG
FAQ
Media
Version 4.0.0

SPT 3.10.5

22.6K Downloads

Created Feb 21st, 2025

Updated Feb 21st, 2025

Virus Total Results

SPT 3.10.x ONLY

REQUIRED:

**UnityToolkit V1.2.0

Waypoints

SWAG + Donuts v4.0.0 for SPT 3.10.x

Summary of changes

  • Complete rewrite of Donuts code
  • Spawns are more consistent now, no more boss spawn issues unlike in SPT 3.9
  • Improved performance
  • Added debugging option for users to verify spawns are working as intended

Known issues

  • The Donuts F9 configuration menu's background may become transparent during or after a raid
    • Will be fixed when the UI gets reworked
  • The "Force All Bot Type" setting does not work correctly when set to any option other than "Disabled" (the default setting)

Thanks to

  • Shibdib: fixed up SWAG-related issues such as boss and raider spawns
  • Lacyway: fixed issues relating to Fika compatibility
  • MaTSix: as a SWAGnuts preset maker, provided excellent feedback to help fix issues with the mod
  • Huge thanks to all the testers, for providing feedback in each Release Candidate build
  • And of course, big thanks to Nooky and Props for making SWAGnuts, this update wouldn't be possible without their work in the first place!

See full changes here: https://github.com/Nympfonic/Donuts/releases/tag/v4.0.0

mgs-mgsv.gif

Version 3.5.1

Unknown SPT Version

106.7K Downloads

Created Jul 23rd, 2024

Updated Jul 23rd, 2024

Virus Total Results

SPT 3.9.x ONLY

SWAG + Donuts v3.5.1 for SPT 3.9.x

Huge thanks to props and Archangel from the Fika discord for their hard work!

IF YOU HAVE PREVIOUSLY INSTALLED SWAG + DONUTS PLEASE READ:

Delete this folder first: <YOUR_SPT_FOLDER\BepInEx\plugins\dvize.Donuts\Config

Donuts will recreate this with updated default settings. If you wish to keep your old Donuts settings then you do not have to do this step but I highly recommend it as many default values have changed.

Fixes

- fixed spawn chance checks: Donuts would continuously check the same point that would result in low spawn chance points spawning bots anyway

- fixed random preset selection not working as intended

- fixed slow bot prep/raid load on subsequent raids

- fixed list of coordinates per selected zone note being properly randomized

- fixed starting bot available zones not getting reset properly after all zones were used (resulting in some number of starting bots not spawning in some cases)

Other Changes

- global minimum spawn distance to player/bots improvements - this check should be faster overall for solo bots especially; spawn point selection by Donuts is a little smarter now, if a coordinate is too close then Donuts will retry the next coordinate defined to that zone (at random) until all coordinates have been exhausted, then it fails that zone and moves on to the next spawn.

- global min spawn distance to player/bots now ENABLED by default again, sorry for the close bots

- global min spawn distance to player/bots values adjusted

- added presets: crazyraids, starting-pmcs-only-quietraids

- added new spawn points to Factory, Lighthouse

- added new starting spawn points to Ground Zero

- PMC Donuts bot caps increased slightly for all starting-pmcs-only presets

- PMC Donuts bot caps increased slightly for morepmcs preset

- SCAV Donuts bot caps increased slightly for morescavs preset

- Max Spawn Tries Per Bot (advanced settings) is now set to 1 by default

- code optimizations

- SWAG: added options for Ground Zero High Level. Kollontay and Cultists have a chance to spawn by default.

Known Issues

- Boss problems: I'm aware there are some users experiencing issues with boss spawns, it doesn't affect everyone so it's difficult to troubleshoot but it's on my to-do list!

Version 3.5.0

Unknown SPT Version

20.0K Downloads

Created Jul 14th, 2024

Updated Jul 14th, 2024

Virus Total Results

SPT 3.9.0-3.9.1 ONLY

SWAG + Donuts v3.5.0 for SPT 3.9.0-3.9.1 SWAG + Donuts v3.4.0 for SPT 3.8.x

Sorry everyone for the wait, I hope it was worth it. 8)

A huge thank you as always to props, this update would not have been possible without him.

SWAG + Donuts now requires Unity Toolkit by Arys (in addition to Waypoints). Please download and install that first!
UnityToolkit

Unity Toolkit allows for more performant and optimized code in SWAG + Donuts, a huge thanks to Arys for developing this!

For SPT 3.9.x ONLY: Please use DanW (Author of Questing Bots) AI Hostility Fix mod to fix buggy base game AI hostility: https://github.com/dwesterwick/SPTAIHostilityFix/releases/tag/1.0.0
Please use the hub release of this once that is ready.

IF YOU HAVE PREVIOUSLY INSTALLED SWAG + DONUTS:

You must uninstall and delete all SWAG + Donuts files first! All mod folders in addition to the BepInEx mod config file- com.dvize.Donuts.cfg file from BepInEx\config folder must be deleted.

MAJOR CHANGES

NEW: In-game GUI

Donuts now has a GUI (all credit goes to props!). Accessible with F9 by default.

qiEy4kI.png

NEW: zoneSpawnPoints folder

This new folder contains all the spawn points available for Donuts to use. Each spawn points is assigned to a custom zone (defined by you). These spawn points and zones are used by the new spawn config files (read below). All spawn points are entirely configurable, feel free to add/change/remove any as you see fit or try creating your own.

NEW: map_start.json, map_waves.json files (patterns folders)

map_start - configs for all starting bots, PMC and SCAV.

map_waves - configs for all bot waves/respawns

For details on how these work please see the mod page > Donuts tab.

NEW: Max PMC/SCAV Respawns per Raid

You can now set the maximum number of PMC/SCAV respawns in each raid. Default is 0 which is unlimited.

NEW: Despawn Interval & Replenish Bot Interval

You can now change the interval at which Donuts despawns bots. Previously this was 10 seconds, now the default is 15 seconds.

Replenish Bot Interval is the frequency at which Donuts generates bot data during a raid for later use (so that bots spawn immediately when triggered).

OTHER CHANGES

- global minimum distance options are now DISABLED by default. if you don't want bots spawning too close to you then you need to enable this! keep in mind when using this option that if Donuts detects the spawn point is too close then it will skip that spawn entirely.

- performance improvements and code optimizations (thank you props, Arys for Unity Toolkit!)

- start of raid performance improvements: Donuts now only generates bot data it needs as defined by your starting bots configs. In other words, if you use lower bot counts/caps then Donuts needs to do less work = more performance.

- all presets have been changed to the new spawn config system; some presets have been removed

- SWAG: TotalBossesPerMap for all maps changed to from 1 to -1, this means any number of bosses can spawn per raid. If you do not want the chance of multiple bosses spawning in your raids then you need to change this!

FIXES

- fixed cooldown timers not working as expected

- fixed some grouped timers from not being reset properly resulting in too many spawns in some cases

- fixed bots sometimes "leaking" through the hard cap

- lots of other minor fixes, I forgot them all to be honest

Version 3.4.0

Unknown SPT Version

2.7K Downloads

Created Jul 14th, 2024

Updated Jul 14th, 2024

Virus Total Results

SPT 3.8.x ONLY

SWAG + Donuts v3.4.0 for SPT 3.8.x

For all who have been waiting so patiently, this one is for you. Please read the SWAG + Donuts v3.5.0 for SPT 3.9.0 changelog for a full list of changes.

Version 3.3.5

Unknown SPT Version

80.2K Downloads

Created Apr 27th, 12:19 PM

Updated Apr 27th, 12:19 PM

Virus Total Results

SPT 3.8.0 ONLY

This update includes performance improvements, bug fixes and some new stuff.

Performance Improvements

Some Donuts code has been refactored from running every frame and instead runs every second which should provide a significant performance boost. Huge thanks to Chomp for the idea and DanW (Questing Bots mod author) for using some of their code!

Global Minimum Spawn Distance From Player Improvements

Before this update the code for checking player distance from bots was slow at certain times which would still cause certain bots to spawn too close to the player. Now this code has been improved greatly so that it checks this distance value just before the bot is ready to spawn instead of earlier in the process which makes this check far more accurate.

NEW: Global Minimum Spawn Distance From Other Bots (Optional)

Similar to Distance From Player, these values set a minimum distance that bots can spawn from each other. If this check fails then that spawn will be skipped. Default is disabled.

NEW: Set your own Despawn Interval (Advanced Settings, Optional)

Under the BepInEx Advanced Settings for Donuts you can adjust how fast Donuts despawns bots in your raid. By default this is set to 10 seconds. Note: lowering this value may affect your performance!

DONUTS PRESETS

All spawn points re-balanced

SWAG

all boss spawn chances updated to match live (Kollontay added to Ground Zero)

Version 3.3.4

Unknown SPT Version

18.4K Downloads

Created Apr 13th, 4:54 AM

Updated Apr 13th, 4:54 AM

Virus Total Results

SPT 3.8.0 ONLY

This in a minor update that adds compatibility and support for Punisher mod by GrooveypenguinX and Raid Overhaul mod by DjLang for custom bosses.

NEW: Legion - Raid Overhaul Custom Boss

The future SPT 3.8 update of Raid Overhaul will include a custom boss, Legion. To enable, go to bossConfig and scroll down to custom bosses. For more info, stay tuned for the new RO update 8) (thank you DjLang!)

OTHER CHANGES

- Punisher compatibility improvements for SPT 3.8 (contributor: GrooveypenguinX)

- Labs added to Killa in bossConfig (was previously missing)