Left 4 Dead 2
57 ψήφοι
Survivor Abilities Pack
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Survivors: Survivors
Game Content: Scripts, Miscellaneous
Items: Other
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
100.856 KB
4 Μαϊ 2022, 12:12
5 Μαϊ 2022, 1:50
2 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Survivor Abilities Pack

ΠΕΡΙΓΡΑΦΗ
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]
Δημοφιλείς συζητήσεις ΠΡΟΒΟΛΗ ΟΛΩΝ (1)
0
5 Μαϊ 2022, 1:43
ΕΠΙΣΗΜΑΣΜΕΝΟ: Abilities Configuration
smilzo
15 σχόλια
フの 27 Μαρ, 17:29 
I've followed the instructions and nothing seems to work? the console tells me "command unknown" as I'm supposed to be doing this now.
MoonWalk 17 Οκτ 2023, 5:57 
thx, i will try it soon.
smilzo  [Δημιουργός] 17 Οκτ 2023, 4:44 
@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.
MoonWalk 16 Οκτ 2023, 22:48 
could u create a new guide, pls?
smilzo  [Δημιουργός] 9 Οκτ 2023, 12:46 
@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.
MoonWalk 9 Οκτ 2023, 8:20 
Inst worked
在天空中飞翔ˣ 在天空 13 Φεβ 2023, 23:58 
This mod Awful I'm not Getting Download that
在天空中飞翔ˣ 在天空 13 Φεβ 2023, 23:57 
i'm so stupid is not working?
smilzo  [Δημιουργός] 15 Ιαν 2023, 9:37 
@VendibleGallus i don't know, sorry.
The Witness #FixTF2 20 Δεκ 2022, 16:34 
is this compatible with project smok