Garry's Mod

Garry's Mod

Simple ammo limitations [DEPRECATED, READ DESCRIPTION]
124 条留言
Vidgamenut 7 月 13 日 上午 10:44 
marlboro 4 月 1 日 上午 11:05 
this addon no longer works, unfortunately.
Ori 3 月 27 日 上午 4:14 
I thought this mod would provide an option to set limit to "SLAM" ammo type since you can't do so in the game. In future update perhaps?
Hispanic @ The Disco 2024 年 9 月 2 日 上午 9:07 
The mod author talks about the console commands and cfg files being more efficient at editing ammo limits but in all honesty I found this mod to be working flawlessly without much issue. An update would be nice but really what is there to update besides maybe some optimization here and there?
Bonuts_Goood 2024 年 6 月 28 日 上午 4:59 
NICE now I can start with 0 ammo! Thats all I ever wanted!
Nasty Ned 2024 年 4 月 11 日 上午 8:48 
I've discovered that Gmod's console commands for ammo limitaitons don't actually save, so you have to set them every single time you boot the game. So this addon still has a lot of utility.
guy 2023 年 12 月 10 日 下午 9:37 
i got this because i had 18 rockets for no reason
Orion 2023 年 11 月 9 日 上午 6:54 
I hope you do remake this addon, the commands don't save, the cfg doesn't seem to work, not even setting the launch options work. It really fraggin' sucks.
Crigence 2023 年 11 月 4 日 下午 7:43 
I still like this add-on. It's useful for collections in-which asking the player to manually set realistic ammo limits is a big ask. I think that if there was an alternate version that just had realistic defaults and was basically just a front-end for Garry's Mod's ammo settings then it would be perfect
Democratic Ice Noodle 2023 年 11 月 1 日 上午 11:01 
I do know the problem with the console ammo types is some common ammo types like any of the sniper ammo types do not have a command attached to them.
Speedy Von Gofast  [作者] 2023 年 11 月 1 日 上午 8:52 
Also bear in mind that Gmod now has its own more functionnal ammo limitation that actually prevent ammo from being take if you're full.

Enter "gmod_maxammo 0" in the console then you can set individual ammo limit with "sk_max_357" for example.
Speedy Von Gofast  [作者] 2023 年 11 月 1 日 上午 8:49 
I patched this up alongside with a small fix.

But with this mess of codes I made when I was a noob in coding (2016), I will maybe remake this from scratch someday
XResident-2 2023 年 11 月 1 日 上午 4:21 
Does anyone know of an addon like this? Since this no longer works:steamsad:
goobert 2023 年 10 月 27 日 上午 3:04 
yep, addon broke. is a fix in the works? or is this addon considered unsupported now?
XResident-2 2023 年 10 月 26 日 上午 8:50 
Now this thing keeps showing error
[Simple ammo limitations] lua/autorun/ammolimit.lua:47: bad argument #4 to 'CreateConVar' (string expected, got boolean)
1. CreateConVar - [C]:-1
2. unknown - lua/autorun/ammolimit.lua:47
Fenrir 2023 年 10 月 26 日 上午 8:06 
Now this thing keeps showing error
[Simple ammo limitations] lua/autorun/ammolimit.lua:47: bad argument #4 to 'CreateConVar' (string expected, got boolean)
1. CreateConVar - [C]:-1
2. unknown - lua/autorun/ammolimit.lua:47
Vidgamenut 2023 年 9 月 12 日 下午 6:35 
It would be cool if there was a mod that made it so npcs had limited ammo too and when they ran out they would switch to their melee weapon. For example when a combine ran out of ammo, they would pull out a stun baton or a rebel with a crowbar.
ManFr0Mars 2023 年 8 月 30 日 下午 1:22 
You should add support for Half-Life: Source Ammo now That GMod Has Half-Life: Source Weapons
UncleChestnut 2023 年 7 月 28 日 上午 10:12 
Ya'll the addon is old 💀💀💀
Jboy9786 2023 年 7 月 14 日 上午 3:38 
plz, make it so that this works like the default HL2 ammo limit, as in you won't use the pickup entity
Smytsidian 2023 年 6 月 11 日 下午 6:31 
is there a way to fix it
Smytsidian 2023 年 6 月 11 日 下午 6:28 
on this addon: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1124761531 once and a while it flickers from 9999 ammo to my set ammo
Pluck the Dragon 2023 年 5 月 1 日 下午 12:50 
Can we have the ammo limitation for GM Doom?
ballsaSTEEL2001 2023 年 3 月 5 日 上午 9:29 
I would love to see the day that these affect the Quake weapons from those dope addons. God bless you brother
Fvynchynch 2022 年 12 月 16 日 上午 4:24 
I know this hasn't been updated in ages, but I hosted a session with a friend and the ammo limit doesn't work for some reason. Not sure what's going on, probably on my end, but no matter how low or high I set the limits, it doesn't change it from the default HL2 values.
Goat Boy 2022 年 12 月 14 日 上午 1:15 
What happened to the TFA sliders?
LawlenMcVallen 2022 年 10 月 29 日 下午 12:29 
@WolfOS I've actually found a workaround for the latter. (If I read that correctly) when starting a sandbox game, simply set the max ammo value in the setting bellow Start Game to ONE more than whichever is your highest number on this addon. For instance, mine is 450. Ill set my gamemode limit to 451. I'll be able to still pick up ammo however I'll be pinned at 450 for, let's just say, pulse ammo.
⍜. ⊑⏃⌰⌰⍜⍙⏃⊬ 2022 年 10 月 24 日 下午 1:33 
Despite their being better alternatives out there, honestly I have found this add-on to function optimally or meets my needs rather well. Although if there was one thing I would have liked, its probably for a proper max ammo limit where once you find additional ammo, the game either negates you from picking it up or you pick it up but then it deposits it. Although im pretty sure the second part already exists in another addon but I cant remember which..
Talon 2022 年 10 月 15 日 上午 8:16 
Apparently, the 'Ammo Limitation' option in Utilities is missing for me but I'm thankful there are console commands for setting that too.
Talon 2022 年 10 月 15 日 上午 8:07 
Oh, this might be exactly what I want after the Half-Life 2 Settings addon disappeared. :D
Jboy9786 2022 年 9 月 29 日 上午 2:04 
if this addon is still being supported plz make it like the default HL2 ammo limit (basically you won't 'pick up' the ammo entities when you walk into them when you have full ammo of that type)
LawlenMcVallen 2022 年 9 月 14 日 下午 12:28 
@[CORRUPTED PD2 SAVE FILE] If it's custom ammo types you/the owner would have to add them in, if Arccw uses default ammo types them it'll just use the same as HL2
DemoChief 2022 年 8 月 10 日 下午 8:30 
It was working for little bit then just randomly went away and never came back
combine soldier 2022 年 5 月 25 日 上午 3:32 
For me tab is working fine
DemoChief 2022 年 2 月 9 日 下午 7:10 
No tab
Amneiya 2021 年 12 月 13 日 下午 1:19 
no tab?
Bondrewd 2021 年 8 月 11 日 下午 2:08 
the tab is missing. pls fix
Oatmeal D. 2021 年 6 月 28 日 下午 4:34 
The tab are missing at utilities tab, so you have to use the console command
SpartanWar118 2021 年 1 月 31 日 上午 8:10 
The tab for the settings is missing
Smolzilla 2021 年 1 月 14 日 下午 1:38 
SUPER useful! Thank you for making this for us to use! :ChipJoy::lovew:
Yharon 2021 年 1 月 12 日 上午 1:37 
suggestion: manually add new types of ammo limits
i find it a bit annoying that i have a TFA mod that adds another type of ammo not in the list
Fvynchynch 2020 年 12 月 4 日 下午 11:09 
Dude, this is an awesome little addition to GMod! Having the ability to spawn with all the ammo within their limits makes things a little bit easier.

No more having to spam ammo spawns for my .357 guns anymore.
Just As Planned: Nightmare 2020 年 11 月 13 日 下午 5:42 
FA:S weapons would be an awesome addition
LawlenMcVallen 2020 年 11 月 12 日 上午 10:18 
Would you consider adding FA:S 2.0 to that list of planned custom ammo? If not would you be okay giving someone such as myself a quick explanation on how we could add our own? For instance I've used a different CW2.0 base in the past and that's simple to change in the code, but I couldn't figure out how to add another. Given enough time I could probably do it but I also just wanted to say thank you for this addon, it's always been helpful when I've used it.
NICKOLAS78GR 2020 年 11 月 11 日 下午 10:04 
@Destruction my god you are a legend
Taberone 2020 年 10 月 30 日 下午 1:31 
I can't find it under utilities anymore? At least the console still works.
Pray For Glaz 2020 年 10 月 24 日 上午 12:06 
the ammo isn't given to me on spawn anymore
aristo 2020 年 10 月 23 日 上午 11:31 
i got this so i could have to do it like to old days, and consume ammo
Destruction 2020 年 5 月 23 日 下午 12:54 
derp its a value thing not a slider.
Destruction 2020 年 5 月 23 日 下午 12:48 
Recently, I noticed a "Max Ammo" slider when I was gonna start spamming a hundred shotgun shells at zombies. Intrigued, I started giving it random values, which immediately changed how much ammo I could hold. At 0 rounds, I noticed that I had HL2 ammo maximums.

And I never used this addon the whole time. I noticed this addon being a thing AFTER I noticed the slider.