View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-04-2020 , 19:22   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.6) [05-Oct-2020]
Reply With Quote #24

Quote:
Originally Posted by Tonblader View Post
Can you add a cvar to indicate the final door will be start open/closed?
Can you make the zombies near the door of the initial saferoom get crushed by the door? (l4d_safe_spam_open "2")

Good Work
Code:
1.6 (05-Oct-2020)
    - Added cvar "l4d_safe_spam_last" to control the last saferoom door state on round start: opened, closed or map default. Thanks to "Tonblader" for requesting.
Crushed is more difficult, need to create a trigger in the right area and vector angles/rotation didn't work for every map/door angle so I haven't released and don't have time to keep playing with it. Also the zombies die but the door still falls through them so it's kinda pointless anyway because it still doesn't look good.
__________________
Silvers is offline