Garry's Mod

Garry's Mod

306 értékelés
Universal Ammo 2.0!
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
Fájlméret:
Közzétéve:
Frissítve:
294.185 KB
2017. márc. 28., 5:36
2021. aug. 19., 10:56
9 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Universal Ammo 2.0!

Leírás
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
Népszerű témák Összes megnézése (1)
6
2021. máj. 22., 23:33
just use givecurrentammo console command
Spooky fucking Killed Ralsei
108 megjegyzés
HypFox 2023. júl. 19., 14:00 
do they work on arccw weapons ?
mastergaming1236 2022. dec. 25., 0:11 
does it support arc
Zak  [készítő] 2022. aug. 30., 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 2022. aug. 30., 8:42 
Added support for this Universal Ammo addon to my Instant Ammo addon https://steamproxy.net/sharedfiles/filedetails/?id=2530699015
Chef Boy RD 2022. aug. 2., 19:18 
Does this work for ttt would love to use it for when me and my friends play.
wispee 2022. ápr. 6., 7:47 
@Zak thank you
Zak  [készítő] 2022. ápr. 6., 4:43 
@wispee Here you go. Didn't realise it wasn't already linked - https://github.com/zakarybk/Universal-Ammo
wispee 2022. ápr. 5., 3:18 
Can you provide a github link?
Or just anywhere else to download the lua files
Zak  [készítő] 2022. febr. 2., 15:30 
@DarkIcy The normal universal ammo worked for me with the linked Modern warfare weapons - but the infinite ammo didn't.
DarkIcy 2022. febr. 1., 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?