Garry's Mod

Garry's Mod

Dynamic Resupply Entity
44 条留言
Nasty Ned  [作者] 2021 年 7 月 7 日 下午 10:18 
No harm done! And thank you.
miltank 2021 年 7 月 7 日 下午 9:31 
yeah I used it and found that out :P
I wasn't paying attention and miss read the description

keep up the good work
Nasty Ned  [作者] 2021 年 7 月 7 日 下午 9:03 
It will only supply the held weapon. I can't justifiably make an addon that reads every possible ammotype a player could use in any case. I'm just not that good at Lua.
miltank 2021 年 7 月 7 日 下午 8:19 
could you make a setting so you can choose between resupplying held weapon and all weapons
if not that's fine as well
for me filling a health swep's ammo isn't vary challenging :P (just seeing how long I can survive)
Nasty Ned  [作者] 2021 年 3 月 24 日 上午 11:10 
All right. Lemme know if you run into any other issues.
Splyntas 2021 年 3 月 24 日 上午 10:51 
Thanks for the quick response, it works just fine now.
Nasty Ned  [作者] 2021 年 3 月 24 日 上午 10:21 
Okay, I've done a little research. Looks like I was originally doing testing with Zombie Extinguisher's Equipped Weapon Addon, which means this mod apparently requires that!

I've added it to required items. It should work just fine as long as that's installed.
Splyntas 2021 年 3 月 24 日 上午 6:28 
There's some kind of error when I use it:

[Dynamic Resupply Entity] lua/entities/loot_ammo/shared.lua:110: attempt to index global 'weapon' (a nil value)
1. unknown - lua/entities/loot_ammo/shared.lua:110

It doesn't give me any ammo, just an error message. Disabled all other addons, tried with HL2 Pistol. Pretty neat it's an actual physical prop now, though.
Nasty Ned  [作者] 2021 年 3 月 23 日 下午 8:20 
All that bluster about not being the person to ask about updating this addon, and there I go, just... doing all of that stuff I said I wouldn't.

Does this mean that I was lazy, or that I was just a hypocrite?
Why not both?

In all seriousness, hope you all enjoy the update.
Niko 2021 年 1 月 14 日 下午 8:46 
I hope theres a rare chance for a cat to come out of the ammo box and kill a citizen and then a message in the chat says 'Cat has been banned for RDM'
Nasty Ned  [作者] 2021 年 1 月 14 日 下午 8:43 
I did. With extensive help, but ye, it's mine.
Niko 2021 年 1 月 14 日 上午 4:32 
hang on a small minute I had no idea you made this lmao
Nasty Ned  [作者] 2020 年 2 月 1 日 下午 6:06 
Probably.
The Darkened Soul 2020 年 2 月 1 日 下午 5:37 
Damn bro. Sounds like that'd be more trouble than it's worth, honestly.
Nasty Ned  [作者] 2020 年 2 月 1 日 下午 1:16 
I made this addon back in 2015. I barely understood Lua at the time, and had to get help from Zombie Extinguisher for it. I've forgotten everything he showed me since then, and I don't have the files anymore. So, I'm probably the least equipped person to ask about this.

If you want a fully physics-based entity you can weld and stuff, I think the thing to do is get someone to remake the addon from the ground up.
The Darkened Soul 2020 年 2 月 1 日 上午 7:35 
Damn.
Nasty Ned  [作者] 2020 年 1 月 30 日 下午 7:18 
Not with my lua knowledge, unfortunately.
The Darkened Soul 2020 年 1 月 30 日 上午 7:29 
Any way to make an ammo box version of this that can be welded onto vehicles and props?

I'd love to make a resupply vehicle.
Nasty Ned  [作者] 2019 年 8 月 25 日 下午 3:08 
Yes, it is. Basically it's just a box that you can spam E on for free ammo for the gun you have in your hand.
jcb_ 2019 年 8 月 2 日 上午 9:26 
So this is kind of like Universal Ammo?
Tyson Latchford 🎃 2018 年 2 月 13 日 上午 5:43 
really helped thx m8
Tyson Latchford 🎃 2018 年 2 月 13 日 上午 5:42 
sup finally someone made an addon for :gmod:mod where you can resupply that fast
SpecyJ 2018 年 1 月 31 日 上午 12:12 
This looks promising. I have to wonder how this compares to other the other ammo supply addons I've tried. Ones like the V92 Joker Ammo vending machine give 15 rounds each use and offer supplies for secondary ammo such as AR2 combine orbs when holding shift. Any features other than adaptable ammo I should know about?
Ryuko 2017 年 3 月 4 日 上午 5:54 
Thank you so much!
Lil Boat 2016 年 8 月 28 日 上午 11:37 
You don't know how many times this has saved my life
Mr Mage 2016 年 6 月 25 日 下午 9:17 
12/10 that's all I can say
Kaiser_Of_Aldi 2016 年 3 月 22 日 下午 1:10 
yees yees indeed >:)
Dain5000 2016 年 3 月 9 日 上午 3:25 
yes i can make a camping spot in sandbox
Kaiser_Of_Aldi 2016 年 1 月 2 日 上午 6:14 
exeedingly useful for CW2.0 weps that come with piddley ammounts of ammo
Riskavich99 2015 年 12 月 5 日 上午 8:56 
This is really cool. Now I finally have a way to resupply my custom weapons. :)
Nasty Ned  [作者] 2015 年 9 月 8 日 上午 7:36 
I know what you mean. Though functionally, it's less like ammo drops and more like the ammo bag deployables, just with an unlimited number of uses.
Samuel Sand-ass Rash-hole 2015 年 9 月 8 日 上午 2:08 
This reminds me of the little ammo drops from Payday 2
Nasty Ned  [作者] 2015 年 9 月 3 日 上午 10:12 
Yeah. I liked the concept of the ammo crates from CW2.0 and FA:S2, in that they would resupply whatever gun you had, but I wasn't fond of the fact that they would disappear after a given number of resupplies. Which is why I made this.
Cédric GÉRILLE [GiletJaune] 2015 年 9 月 2 日 下午 9:46 
It's sort of an ammo crate finally. :-P
Sam S. Shadowfall 2015 年 9 月 2 日 下午 9:34 
and that you said that you are gonna be spammed with "make a command so I can change the min and max" XD
Sam S. Shadowfall 2015 年 9 月 2 日 下午 9:33 
lol ohh you broke my dream of being desperate for ammo and getting only one bullet D;
Nasty Ned  [作者] 2015 年 9 月 2 日 下午 9:18 
It gives a minimum of 10 bullets, and a maximum of 35. This way, you at least get enough ammo to pull off a desperate kill with most weapons.
Sam S. Shadowfall 2015 年 9 月 2 日 下午 8:58 
ammo wut I meant bullet XD
Sam S. Shadowfall 2015 年 9 月 2 日 下午 8:55 
lol just though of something if it is random and you need ammo BAD like 0/0 and it gives you 1 ammo how unlucky do you have to be XD
Sam S. Shadowfall 2015 年 9 月 2 日 下午 4:47 
lol me to if I had an addon I would update it once a month XD
Nasty Ned  [作者] 2015 年 9 月 2 日 下午 4:45 
For now I'm content with just giving a random amount of ammo. Honestly, there will always be people that want the mod to be different. Even if I do add +1mag functions to it, then people are going to want console commands for how many mags you get, and so on and so forth. Just having a simple random amount given is good enough for me. And I don't often have much time to update my stuff anyway, since I'm a lazy little SOB.
Sam S. Shadowfall 2015 年 9 月 2 日 下午 4:36 
hmm I was looking for something like this (except it was a tool) but I guess this will work

also (PPI) how do you expect that to work with the CW 2.0's mag system?
169PD 2015 年 9 月 1 日 下午 12:06 
I think it would be best if this thing gave an amount of ammo that is relative to the clip size of the weapon in the player's hands. (I.E. a weapon with a 30 round clip would receive enough ammo for one clip) Just a suggestion.
Nasty Ned  [作者] 2015 年 8 月 31 日 下午 3:49 
FA:S2 has some entities that work just like this, but they have a limited supply. It even has a SWEP that lets you throw small ammo boxes.