Skip to content

Instantly share code, notes, and snippets.

@refringe
Created August 25, 2023 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save refringe/44f88b5932bcc1d640c4e24b87ddc7cf to your computer and use it in GitHub Desktop.
Save refringe/44f88b5932bcc1d640c4e24b87ddc7cf to your computer and use it in GitHub Desktop.
120 Minute Raid Times
{
general: {
enabled: true,
// Enables verbose logging for debugging. And I mean *verbose*... It will log *everything*; raid times, train
// schedules, and every existing and newly created bot spawn wave in the system.
debug: false,
},
raidTimes: {
// Override raid times for all locations, ignoring custom times set for individual locations.
overrideAll: true,
// Override raid times options. Used for all maps, but only when the above `override_all` is set to `true`.
//
// These are examples of how to use the various options; only a single minutes and weight object is required.
// If more than one option is provided, the weights are used to determine how often each object is used. The
// higher the weight, the more often it is used relative to the others.
//
// The minutes and weight options can be a single number, or an object with min and max values which will be
// used to generate a random number between the two.
override: [
{ minutes: 120, weight: 1 },
],
// Custom raid times for specific locations. Used when `override_all` is set to `false`.
// The option can be a number, or an object containing minutes and weight options as described above.
customTimes: {
customs: 40,
factoryDay: 20,
factoryNight: 25,
interchange: 40,
laboratory: 35,
lighthouse: 40,
reserve: 40,
shoreline: 45,
streets: 50,
woods: 40,
},
},
botSpawn: {
// Adjust regular bot spawn waves, ensuring bots continue to spawn throughout longer raids. If you're unsure if
// you should enable this, leave it *enabled*; the mod will automatically disable it at runtime if there are
// known conflicts with other mods.
adjustWaves: true,
// Want to force this mod to extend the bot spawn waves, even if it detects a conflict with another mod?
// Set this to `true` and roll the dice! OH YEAHHHHH! (Not responsible for any issues that arise from this.)
force: false,
// Maximum number of bots that can be alive at once. Reduce if performance issues arise.
maximumBots: 28,
// A wave is defined as a random number of bots that spawn at the same time at the same location.
// The following settings control the number of waves that happen at once (per spawn group).
wavesPerGroup: {
max: 4,
min: 1,
},
// A group is a collection of waves that happen in roughly the same time frame (but at different locations).
// The following settings control the timing between groups.
groupGapMinutes: {
max: 8,
min: 4,
},
},
trainSchedule: {
// Enables the automatic train schedule feature. This automatically generates a schedule for the train that fits
// within the raid time, and ensures the train arrives with enough time for players to extract. It's *highly*
// recommended to leave this enabled.
auto: true,
static: {
// All of the following train schedule options are only used when `auto` is set to `false`.
//
// WARNING:
// - If you don't know what you're doing, don't touch these options. Use the auto schedule feature instead.
// - If the sum of the latest arrival time, wait time, train amimation time, and extraction time is greater
// than the resolved raid time, the train will not arrive in time for you to exit the raid.
// - ABSOLUTLY NO SUPPORT WILL BE PROVIDED FOR USING THIS FEATURE. YOU ARE ON YOUR OWN. ¯\_(ツ)_/¯
//
// NOTES:
// - Setting `arriveEarliestMinutes` to 20 will have the train arrive (at earliest) 20 minutes into raid.
// - Setting `trainWaitSeconds` to 120 will have the train wait 120 seconds after arriving before departing.
// - The mod will do it's best to ensure that the latest arrival time lands within the raid time if it's
// been set to a time later than the raid time, but I make no guarantee it will work.
// - To have the train arrive at a specific time, every time, set `arriveEarliestMinutes` and
// `arriveLatestMinutes` to the same value.
// - The defaults are the same as live; 20, 25, 420.
arriveEarliestMinutes: 20,
arriveLatestMinutes: 25,
trainWaitSeconds: 420,
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment