Garry's Mod

Garry's Mod

306 betyg
Universal Ammo 2.0!
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
294.185 KB
28 mar, 2017 @ 5:36
19 aug, 2021 @ 10:56
9 ändringsnotiser ( visa )

Abonnera för att ladda ner
Universal Ammo 2.0!

Beskrivning
Having a hard time finding the right ammo for your weapon? Then this is the addon for you!

This allows you to fill up your ammo from just one box! It's perfect for servers with gun packs such as M9K, FA:S and CW2.0. Should also work on any Sandbox based gamemode.

Three ammo types
- Universal Ammo (for primary ammo)
- Universal Secondary Ammo
- Universal Infinite Ammo (held weapon will never run out of ammo)

In-game Config
In the spawn menu under Utilities->Universal Ammo->Ammo, you can configure the amount of ammo the Universal Ammo box will give you based on the ammo type.

DarkRP
Yes this supports DarkRP! All config is done in-game through a special DarkRP tab under Utilities->Universal Ammo which only appears in DarkRP! The ammo nows shows in the F4 menu under the ammo tab in DarkRP!

If you want a custom check, you will need to add the ammo manually to the DarkRP modification master. You can use the below, and edit as normal.
darkrpmodification/lua/darkrp_customthings/ammo.lua
DarkRP.createAmmoType("universal_ammo", { name = "Universal Ammo", model = "models/Items/BoxMRounds.mdl", price = 70, amountGiven = 1 -- allow universal ammo to stack, }) DarkRP.createAmmoType("universal_ammo_secondary", { name = "Universal Secondary Ammo", model = "models/Items/BoxMRounds.mdl", price = 70, amountGiven = 1 -- allow universal ammo to stack, }) DarkRP.createAmmoType("universal_ammo_infinite", { name = "Universal Infinite Ammo", model = "models/Items/BoxMRounds.mdl", price = 700, amountGiven = 1 -- ignored for infinite ammo, })

GitHub
https://github.com/zakarybk/Universal-Ammo
Populära diskussioner Visa alla (1)
6
22 maj, 2021 @ 23:33
just use givecurrentammo console command
Spooky fucking Killed Ralsei
108 kommentarer
HypFox 19 jul, 2023 @ 14:00 
do they work on arccw weapons ?
mastergaming1236 25 dec, 2022 @ 0:11 
does it support arc
Zak  [skapare] 30 aug, 2022 @ 12:41 
@TheCatGuy Awesome! sorry that it must have been awkward to add support for it as I hadn't ever expected it to be adapted like this. Nice work though!

I noticed that my code is copyright protected since I never added a license. I've added MIT now.
ThatCatGuy 30 aug, 2022 @ 8:42 
Added support for this Universal Ammo addon to my Instant Ammo addon https://steamproxy.net/sharedfiles/filedetails/?id=2530699015
Chef Boy RD 2 aug, 2022 @ 19:18 
Does this work for ttt would love to use it for when me and my friends play.
wispee 6 apr, 2022 @ 7:47 
@Zak thank you
Zak  [skapare] 6 apr, 2022 @ 4:43 
@wispee Here you go. Didn't realise it wasn't already linked - https://github.com/zakarybk/Universal-Ammo
wispee 5 apr, 2022 @ 3:18 
Can you provide a github link?
Or just anywhere else to download the lua files
Zak  [skapare] 2 feb, 2022 @ 15:30 
@DarkIcy The normal universal ammo worked for me with the linked Modern warfare weapons - but the infinite ammo didn't.
DarkIcy 1 feb, 2022 @ 14:17 
Hey @Zak can You support This https://steamproxy.net/sharedfiles/filedetails/?id=2459720887 .Universal Ammo Won't work on Modern warfare weapons Can you Fix That?