**Donuts Main Settings

Donuts On/Off**
(default: Enabled)
Enables or disables Donuts completely. This must be toggled before a raid.
Despawn Option
(default: Enabled)
If enabled, any PMCs or SCAVs that spawn over your Donuts presets caps will be despawned on a 10 second interval down to your max cap. Note: despawning only occurs after a spawn points has been triggered, there may be brief periods of time where your bot count will be inflated. If you’re not a fan of despawning please see the Hard Cap option below.
If disabled, Donuts spawns essentially have 0 max cap.
Bot Hard Cap Option
(default: Disabled)
If enabled, Donuts will skip any spawn points triggered over your Donuts preset caps. In other words, if you have an active alive bot count that is already at your Donuts preset bot limits then Donuts will skip spawns until a bot dies (sort of like vanilla).
If you do not wish to use despawning then I highly suggest using this option instead. You can also use both options along with the hotspot options in the Advanced Settings (see Advanced Settings section below)
Cool Down Timer
(default: 300 seconds)
Donuts spawn global cooldown. This number defines the time period that occurs after a spawn points is triggered and the max bots before cooldown value has been met (see: Donuts Spawn Point Config Explained). Once this time has passed then the spawn point can be triggered again.
Donuts PMC Group Chance
(default: Default)
This is a string value that defines the probabilities of certain PMC squad sizes. By default, all Donuts PMC spawn points are configured to spawn up to 5 bots, however, this can be changed to any number.Default is “Default”, which is balanced set of probabilities for a live-like experience. “Max” forces the max possible number of bots configured by that spawn point (so, 5 bots by default). “None” forces all bots to spawn solo. All of these probabilities are configurable (see: Donuts Advanced Settings)
Donuts SCAV Group Chance
(default: Default)
Same as PMC Group Chance
Donuts PMC Spawn Difficulty
(default: Normal)
This defines the base game difficulty that is applied to your bot spawns. This is not the same as SAIN difficulty. Donuts dificulty is the same as base game difficulty, this option simply provides a more flexible way to define difficulty for your spawns separated by bot type.
Donuts SCAV Spawn Difficulty
(default: Normal)
Same as above.
Other Bot Type Spawn Difficulty
(default: Normal)
Same as above. Note: This applies to all bots other than PMCs and SCAVs that are spawned by Donuts, not SWAG.
**PMC Raid Preset Selection
(default: Live Like (Random))
Select a Donuts spawn preset here. Choose from any of the pre-packaged spawn presets that come with the mod or feel free to experiment and create your own. Default is the Live Like (Random) preset, which is a random pool of live-like presets (more info please see: Donuts Presets Explained)
SCAV Raid Preset Selection**
(default: scav-raids)
Same as above but specifically for SCAV raids. Default is the “scav-raids” preset specifically balaned for SCAV raids.
Show Scenario Selection
(default: Enabled)
If enabled, shows the preset being selected at the bottom-right of your screen when you load into a raid.
vvvvvvv FOR OTHER OPTIONS PLEASE KEEP READING BELOW vvvvvvv
Donuts Additional Spawn Settings

Force PMC Faction (default: Default)
Forces a certain PMC faction, if desired. Default is random USEC or BEAR. Can be toggled mid-raid.
Force Bot Type for All Spawns (default: Disabled)
Forces a specific bot type for all spawns. Can be toggled mid-raid.
Max Respawns for PMC/SCAV per Raid (default: 0 - unlimited)
Sets a limit on how many PMC/SCAVs can respawn during a raid. Default is 0 which is no limit. Spawn Hard Stop
Hard Stop: Time Left in Raid (default: Disabled, 300 seconds)
If enabled, Donuts will stop spawning PMCs or SCAVs once ther eis n time left in your raid (defined by Time Left in Raid). Hot Spot Spawn Boost (default: Disabled)
If enabled, forces all hot spot spawn points to have a 100% chance to spawn (if triggered). Hot Spot Ignore Hard Cap (default: Disabled)
If enabled, all hot spot spawns ignore the Donuts hard cap (if enabled, see above). I recommend using the following for an optimial experience while saving some frames:
Despawn Enabled
Hard Stop Enabled
Hot Spot Boost Enabled
Hot Spot Ignore Hard Cap Enabled
Use Global Min Distance From Player
(default: Enabled)
If enabled, you can set the minimum distance (in meters) that bots should spawn away from the player (you). This option must be enabled for the values for maps to work.
Use Global Min Distance From Other Bots
(default: Enabled)
If enabled, you can set the minimum distance (in meters) that bots should spawn away from other bot spawns. This is useful if you want to avoid bots spawning too close to each other and killing each other too quickly. This option must be enabled for the values for maps to work.
Donuts Advanced Settings
**
Raid Load Time Delay** (default: 60 seconds)
This is the amount of time (in seconds) that Donuts is allowed to generate bot data during raid load. This is important for your starting bots to spawn with you, at the same time.
If this delay is too short then some bots may spawn late at the start. A longer delay means your raid load might take a little longer but your spawns should be more stable at the start. Bot Cache Replenish Interval (default: 10 seconds)
This is the time interval that Donuts “replenshes” bot data - in other words, Donuts generates bot data on a regular interval so that most of your bot spawns are instant. Max Spawn Tries Per Bot
(default: 20)
Maximum number of times Donuts will try to spawn a bot (if it fails) before it skips. You generally never need to change this unless you know what you’re doing.
Despawn Bot Interval
(default: 15 seconds)
This is the time interval that Donuts despawns bots (if enabled). Too short and your may experience a minor performance loss. Too long and Donuts may not be despawning bots fast enough - it depends on your settings.
Group Chance Weight Distribution
Low, Default, High
This defines the probabilities of certain group sizes separated by option.
Formula: individual weight / total weight = % chance
Example:
Default: 210, 210, 45, 25, 10
Group sizes of: 1, 2, 3, 4, 5 respectively
Total weight: 210 + 210 + 45 + 25 + 10 = 500
Solo bot spawn: 210 / 500 = 0.42 = 42%
5-man: 10 / 500 = 0.02 = 2%
etc…
Spawn Point Editor
If you plan to use the spawn point editor be sure to set key binds for creating and deleting spawn marker keys (see above screenshot).
For details on all parameters please see the section below: Donuts Spawn Point Parameters Explained
Donuts - Presets Explained
RANDOM PRESETS
Random presets are a collection of presets that are chosen at random given the weights defined by you.
The configs for these can be found here: BepInEx\plugins\dvize.Donuts\RandomScenarioconfig.json
Live Like
An equal chance for any of the live-like presets (live-like, alt2, alt3, alt4)
Starting PMCs Only
An equal chance for either of the starting-pmcs-only-live-like presets
Whole Lotta SCAVs
An equal chance for either of the morescavs presets with a small chance for “all-scavs”
ALL PRESETS
Any of the following presets can be selected from the Donuts F12 menu. Simply select a preset of your choice before the next raid and play, no need to set it every time.
live-like, live-like-alt
Presets that aim to provide a “live-like” experience with PMC respawns. live-like-alt has different starting bot spawn locations. If you do not wish to have PMC respawns in your raids then try starting-pmcs-only presets!
crazyraids
Increased spawn frequency on all maps, for all spawns, ~80-90% chance to spawn for each and all spawns. if the live-like presets don’t offer enough action for you then try this.
impossibleraids
Increased spawn frequency on all maps to 100% for all spawns - if crazyraids doesn’t offer enough action for you then try this.
quietraids
Decreased spawn frequency on all maps - for a more relaxed Tarky experience.
starting-pmcs-only-live-like, starting-pmcs-only-live-like-alt
Only spawn PMCs at the start - no PMC respawns. Alt version spawns starting PMCs at more random locations.
starting-pmcs-only-morescavs
Starting pmcs only but with more scavs.morepmcs
“live-like” but with more PMCs, fewer SCAVs. Good for PMC kill quests.
morescavs
“live-like” but with more SCAVs, fewer PMCs. Good for SCAV kill quests.
scav-raids
Live-like but with a minor twist - PMC spawns are sprinkled throughout maps rather than at live starting locations to simulate a SCAV entering mid-raid.
Donuts Spawn Point Parameters Explained
“MapName” - name of the map. be sure you use proper names, i.e. “bigmap” for Customs
“GroupNum” - spawn group. all spawns with the same GroupNum will share one trigger. in other words, if you have 3 spawn points in one group, and one of those trigger, then the other 2 won’t.
“Name” - name of spawn. you can name them whatever you want
“Position”: { - x,y,z coordinates of spawn position. this is provided by the in-raid spawn point editor
“x”: 89.5103455,
“y”: 4.672584,
“z”: -158.156723
}
“WildSpawnType” - bot type, i.e. pmc, sptusec, assault, etc.
“MinDistance” - min spawn point radius (can be 0)
“MaxDistance” - max spawn point radius - this is the size of the spawn point. when using the spawn editor, enable “real size” markers to see the actual radius of your spawn point
“MaxRandomNumBots” - max number of bots to spawn. this is 1-max inclusive and it’s random
“BotTriggerDistance” - distance to player for spawn trigger. once the player is within this distance then the spawn timer will start
“BotTimerTrigger” - spawn timer. if the player is within trigger distance this timer will continue to run
“SpawnChance” - spawn chance %
“MaxSpawnsBeforeCooldown” - once this many bots have spawned the spawn point will enter a cooldown (wait for 180s, default, configurable in F12 menu)
“IgnoreTimerFirstSpawn” - if true, once player is within BotTriggerDistance the spawn will trigger regardless of timer. If false, the timer must run at least once for the first spawn trigger.
“MinSpawnDistanceFromPlayer” - the min distance from player that bots should spawn. this is to hopefully prevent bots spawning too close to you.
---
The Rules of DONUTS
Rules
1. Bots will only spawn in same level/height as the spawn marker
2. Bots will only spawn in maximum distance (radius) around the spawn marker
3. One random spawn marker will be picked in a group
- if the timer is passed its eligible to spawn (Unless IgnoreTimerFirstSpawn is true for the point. It will be set to false after a successful spawn)
- if they are within the BotTimerTrigger distance the point is eligible to spawn.
- If the SpawnChance is reached, it is eligible to spawn.
- Validate that the spawn is not in a wall, in the air, in the player’s line of site, minimum distance from the player. It will attempt to find a valid point up to the Bepinex Configured Max Tries specified.
- One to MaxRandomNumBots from the Spawn Marker info will be generated of type WildSpawnType
4. Timers will be reset if there is a successful spawn or a failure from within a group.
5. If a spawn sucessfully spawns up to their MaxSpawnsBeforeCooldown number, then it is in ‘cooldown’ until the timer specified in the bepinex config is reached.
Assumptions
- Spawns within a group will be on/around the same bot trigger distance otherwise only the closest spawn will be enabled.
- Each unique or standalone spawn should be given its own group number.
**Donuts - Not Enough Bots? Too Many? - Start and Wave files Explained, ScenarioConfig, RandomScenarioConfig Explained
Donuts spawns bots using two json config files defined per map located here: dvize.Donuts\patterns\<preset_name>\map_waves.json or map_start.json
_start: This is your starting bots config

MinCount, MaxCount: This is the range of ALL starting bots for that type
MinGroupSize, MaxGroupSize: This is the range of group size for each starting spawn
Zones: Spawn zones - Donuts will select a random set of coordinates from each zone defined here. For starting bots specifically, Donuts will use each Zone until all points have been used then Donuts will repeat points afterward. For more info on custom zones and how to use them please see the section below: Donuts Custom Zones
_waves: These are all of your bot waves for each map

Please see the section Donuts Spawn Point Parameters Explained for more info on these parameters.
ScenarioConfig file defines all of the PMC and SCAV max bot caps for each map, for all presets. If you want to change the number of total PMCs and/or SCAVs in your raids then this is where you would do it. If you create a new preset be sure to add it to this file.
RandomScenarioConfig file defines “random pool” packages of presets that you can randomly cycle through. You can create a new random pool in this file, add any presets you want (try adding all of them, why not) and give each preset a weight. Weights work like this: individual weight / total weight = % chance
Then select the random preset pool from the preset selector in the Donuts F12 menu.
Donuts Custom Zones
All Donuts spawn points are hand-created and completely customizable. All spawn points are defined here: dvize.Donuts\zoneSpawnPoints
Each map contains a list of custom zones that each have their own list of coordinates (created by the Donuts spawn point editor). You can add/change/remove any zones or spawn points.
Example: customs_start.json

Hotspot Example:

How to use custom zones and zone keywords
Once you have zones and spawn points defined (like the above) you can use those zones in the Donuts pattern spawn files
i.e. customs_waves.json:
You can specify zones by zone name or use a built-in zone keyword:
- “start”: uses all zones defined in the _start.json zone spawn point files
- “hotspot”: uses all zones labeled with “hotspot” anywhere in the name
- “all” : uses all zones listed in the zone spawn point file for the corresponding map
Donuts Custom Zone Maps
Woods

Ground Zero

Shoreline

Interchange

Customs

Lighthouse

Streets
