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

[L4D & L4D2] Respawn Rescue Closet (1.11) [24-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
James William Bottomtooth
Junior Member
Join Date: Sep 2022
Old 09-18-2022 , 11:40   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #51

So there is no way to enable rescue in finale maps?
Has anyone found any solution yet?
James William Bottomtooth is offline
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 09-18-2022 , 11:56   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #52

Quote:
Originally Posted by James William Bottomtooth View Post
So there is no way to enable rescue in finale maps?
Has anyone found any solution yet?
No. Theres always have rescue in Finale Stage. Thats called “defibrillator”
moschinovac is offline
WhatsAnName
Member
Join Date: Jun 2018
Old 09-24-2022 , 17:27   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #53

Plugin failed to compile! Please try contacting the author.
SourcePawn Compiler 1.8.0.5969
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2015 AlliedModders LLC

175759.attach(1486) : error 017: undefined symbol "RemoveEntity"

7 Errors.
WhatsAnName is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-24-2022 , 19:34   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #54

Quote:
Originally Posted by WhatsAnName View Post
Plugin failed to compile! Please try contacting the author.
SourcePawn Compiler 1.8.0.5969
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2015 AlliedModders LLC

175759.attach(1486) : error 017: undefined symbol "RemoveEntity"

7 Errors.
Thanks, fixed.
__________________
Silvers is offline
James William Bottomtooth
Junior Member
Join Date: Sep 2022
Old 09-29-2022 , 07:31   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #55

Quote:
Originally Posted by moschinovac View Post
No. Theres always have rescue in Finale Stage. Thats called “defibrillator”
I appreciate your reply but "defibrillator" isn't always helpful. For instance on No Mercy rooftop if someone falls off, or in Cold Stream and The Parish finale if someone dies early, people don't come all the way back to defib teammates, in Cold Stream it's not even possible to come back from a certain point on. Or in Dead Center finale if someone dies on the third floor before entering the elevator and coming down, there's no way to defib that player, and this is a real issue. The only idea that comes to my mind is using a respawn timer which wouldn't be as good as rescue closets.
James William Bottomtooth is offline
replay_84
Senior Member
Join Date: Jun 2021
Old 12-12-2022 , 14:10   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #56

Any way to use my old config file after updating? I replaced all "num" with "type" "num" in notepad++ so it would edit all my 722 entries (!) with the missing info about closet type. However it seems like they are not aligned properly anymore. Whatever is changed in the newer versions. Can I change it back so it would read my l4d_closet file?

My version was really old, never updated it as it worked fine.. Help


edit:
looks like the closets are all mirrored

Last edited by replay_84; 12-12-2022 at 14:31.
replay_84 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-12-2022 , 20:08   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #57

It needs the "num" value to define how many are being spawned. Without the "type" key set it defaults to "0" value.

You can change the default when it's missing the type value by finding and adding the type number you want, for example:
PHP Code:
type hFile.GetNum("type"); 
to
PHP Code:
type hFile.GetNum("type"1); 
Or automate through notepad++ to find "ang" or "pos" and set "type" within that section.
__________________
Silvers is offline
replay_84
Senior Member
Join Date: Jun 2021
Old 12-13-2022 , 16:53   Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
Reply With Quote #58

Quote:
Originally Posted by Silvers View Post
It needs the "num" value to define how many are being spawned. Without the "type" key set it defaults to "0" value.

You can change the default when it's missing the type value by finding and adding the type number you want, for example:
PHP Code:
type hFile.GetNum("type"); 
to
PHP Code:
type hFile.GetNum("type"1); 
Or automate through notepad++ to find "ang" or "pos" and set "type" within that section.


Sorry if I wasn't clear enough. I already fixed the problem that it wouldn't read the .cfg properly


Of course I didn't just add "type" everywhere before "ang" but "type" "1" (forgot the "1" in my previous post)



So everything looks like this now:


Quote:
"l4d_train04"
{
"num" "2"
"1"
{
"type" "1"
"ang" "0.000000 0.000000 0.000000"
"pos" "-1640.273682 2311.817871 -215.968750"
}
"2"
{
"type" "1"
"ang" "0.000000 0.000000 0.000000"
"pos" "-1640.378906 2241.608643 -215.968750"
}
}

They appear now in the only available closets model available in l4d1 like it was before and they do work (with the old edited config). However the problem is they are all aligned wrong. E.g they face the walls with the doors. I needed to twist them 180° . So I'm wondering if I can change anything in the .cfg or .sp file so it would read my old config properly. (changes all the wrong closets 180° without having to point on them in game with l4d_closet_pos)

Last edited by replay_84; 12-13-2022 at 17:06.
replay_84 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-21-2022 , 08:26   Re: [L4D & L4D2] Respawn Rescue Closet (1.9) [21-Dec-2022]
Reply With Quote #59

Code:
1.9 (21-Dec-2022)
    - Closets will become non-solid when someone is rescued, until players are no longer nearby.
    - Doors will automatically close when a player is not nearby and the rescue entity will respawn if allowed.
    - Raised the rescue entity slightly to prevent players falling through the world. Thanks to "replay_84" for reporting.
    - Changed command "sm_closet_pos" to allow targeting any/invisible closets within 100 units distance. Requested by "replay_84".
    - Fixed command "sm_closet_list" not showing the correct type as relative to the "sm_closet" command.
    - Invisible types will delete the temporary model after 30 seconds.
    - Thanks to "replay_84" for lots of help testing.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-24-2022 , 11:46   Re: [L4D & L4D2] Respawn Rescue Closet (1.10) [24-Dec-2022]
Reply With Quote #60

Code:
1.10 (24-Dec-2022)
    - Fixed the rescue models becoming non-solid when simply opening the door and not rescuing someone. Thanks to "replay_84" for reporting.
    - Using a backup event to set the respawn count, if the "survivor_rescued" event does not trigger.
    - Increased how far players must be from the rescue model to make it solid again.
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

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 14:45.


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