Left 4 Dead 2

Left 4 Dead 2

78 ratings
Survivor Abilities Pack
   
Award
Favorite
Favorited
Unfavorite
Survivors: Survivors
Game Content: Scripts, Miscellaneous
Items: Other
File Size
Posted
Updated
100.856 KB
4 May, 2022 @ 12:12pm
5 May, 2022 @ 1:50am
2 Change Notes ( view )

Subscribe to download
Survivor Abilities Pack

Description
A small collection of Survivor Abilities for the Left 4 Fun addon.

This is not a standalone addon, this addon requires Left 4 Fun and Left 4 Lib addons to work.

How to install
  • Subscribe to this addon
  • Subscribe to the required addons (if you havent already)
  • Open the folder "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\ems\left4fun" in explorer and create a new subfolder named "survivorabilities"
  • Inside the newly created folder, create 2 text files named "types.txt" and "char_defaults.txt" respectively.
  • Open the 2 new text files with a text editor and add the following content to them, then save them.

types.txt
Bhop Bileman Bomberman Fireman Fly Gravity Invisible Medic Push Radar Tesla Warp
This represents the list of Survivor Ability classes that will be loaded by the Left 4 Fun addon.
You can remove any ability you do not want to be loaded or add new abilities simply by editing this file.
With this file you can also change the default parameters of the abilities, see HERE.

char_defaults.txt
fireman fireman fireman fireman fireman fireman fireman fireman
This file represent the default ability (ability name not the ability class) for each one of the 8 survivor characters.
Survivors will start with these default abilities but they can always change it with the 'ability_set' command (unless you disabled it via 'l4f_survivor_abilities_allow_set' fake cvar).

How to use
The Survivor Ability feature must be enabled on Left 4 Fun in order for this to work.
You can do this by settings the fake cvar 'l4f_survivor_abilities' to 'true' via 'cvar' command (!l4f cvar l4f_survivor_abilities true), however the value will revert to 'false' after a map transition.
You can make it permanent by using the 'pcvar' command instead (!l4f pcvar l4f_survivor_abilities true).
You can set the other 'l4f_survivor_abilities_*' cvars in the same way.
The list of the fake cvars can be found HERE.

An alternative to the permanent cvar is to make a L4F mod and switch to it via '!l4f settings mod modname' command.
For example you can create a text file named 'survivor_abilities_all.txt' in the 'ems\left4fun\mods\' folder and add these lines to it:
l4f_survivor_abilities 1 l4f_survivor_abilities_hud 1 l4f_survivor_abilities_notifications 1 //l4f_survivor_abilities_removeonincap 1 //l4f_survivor_abilities_add_onspawn 0 //l4f_survivor_abilities_allow_cmds 1 //l4f_survivor_abilities_allow_set 1
Then, create a local game and, after the map finished loading, type '!l4f settings mod survivor_abilities', then '!l4f restart'.

Survivor Abilities are now loaded, you can set your preferred ability via '!l4f ability_set abilityname' command.
You start / stop the ability via '!l4f ability_start' / '!l4f ability_stop' commands and fire it via '!l4f ability_use' command.

More details on the commands can be found HERE.

A demonstration can be seen in the linked videos.

Another alternative is to make your own mutation, like THIS ONE.

How to bind the 'ability_use' command to a button
Open the console and type:
bind "KEY" "scripted_user_func l4f,ability_use"
Change KEY with the key you want to use.

'ability_start' and 'ability_stop' commands can be bound the same way.


Like my mods?
Donations are not required but are greatly appreciated.
[ko-fi.com]
Popular Discussions View All (1)
0
5 May, 2022 @ 1:43am
PINNED: Abilities Configuration
smilzo
16 Comments
CtrlAltCuteness 19 May @ 3:23pm 
Windows users who are having issues: Make sure you tell Windows to show these file extensions for you.

1. Open up any local folder if one is not already open ( This PC and the Recycle Bin also works).
2. On the toolbar at the top, select View .
3. Go to Show (Win11) or the section Show/Hide (Win10)
4. Enable the option Show file extensions .

Changes should take effect immediately. Now go and double-check that you didn't accidentally name those files to end with .txt.txt (if you did, you now can fix it).
Zher 28 Mar @ 2:26am 
i wish bots can use this..
zp 15 Jan @ 8:29pm 
Nothing working I just type !l4f ability_start and nothing fucking working you stupid bitch I'm already in instructions and is not working dumb stupid
Fadayo 30 Sep, 2024 @ 1:21pm 
@Kyrios Elohim Sabaoth
It's not fake, you just can't read instructions.
Theikos ⁧⁧Progonos 29 Sep, 2024 @ 1:48pm 
i report this fake add-on :steamthumbsdown:
♠Ace 17 Oct, 2023 @ 5:57am 
thx, i will try it soon.
smilzo  [author] 17 Oct, 2023 @ 4:44am 
@Clementine's Lover it's literally in the descripion and in the 2 linked videos. The first video has outdated commands but you just have to add "l4f" at the beginning of each command. For example: "!ability_use" becomes "!l4f ability_use". "scripted_user_func ability_start" becomes "scripted_user_func l4f,ability_start" etc.
If you have a question about a specific step ask here, i will answer when i can.
♠Ace 16 Oct, 2023 @ 10:48pm 
could u create a new guide, pls?
smilzo  [author] 9 Oct, 2023 @ 12:46pm 
@Clementine's Lover sorry the Left4Fun commands changed recently and i forgot to update the description of this. Basically all the commands need to start with !l4f now.
♠Ace 9 Oct, 2023 @ 8:20am 
Inst worked