Left 4 Dead 2

Left 4 Dead 2

40 ratings
No Hanging From Ledge (Vscript)
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
Game Modes: Single Player, Co-op
File Size
Posted
7.678 KB
13 Aug @ 7:41am
1 Change Note ( view )

Subscribe to download
No Hanging From Ledge (Vscript)

In 1 collection by kurochama
Useful "Side-Dish" Mods (Especially for Bots)
47 items
Description
This is just a simple mod for fun. This feature was originally from "Merciless Bots" mod, but I decided to make it as a standalone mod because it could be useful for bots. Yeah, bots usually have a hobby to go hanging from ledge for no reason, especially in custom campaigns.


List of features available on "no hanging from ledge.txt" cfg file:
  1. anti_hanging_from_ledge_user: Who can automatically climb up when hanging from ledge (bots/ players/ all).

  2. auto_climb_up_timer: How long until a survivor can automatically climb up when hanging from ledge. Min= 0.5 second. Max= no limit.


Simple mechanisms:
  • When a survivor is hanging from ledge, a timer will be set based on "auto_climb_up_timer"

  • When the timer is equal to the value of "auto_climb_up_timer", the hanging survivor will climb up automatically.


So, with this mod, bots won't annoy you by hanging from ledge again & again when you need to keep running, as they will climb up on their own automatically.
9 Comments
kurochama  [author] 17 hours ago 
@ Olde , I already tested on those animated previews, & I could still grab the ledge. Probably one or some of your mods caused you to fail to grab the ledge. & there's "auto_climb_up_timer" to set the timer, if you still want to grab ledge for several seconds. On the animated previews, I set "auto_climb_up_timer" to 1.5 (1.5 second) to save time of making gif images in around 2 seconds as gif images have size limit. It can be set to 30 seconds, 1 minute, or even higher as the value there represents the seconds of how long a survivor is in hanging state before they climb up.
Olde 19 hours ago 
If they're hanging too long I can always kick them. If I can't grab a ledge that's a big problem. That is, unless this issue is on my end. I implore you to try it yourself and see if you actually grab ledges because with this mod enabled, I don't anymore.
kurochama  [author] 19 hours ago 
@ Olde , waiting bots to fall takes way longer time, & zombies won't wait especially during alarm event or finale like "The Parish" where sometimes bots go hanging from ledge for no reason. So it's better for them to climb up on their own, as that will save some time.
Olde 14 Aug @ 4:17am 
This seems to remove the ability for the player to grab ledges, which is way worse than waiting for bots to fall from ledges.
Crashado 13 Aug @ 6:37pm 
FINALLY
kouga 13 Aug @ 4:04pm 
yeah ik but itd be nice if it were reversed and that you fall off edges if you arent careful
I STAPLE TAPEWORMS ON MY 13 Aug @ 11:46am 
@kouga if you hold space, you can fall off ledges
kouga 13 Aug @ 11:10am 
is it possible to add onto this a feature where you always fall off of ledges unless you're holding crouch? or no?
kouga 13 Aug @ 11:00am 
heck yeah!!