Garry's Mod

Garry's Mod

Unlimited Reserve Pistol Ammo
19 kommentarer
Purplexion 27. nov. 2024 kl. 7:00 
Wait, what does setting sk_max_pistol to -2 do?
MarthaSoulbane 17. juli 2024 kl. 10:48 
givecurrentammo
Samcity 27. juni 2024 kl. 11:15 
yeah, can do. but dont get me wrong i do appreciate your work all the same!
Coffee Man  [ophavsmand] 26. juni 2024 kl. 11:29 
You can alternatively just use sk_max_pistol -2 and not use the addon at all.
Samcity 26. juni 2024 kl. 9:00 
is it just me or are the half-life 2 crates mainly prioritising pistol ammo with this enabled? like, the game thinks im critically low with 100 in reserve and is really trying to compensate. i love the concept especially with the half-life 2 gmod creature of a campaign ive dr. frankenstein'd together, its actually a godsend with how the balancing has been thrown out of wack, npcs doing equal damage, arc9, its almost like the balancing was designed to not be touched lol. but i cant use it because of the infinite pistol ammo the crates are offering and with bodylooting being a last resort sort of thing im getting no ammo for anything else at the mo'. might i request the ammo reserve be a cvar we can change for this matter? 100 bullets is the magic number to the eye but to the game its a panic
Ty4a 20. maj 2024 kl. 12:17 
Create a script through which Rebels can throw grenades :steamsad:
Le Say Gex Lamb 16. maj 2024 kl. 11:57 
Magnum ammo next?
Nasty Ned 15. maj 2024 kl. 10:51 
@Coffee Man
Yeah, I was mostly making an observation more than anything. When I made my unlimited pistol ammo script in 2014 it was like ten lines of code and it still works, so I was pleasantly surprised to see that someone else actually took the few minutes to make something like it. You'd think more people would bother lol
Coffee Man  [ophavsmand] 14. maj 2024 kl. 0:31 
@V92
Thank you. That guide will be mighty handy.

@Buckash105
When possible, I always try to script something that I'll use in my game experience myself, rather than get it from other people. It's mostly for optimization reasons so I can run as little code as possible and also so I can easily alter the code later myself if I need to change something.
Nasty Ned 13. maj 2024 kl. 21:08 
it took 10 years for someone else to make another one of these
V92 13. maj 2024 kl. 18:39 
@coffee man

Weirdest thing about it is that -2 gives it unlimited capacity, but -1 doesn't do anything.
Valve buried a lot of weird stuff in the HL2 cvars like monk_headshot_freq and r_newflashlight .

I wrote a guide on a bunch of them. You might find some of them useful. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2598659064
KannedKielbasa 13. maj 2024 kl. 13:26 
Any chance you could make a script that force removes other addons hints and this hazardous neurotoxin cure-thing from the HEV suit?
Newman 12. maj 2024 kl. 6:37 
you should play metal slug
Insomnia 11. maj 2024 kl. 23:15 
You like infinite pistol reserve? You should try a game called Guns, Gore and Cannoli. Pretty fun. Feels like Metal Slug, said by someone who never played Metal Slug.
Saw 11. maj 2024 kl. 6:41 
can you make a version of it but working on all ranged weapons please so I can get a tonzillion rockets in my rocket launcher?
Coffee Man  [ophavsmand] 11. maj 2024 kl. 4:27 
Oh, I didn't know that. Apparently it forces the reserve ammo to 999.

For aesthetic purposes though, I feel like having a constant 100 ( or the pistol's max clip size as shown here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3244223840 ) creates much better and cleaner HUD visuals rather than having 999.

Then again, ideally I'd either have a ∞ symbol shown or no reserve ammo shown at all, but I haven't figured out how to pull that off yet.
V92 10. maj 2024 kl. 22:32 
Could also just use the console command sk_max_pistol -2 which gives the pistol ammo unlimited reserves.
The Party Man 10. maj 2024 kl. 17:29 
bro think he doom (2016) 😭
soggy sock 10. maj 2024 kl. 15:20 
bro think he l4d2 😭