Left 4 Dead 2

Left 4 Dead 2

Limited Ammo[Sub weapons]
28 Comments
Everice  [author] 12 Jul @ 11:31am 
In l4d1 you can manually change weapon.txt inside scriots folder(IIRC) open pistol.txt then change ammo_type to something else eg. Autoshotgun which will make weapon pistol have the same ammo as autoshotgun and could make ci stumble just like autoshotgun does
Brazil 12 Jul @ 7:43am 
Is there any way to get this working in left 4 dead 1?
Everice  [author] 6 Jul @ 3:35am 
NetProp is individual entity. I changed weapon pistol NetProp ammo type. And I only set it to apply to unowned pistol(pistol that hasn't been picked up once). There is no way this mod will affect primary weapons. If it does, your problem comes from some weapon mods
Jakiy 6 Jul @ 1:48am 
It affect the primary weapon ammo instead. :steamsad:
Everice  [author] 28 May @ 12:38am 
no. that's the cause why you saw chinese letters instead of en letters. you can now open it with windows notepad
bennobrba22 27 May @ 9:40am 
There was text next to the pistol ammo count that said NUL, but I went and removed that. Is that NUL text necessary for the mod to work?
Everice  [author] 27 May @ 9:33am 
you will need to use better text editor such as notepad++
this has been a problem from windows a long time
bennobrba22 27 May @ 9:27am 
Getting a string of Chinese letters on opening the modsetting.txt file, is this normal?
Everice  [author] 22 May @ 10:22pm 
i can't fix problems that come from another mod. that means my mod works perfectly fine on its own, not a bug from my mod
Faith Over Science 22 May @ 9:24pm 
Bugs:

Crashing and stuttering.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3123223144

Reloading magnum depletes awp/scout ammo if using a custom gun script for them.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3290271877
Faith Over Science 21 May @ 4:58pm 
A feature I'd like to see be added is to notify in chat when low on ammo.
Everice  [author] 16 Mar @ 12:25am 
idk either. like i said before. this mod doesn't have anything to do with hunting rifle ammo. pistol and magnum ammo type aren't hunting rifle .
LrBenjhamin#004 15 Mar @ 10:33pm 
Hello again, I have tried removing absolutely all my mods and even uninstalling the game completely and the problem still persists. I have no idea what it could be.
Everice  [author] 14 Mar @ 12:44am 
@LrBenjhamin#004 that's impossible. the script only target weapon_pistol_magnum. plus there is no script about reducing weapon ammo. each weapon has netprops individually, i only limited the magnum ammo without owner first(before gets picked up) then set its ammo every time when player picks up ammo. more importantly, the ammo type i set to magnum wasn't the hunting rifle

i'm sure your problem comes from other mods
LrBenjhamin#004 13 Mar @ 7:08pm 
There's a problem: when reloading the pistol while equipped with a hunting rifle, it takes the rifle's ammunition.
If you could please fix this,
JCGemX 2 Mar @ 7:27am 
Update:

it does :)
Everice  [author] 27 Feb @ 12:04am 
this mod only changes the ammo type of weapon by using Vscript NetProps. i didn't use any weapon script gun. and my vscript doesn't conflict with any other vscript. unless that mod has copy-paste functions from this mod
Everice  [author] 11 Dec, 2024 @ 4:49am 
yeah it should work with weapon script
Valentinee 11 Dec, 2024 @ 3:06am 
should this work with my other pistol scripts? i want to have realistic pistols with limited ammo at the same time
Everice  [author] 1 Oct, 2024 @ 9:03pm 
no it doesn't
★JΛKΣ★ 1 Oct, 2024 @ 6:36pm 
does it show reserves on the HUD?
Everice  [author] 15 Sep, 2024 @ 8:00pm 
make sire you're playing singleplayer or playing coop with local host server type
LrBenjhamin#004 15 Sep, 2024 @ 3:08pm 
It doesn't work for me, what should I do?
Vyr 3 Aug, 2024 @ 6:30am 
Another great mod from Everice! Thanks :)
AlfredENeuman 1 Aug, 2024 @ 8:21am 
If this works, it is pure genius!
private frankie 31 Jul, 2024 @ 10:22am 
cool
D.Toshimura 26 Jul, 2024 @ 9:35pm 
same as back 4 blood, they just using limited ammo for secondary