Skip to content

Pause 1.6.1 Merge Candidate

Pre-release
Pre-release

Choose a tag to compare

@Shigbeard Shigbeard released this 02 Jan 17:07
· 2 commits to features-cloak-pos-health since this release
1bc8e82
  • Added an optional restore on unpause to all living player's position, angle, and velocity, on unpause
    • Toggled via sm_pause_restore_pos <0\1> (default 0)
  • Added an optional restore on unpause to all living player's health
    • This is incase the above restore takes place AFTER a damage calculation, so as to prevent double damage from falling potentially resulting in an undeserved death.
    • Toggled via sm_pause_restore_health <0\1> (default 0)
  • Added an optional restore on unpause to all spy player cloak meters
    • Achieved by setting the cloak meter to an extremely large capacity at pause, and restoring the pre-pause meter on unpause.
    • I attempted to go the route of simply restoring the meter and applying the cloak condition to the player, however this resulted in a brief cloak "blink" as the server would network an uncloak event before another cloak event. The infinite cloak during pause method results in no such blink.
    • Toggled via sm_pause_restore_cloak <0\1> (default 0)
    • I intentionally do not announce that cloak has been saved on pause as it may prompt players to behave differently on unpause (reminding them that spies may be in play on 6v6)