Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Saferoom Door Spam Protection (1.30) [10-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-21-2021 , 10:22   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.8) [21-Jun-2021]
Reply With Quote #31

Quote:
Originally Posted by pan0s View Post
This version provides a timer to auto destroy the safe room door every round start.
Have modified and added to the main plugin. I've omitted the hint messages as I don't see it being necessary to spam the chat about the door falling. If someone really wants these messages added I'll update the translations.

Code:
1.8 (21-Jun-2021)
    - Fixed not using an entity reference which could rarely throw errors otherwise.

    - Modified update from "pan0s" adding auto falling saferoom door feature.
    - Added cvar "l4d_safe_spam_fall_time" to control if the first saferoom door auto falls.
    - Added command "sm_door_last" to make a locked saferoom door fall over. Should mostly be the first saferoom door.
__________________
Silvers is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 06-23-2021 , 13:49   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.8) [21-Jun-2021]
Reply With Quote #32

It's possible to walk through the door when it's falling off, is there a way to prevent that?
KoMiKoZa is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-23-2021 , 15:38   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.8) [21-Jun-2021]
Reply With Quote #33

Quote:
Originally Posted by KoMiKoZa View Post
It's possible to walk through the door when it's falling off, is there a way to prevent that?
Remove the line:
PHP Code:
DispatchKeyValue(door"spawnflags""4"); // Prevent collision 
Might update and change that.
__________________

Last edited by Silvers; 06-23-2021 at 15:39.
Silvers is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 06-23-2021 , 16:18   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.8) [21-Jun-2021]
Reply With Quote #34

Quote:
Originally Posted by Silvers View Post
Remove the line:
PHP Code:
DispatchKeyValue(door"spawnflags""4"); // Prevent collision 
Might update and change that.
It works, thank you.

I guess I see why you decided to prevent that. Players can simply move the door out of the way while it's falling and it just looks weird.
KoMiKoZa is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-23-2021 , 16:41   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.8) [21-Jun-2021]
Reply With Quote #35

Quote:
Originally Posted by KoMiKoZa View Post
It works, thank you.

I guess I see why you decided to prevent that. Players can simply move the door out of the way while it's falling and it just looks weird.
Yeah that's the issue. Maybe can set weight of door to prevent moving it. Not looked into that.
__________________
Silvers is offline
Primeas
Junior Member
Join Date: Aug 2019
Old 06-26-2021 , 09:06   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.8) [21-Jun-2021]
Reply With Quote #36

Code:
// 0.0=Off. How many seconds after round start until the locked saferoom door will automatically fall.
// -
// Default: "20.0"
l4d_safe_spam_fall_time "0.0"
If you use "0" or "0.0" there, the door will be opened immediately at the start of the round
__________________
- If you have any Questions, write to me in Steam: Click here


Primeas is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-26-2021 , 11:11   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.9) [26-Jun-2021]
Reply With Quote #37

Thanks, fixed.

Code:
1.9 (26-Jun-2021)
    - Fixed cvar "l4d_safe_spam_fall_time" value "0.0" from making the door auto fall. Thanks to "Primeas" for reporting.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-30-2021 , 00:49   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.10) [30-Jun-2021]
Reply With Quote #38

This is quite a nice change. The metal rails etc now stay attached to the door, and the handle falls down.

Code:
1.10 (30-Jun-2021)
    - Fixed the saferoom door not auto falling on some maps.
    - Now displays the handle falling.
    - Now swaps attachments from the old door to the new door.
    - Now supports multiple ending saferoom doors.
__________________
Silvers is offline
Krevik
Junior Member
Join Date: Mar 2021
Old 07-04-2021 , 06:09   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.10) [30-Jun-2021]
Reply With Quote #39

Blood Harvest - last mape before finale - saferoom doors at the end of the map are opened (probably only if u use auto door opening) making survivors possible to go out of the map.
Krevik is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-05-2021 , 03:51   Re: [L4D & L4D2] Saferoom Door Spam Protection (1.10) [30-Jun-2021]
Reply With Quote #40

Quote:
Originally Posted by Krevik View Post
Blood Harvest - last mape before finale - saferoom doors at the end of the map are opened (probably only if u use auto door opening) making survivors possible to go out of the map.
Fixed:
Code:
1.11 (05-Jul-2021)
    - L4D2: plugin compatibility update with "[L4D2] Saferoom Lock: Scavenge" plugin by "Eärendil" version 1.2+ only.
    - Thanks to "GL_INS" for reporting and testing.
    - Thanks to "Eärendil" for supporting the compatibility.

    - Changed method of locking doors after opening/closing. No more hackish workarounds.
    - Fixed some saferoom doors falling the wrong way when "l4d_safe_spam_physics" cvar was enabled.
    - Should now correctly detect the starting saferoom door for auto falling. Thanks to "Krevik" for reporting.
__________________

Last edited by Silvers; 07-05-2021 at 05:37.
Silvers is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode