Left 4 Dead 2

Left 4 Dead 2

Your own custom apocalypse
Discover and download new maps, Add-ons, Mutations and more! Want to try your hand at modding or want to upload your mod to Steam?
Learn More
how do i make a ammo mod?
i want to make a mod but idw
pis halp:steamsad:
Last edited by Bonkguy; 25 Jan @ 4:32am
< >
Showing 1-9 of 9 comments
If you just want to modify ammo of each gun, you can use cvars instead.
Bonkguy 25 Jan @ 5:44am 
whats cvars?
Here: https://developer.valvesoftware.com/wiki/List_of_Left_4_Dead_2_console_commands_and_variables

Search "ammo_m60_max" there, & you'll find list of other ammo cvars for other weapons.
Jo 263 25 Jan @ 6:50am 
Originally posted by Bonkguy:
whats cvars?
sv_cheats is a cvar
Bonkguy 25 Jan @ 6:51am 
yes
Bonkguy 25 Jan @ 6:52am 
but do i relase mods?
Bonkguy 25 Jan @ 6:53am 
for the workshop?
It's up to you. You can release it & set it to "private" or "unlisted" if you just want to use it for yourself. Or just make it & put in "addons" folder without uploading if you want to use it as a local mod. You can list all cvars on "director_base_addon.nut", like this:
Convars.SetValue("ammo_m60_max", 600); Convars.SetValue("ammo_smg_max", 900);
Last edited by kurochama; 25 Jan @ 7:16am
Bonkguy 25 Jan @ 7:43am 
ty kuro and jo
< >
Showing 1-9 of 9 comments
Per page: 1530 50