ZPause v1.1
Latest version is always live on GitHub: https://github.com/Xeptix/ZPause/releases
Fixed — players unfreezing mid-pause
On Ascension, pausing while you're in the lander let you walk around the paused
game once the lander came down and opened. Map scripts that carry you somewhere
lock your controls for the ride and release them when it ends, and that release
lands in the middle of the pause. freezecontrols() can't be read back, so the
fix re-asserts the freeze on a tick rather than testing it, and re-pins godmode
along the way. New zp_control_guard, on by default. It covers any ride script
that does this, not just the lander.
New — screen blur
zp_blur (on by default) blurs everyone's screen while paused, using the same
post-process the game runs when you buy a perk. zp_blur_amount sets the
strength — the perk buy uses 4, the default here is a light 1.5. It's the
softer alternative to zp_blackout, which is still there and still off by
default.
New — pause and resume sounds
Three sound dvars now instead of one:
Dvar
Default
zp_pause_sound
zmb_zombie_go_inert
zp_countdown_sound
zmb_tombstone_timer_count
zp_resume_sound
zmb_zombie_end_inert
All stock aliases played by core zombies scripts, so they work on every map. A
custom sound would have to ship as a fastfile and be installed by every player
rather than just the host, so ZPause uses the game's own audio instead. The
defaults are what the game uses them for: go_inert and end_inert are what a
zombie plays dropping dormant and waking back up, and zmb_tombstone_timer_count
is the once-a-second tick from the tombstone timer. Set any of them to "" for
silence — zp_countdown_sound was silent by default before, so set it back if
you preferred that. The README lists other aliases worth trying.
Install
Unchanged — overwrite your existing zpause.gsc:
%localappdata%\Plutonium\storage\t6\scripts\zm\zpause.gsc, or on newer builds
%localappdata%\Plutonium\storage\t6\raw\scripts\zm\zpause.gsc
Mod version goes in mods\zm_pause\scripts\zm\. You don't need to restart the
game — end the current match and start a new one.
Full dvar list and the how-it-works writeup are in the README on GitHub:
https://github.com/Xeptix/ZPause