Left 4 Dead 2

Left 4 Dead 2

Left 4 Fun
266 Comments
Zher 3 Apr @ 4:43am 
hi i manage to enable the zombiedrops....

but the problem is when i reached an hour in survival mode, its caused an overflowing and the game crashed ....

so i decided to minimize the drops by editing the "host_zombiedrops_def.txt"... but it wont make any difference even editing the txt file from "ems/left4fun/zombiedrops" it still in the default drops...
Chloramine 15 Feb @ 2:59am 
i just subsribed all, then i tried to start local server and its not working
smilzo  [author] 15 Feb @ 1:38am 
@Chloramine what doesn't work exactly? I use it every time.
Chloramine 14 Feb @ 9:26am 
not working in 2025
Kenny 18 Dec, 2024 @ 2:33pm 
That crash wasn't due to this mod. It crashed only on Vine Falls and most likely due to another mod.
sake 13 Nov, 2024 @ 6:34am 
this doesn't even work, such garbanzo
Agitatio 29 Oct, 2024 @ 10:01am 
I guess sv_disable_glow_ commands don't work when changed through L4F mods?
Ajiliffe 23 Sep, 2024 @ 3:02am 
which command disables incapped crawling? Or make the bots able to crawl (with your left 4 bots 2 addon), either that or that
▼ WellDare ▼ ♫♫♫ 19 Sep, 2024 @ 6:07pm 
smilzo I tried adding default items but if u revive a survivor he will have an extra pharmacy and pills
Johhny test 15 Sep, 2024 @ 3:11pm 
How did u move with the charger?
▼ WellDare ▼ ♫♫♫ 4 Sep, 2024 @ 8:29am 
I've looked at the contents of the files,
but I don't have enough knowledge to do anything about it
▼ WellDare ▼ ♫♫♫ 4 Sep, 2024 @ 8:28am 
It is left 4 fun causes survivors to spawn without medication in survival
smilzo  [author] 4 Sep, 2024 @ 2:02am 
@WellDare you can look at the mod files in this addon:
https://sp.zhabite.com/sharedfiles/filedetails/?id=1722880882
with
https://developer.valvesoftware.com/wiki/GCFScape
There is some mod that makes them spawn with default items.
▼ WellDare ▼ ♫♫♫ 3 Sep, 2024 @ 10:04am 
Please tell me how to make Make survivors spawn with pharmacies and pills in survival mode
Cre-mate 13 Aug, 2024 @ 7:32am 
Does not work with "T1 only on first map" addon even tho it uses scriptedmode_addon script
smilzo  [author] 31 Jul, 2024 @ 11:57am 
@Ajiliffe it's a bug of windows notepad, open it with another editor, like notepad++
Ajiliffe 31 Jul, 2024 @ 10:51am 
why is this in the host_settings.txt
摡業彮楨瑮彳敬敶‽ര愊睬祡彳楷‽ള戊瑯晟楲湥汤晹物彥慤慭敧慦瑣牯㴠ㄠ਍潧彤湯牟癥癩⁥‽ര朊摯潭敤㴠㌠਍潬汧癥汥㴠㌠਍㙭弰楦⁸‽റ洊摯㴠∠潮敮ഢ瀊捩畫彰扯敪瑣⁳‽ര爊汥慯彤楦⁸‽ര琊潲汬摟浡条晥捡潴⁲‽⸱5
and the cvars i change while in game do not save or even change
picadillo connoisseur 27 Jun, 2024 @ 11:11am 
Works perfectly!
abama 27 Jun, 2024 @ 5:31am 
It doesn't work
smilzo  [author] 11 Jun, 2024 @ 12:00pm 
@𐃫 Yeah it was a buggy update. It should be fixed now. Let me know.
𐃫 11 Jun, 2024 @ 1:55am 
stopped working for some reason
smilzo  [author] 5 Jun, 2024 @ 11:18pm 
@Left4Boy there is nothing to test, if their value is changed then the addon did its job correctly. I don't know what those cvars are supposed to do, you need to ask Valve for that, maybe they are meant to do nothing.
There is another cvar "z_witch_damage_per_kill_hit" did you try change this one?
Left4Boy 5 Jun, 2024 @ 7:27pm 
@smilzo I Don't Know too...but for my review....this persitent cvar works fine for another cvar code except those two ( z_witch_damage and z_witch always_kills )..maybe you can do some little test for prove it?
smilzo  [author] 5 Jun, 2024 @ 1:33am 
@Left4Boy what you mean? If you see the value you set with pcvar then pcvar worked. Maybe you are just using the wrong cvars, i don't know.
Left4Boy 3 Jun, 2024 @ 6:07pm 
@smilzo it's same current value based on my mod file or with l4f pcvar. but in practice i'ts like old value that loaded...
smilzo  [author] 3 Jun, 2024 @ 11:12am 
@Left4Boy if you type the name of the cvar in the console it shows its current value. Is the value the same you set with pcvar or via mod file or it's still the old value?
Left4Boy 2 Jun, 2024 @ 11:16pm 
btw for !l4f pcvar... I tried to restart a game as instruction. but those two cvar still not loaded... witch still pounce survivor with 100 hp even kills them in expert...
Left4Boy 2 Jun, 2024 @ 11:16pm 
@smilzo thank you for the updates...unfortunatelty this updates not fix my issue about z_witch_damage 25 and z_witch_always_kills 0. those two cvar not loaded..whatever in my txt file or in game with !l4f pcvar...even no error massage appeared.
smilzo  [author] 24 May, 2024 @ 10:32am 
yeah sorry, that is a bug. It will be fixed with the next version.
Left4Boy 24 May, 2024 @ 10:19am 
I tried to load cvar in game too..but in console appear error massage like this:

AN ERROR HAS OCCURED [the index 'key' does not exist]

CALLSTACK
*FUNCTION [unknown()] scripts/vscripts/left4lib_hooks.nut line [385]

LOCALS
[exception] "wrong number of parameters"
[command] "pcvar"
[handler] "l4f"
[args] ARRAY
[text] "!l4f pcvar z_witch damage 25"
[name] "KokotiamGang: "
[r] NULL
[ret] false
[speaker] INSTANCE
[msg] "KokotiamGang: !l4f pcvar z_witch damage 25"
[this] TABLE
Left4Boy 24 May, 2024 @ 10:08am 
@smilzo... I am not loaded during the game...just added it in my txt file...
smilzo  [author] 24 May, 2024 @ 9:27am 
mod files are loaded at the beginning of each chapter so, if you changed them during the game you must wait until the next chapter or restart the current chapter
Left4Boy 24 May, 2024 @ 9:18am 
Hello @smilzo. btw I Tried to insert cvar in my left 4 fun mods like z_witch_damage 25 and z_witch_always_kills 0 but it doesn't work when game in proccess. witch damage return to 100 and istantly dead when get pouncing by witch. I tried to disable my sourcemods but result is same. even though another cvar works usually.

are some cvar in l4d2 cannot to be loaded in left 4 fun?? or something wrong??
Goggles Paesano 9 Apr, 2024 @ 3:43am 
@gerb

Yes, this mod works if you're hosting using a local server.
No, your friends do not need this mod or configuration files. The mod would be running on your local server. They are just clients.

This has been my experience as I host local server games with friends all the time.
gerb 9 Apr, 2024 @ 1:15am 
yo, sorry if you've answered this somewhere already. but I wanted to ask how this mod works if Im just hosting through 'Play with Friends' and using local server? I assume my friends would need this mod and the Lib, but would they need to add my custom text file/mod to their files?
Forixiom 8 Apr, 2024 @ 5:28pm 
The only command that seems to work is the crawling one, the rest can only be activated via !l4f cvar.
Forixiom 8 Apr, 2024 @ 5:03pm 
Right now the pcvar command is not working, it does not save the commands nor does it even apply them.
Xerberus 12 Mar, 2024 @ 7:50am 
Hey, sorry if this has been asked before. I'm playing on VR and would like to just auto upgrade all weapons to have laser sights from the start, and just replace all instances of laser sight spawns with explosive/incendiary ammo.

I saw "upgrade_spawns" over in the secret CVARS section, and would like to use it. Unfortunately I'm nowhere near literate enough to even know how to begin. Could anyone help me?
vzk ✰ 11 Mar, 2024 @ 11:39am 
unfortunate, but alright ig
smilzo  [author] 11 Mar, 2024 @ 12:43am 
@✫ kzv i noticed that too but it's something happened very recently. I cannot 100% exclude it's one of my latest update but i'm pretty sure it started later. Apparently the .txt files are saved with a different encoding than UTF8 which makes windows notepad not read them correctly, but more advanced editors like notepad++ read them no problem. It is possible that the latest game patch added this issue but i can't confirm this, so there is nothing i can do other than suggest you to use another text editor.
vzk ✰ 10 Mar, 2024 @ 1:46pm 
yes, im opening it with windows notepad.
smilzo  [author] 10 Mar, 2024 @ 1:57am 
@✫ kzv Are you opening it with windows notepad?
vzk ✰ 9 Mar, 2024 @ 11:55am 
why does host_settings.txt only say "摡業彮楨瑮彳敬敶‽ര愊睬祡彳楷‽ള戊瑯晟楲湥汤晹物彥慤慭敧慦瑣牯㴠ㄠ਍潧彤湯牟癥癩⁥‽ര朊摯潭敤㴠㌠਍潬汧癥汥㴠㌠਍㙭弰楦⁸‽റ洊摯㴠∠潮敮ഢ瀊捩畫彰扯敪瑣⁳‽ര爊汥慯彤楦⁸‽ര琊潲汬摟浡条晥捡潴⁲‽⸱5" i've tried deleting the file already but it just reset back to that, what happened?
smilzo  [author] 3 Mar, 2024 @ 3:55am 
Yep. For example: bind F4 "scripted_user_func l4f,incap,nick"
장예은 2 Mar, 2024 @ 4:06pm 
syntax for binding one way is: bind <key> "command"
Goggles Paesano 30 Jan, 2024 @ 1:20pm 
Can I bind left4fun commands to a key and execute them without having to type them into a chat window? If so, what is the procedure?
smilzo  [author] 27 Dec, 2023 @ 2:04am 
@SolarFlora the file must be with .txt extension, i don't know how it is working without. Did you put it in the correct folder? It's "left4dead2\ems\left4fun\mods". And what you type to set the mod? The command should be: !l4f settings mod cool
SolarFlora 26 Dec, 2023 @ 11:47am 
Actually wait I think I got it working. The issue was that I had “.txt” in the file name. Originally I had it “cool_coop.txt” and in the mod folder. I changed the name to “cool_coop” and now it seems to be working. Posting this also incase anyone runs into a similar issue
SolarFlora 26 Dec, 2023 @ 11:37am 
The file name I got is “cool_coop.txt” and I have it sitting in the mods folder in left4fun but I still get that error message. I tried restarting in console after inputting the original command ignoring the error but yeah none of the mods in the textfile are “turned on” I notice even after a restart.
smilzo  [author] 24 Dec, 2023 @ 4:49am 
@SolarFlora as the error says the typed mod file was not found. What is the name you typed?