Re: [L4D2] Force survivors to hang on a surface
Posted by Digi on
Sun Apr 8th 2012 at 5:11am
Digi
member
17 posts
3 snarkmarks
Registered:
Apr 6th 2012
Occupation: Student
Location: Romania
I am curious if it's possible to make a surface or a trigger if you fall inside it the survivors hangs to the nearest surface.
I need this for a static train, if you fall off the roof you should be able to hang on the ledge to be saved, instead of falling down into the trigger_hurt that'll kill you XD
Re: [L4D2] Force survivors to hang on a surface
Posted by Digi on
Sun Apr 8th 2012 at 6:43am
Digi
member
17 posts
3 snarkmarks
Registered:
Apr 6th 2012
Occupation: Student
Location: Romania
The problem is the height is not enough to trigger that automatically... and to make the floor passable it would look really bad when you fall through the map to your death.
Hmm, you mean I can mark ledges in the NAV generation ?
Re: [L4D2] Force survivors to hang on a surface
Posted by Digi on
Sun Apr 8th 2012 at 10:39pm
Posted
2012-04-08 10:39pm
Digi
member
17 posts
3 snarkmarks
Registered:
Apr 6th 2012
Occupation: Student
Location: Romania
Well, I moved the floor down, tried to trigger the ledge and I fell to my noclip-prevented screamy death :))
However, I did a nav_auto_build_area on the top and then tried again and it worked, I catched on the ledge... I saved the nav and recompiled with the floor back up but it didn't work anymore :/ I can't find something to always specify that the surface is a ledge, I think it's automatically calculated, so I need a fake floor.
Hmm, I could do a trigger to make the floor solid when someone actually falls... but how do I filter that specific player that falls ? Because it would disable ledge grabbing for other players that fell right after.