branchrust_reboot/main/softcore_updates_jul_26/raid_windowcancel
17 Commits over 0 Days - Infinitycph!
Minor map ui improvements
- Ensure raid window status ticks update whilst on screen
- Only set time placed if we are in softcore
- Add Raid Window information to the map ui
- Simplify and clean up SecondsUntilNextChange/NextChangeUnixUTC
- Cleanup
Swap raidStatusSet to be lazy loaded instead
Batch tc network updates over a few frames instead
Update the raidable flag of every tc when the raid window opens or closes rather than leaving a permanent check loop on
Block doors/gates from receiving damage outside a raid window
Ensure we only add raid status provided we are in softcore
Move raid window convars into softcore. rather than softcoreraid.
set raid windows on by default
Seperate tc softcore stuff into its own file
- Setup raid windows so they transfer UTC time from server -> client and client then resolves properly to their own timezone
- Fix 'Raiding Allowed' and 'Raiding Blocked' vital notes from not poping up
- Keep track of when the raid window opens via a syncvar on the gamemode entity
Add 'raiding enabled' and 'raiding disabled' vitals
Setup enum dropdown to override initial gamemode in Game Setup
Basic implementation of softcore 'raiding windows'
This prevents raiding outside of predefined server hours.
- Prevent building block damage outside the window (by projectile or explosive)
- Freshly placed tool cupboard (up to an hour) can be raided even outside the window
- Melee damage is still allowed
- Twig is always breakable
- Can't fire MLRS outside the window
- Per server convars for control (ability to also customize weekend hours)
- Setup to a open/close noise when the window opens or closes
thumb_up
17
thumb_down
11