Left 4 Dead 2

Left 4 Dead 2

59 ratings
Capped Fall Damage
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts, Miscellaneous
Game Modes: Single Player, Co-op
File Size
Posted
Updated
38.905 KB
8 Jun, 2024 @ 7:47pm
8 Nov, 2024 @ 2:33am
2 Change Notes ( view )

Subscribe to download
Capped Fall Damage

In 1 collection by kurochama
Useful "Side-Dish" Mods (Especially for Bots)
46 items
Description
"What if you fall from a high place & still survive in the end?"

Just as the title says, this mod allows you to set your own fall damage cap. Normally if you fall from a high place, you'll either get incapacitated or die. But with this mod, you can still survive, depending on the value you set. You can also use this to protect bots that are usually bad at climbing very long ladders so when they fall, they won't die.

Here are the features inside "capped fall damage.txt" file:
  1. Fall Damage Cap Target: This controls which type of survivors can have the max fall damage cap (bots only, players only, or all).

  2. Fall Damage Cap Mode: This controls whether "Forced Warp" is activated or not when taking too much fall damage. The warp location checkpoint is saved by reloading a gun.

  3. Max Fall Damage Cap: This controls how much fall damage is allowed on survivors. Min value is 0 (no fall damage) & max value is 100 (100 fall damage)

Bonus Features:
  1. Warp Chat Command: Type "regroup warp" in chat to warp yourself back to team in case if you're stuck somewhere or set "Forced Warp" checkpoint by mistake.
  2. Survivor's Reactions When Falling: Survivors now use voicelines when taking fall damage. Normally, they just say slowly like "Ugh...", but with this mod, you can hear them shouting in pain or swearing when taking fall damage.

    So, just say goodbye to instant incap/ death when falling.

    Notes:
    • A video preview will be added later.
    • This doesn't save you from falling to deep water or lava, as that will give instant death instead.
8 Comments
kurochama  [author] 28 Jun, 2024 @ 5:23pm 
@lil_GravyTrain28 , go to ".../Left 4 Dead 2/left4dead2/ems".
AfghanLiberator 28 Jun, 2024 @ 3:09pm 
where do i find the "ems" folder
kurochama  [author] 26 Jun, 2024 @ 3:34pm 
@lil_GravyTrain28 , first, you can open the "capped fall damage.txt" cfg file inside "ems" folder. Then, set the value of each feature, depending on what you need, like:
- If you want it to work on all survivors (bots & players), set "Fall Damage Cap Target" to 3. If you want it to work only on player survivors, set it to 2.
- For max fall damage cap, set the value of "Max Fall Damage Cap" to what you want. For example, if you want survivors to take only 20 fall damage when falling from very high place, set the value to 20.

Other info for each feature is provided in the cfg file.
AfghanLiberator 26 Jun, 2024 @ 3:08pm 
OK I'm not understanding can you walk me through it cause i don't see anything about how to set the damage value
kurochama  [author] 26 Jun, 2024 @ 2:45am 
@lil_GravyTrain28 , what did you mean about "fall damage counter"? If it's the fall damage value, it's provided on the event function related to fall damage.
AfghanLiberator 25 Jun, 2024 @ 5:06pm 
how do you set the fall damage counter
Legatus General 25 Jun, 2024 @ 4:00pm 
Thank you.
Nephrite Harmony 11 Jun, 2024 @ 12:28am 
jupiter gravity