Skip to content

Lame-Ghost/SPT-Variable-Raid-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. Description

A server mod for SPT 4.0+ that randomizes raid duration on every raid start, forcing players to actually check the timer and adapt their strategy accordingly.

Got a long raid? Pace yourself. Loot, explore, but don't forget to check your doors and corners. That's how they get you, kid. Got a short raid? Forget about looting and haul ass out of there.


  1. Installation

Copy the Ghost-VariableRaidTimer folder into your SPT/user/mods/ directory That's it


  1. Configuration

Edit config/config.json to adjust the behaviour:

AllowIncrease (bool, default: true) — Allow the timer to be longer than base. AllowDecrease (bool, default: true) — Allow the timer to be shorter than base. MaxVariancePercent (float, default: 25) — Maximum delta as a percentage of the base raid time. BiasTowardLonger (float, default: 0.5) — 0.5 = symmetric, above 0.5 = biased toward longer raids, below 0.5 = biased toward shorter. MinimumRaidTimeMinutes (int, default: 10) — Hard floor, the timer will never go below this value.


  1. Compatibility

SPT 4.0.0+

I have not tested with Fika, and I don't intend to.


  1. Limitations

The timer is randomized at raid start on the server side, so the in-game UI will just show whatever time you got — there's no warning before you load in.


  1. Disclaimer

I'm fairly new to coding, so the code contains AI-assisted content. Also, expect bugs.

About

An SPT mod design to add to randomness to the durations of raids

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages