AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Respawn Rescue Closet (1.11) [24-Dec-2022] (https://forums.alliedmods.net/showthread.php?t=223138)

James William Bottomtooth 09-18-2022 11:40

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
So there is no way to enable rescue in finale maps?
Has anyone found any solution yet?

moschinovac 09-18-2022 11:56

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
Quote:

Originally Posted by James William Bottomtooth (Post 2789096)
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”

WhatsAnName 09-24-2022 17:27

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
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.

Silvers 09-24-2022 19:34

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
Quote:

Originally Posted by WhatsAnName (Post 2789582)
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.

James William Bottomtooth 09-29-2022 07:31

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
Quote:

Originally Posted by moschinovac (Post 2789098)
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.

replay_84 12-12-2022 14:10

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
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

Silvers 12-12-2022 20:08

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
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.

replay_84 12-13-2022 16:53

Re: [L4D & L4D2] Respawn Rescue Closet (1.8) [15-Jan-2022]
 
Quote:

Originally Posted by Silvers (Post 2795064)
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)

Silvers 12-21-2022 08:26

Re: [L4D & L4D2] Respawn Rescue Closet (1.9) [21-Dec-2022]
 
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 12-24-2022 11:46

Re: [L4D & L4D2] Respawn Rescue Closet (1.10) [24-Dec-2022]
 
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.



All times are GMT -4. The time now is 00:49.

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