Garry's Mod
Dynamic Resupply Entity
44 件のコメント
Nasty Ned  [作成者] 2021年7月7日 22時18分 
No harm done! And thank you.
miltank 2021年7月7日 21時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日 21時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日 20時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日 20時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日 20時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日 20時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日 18時06分 
Probably.
The Darkened Soul 2020年2月1日 17時37分 
Damn bro. Sounds like that'd be more trouble than it's worth, honestly.
Nasty Ned  [作成者] 2020年2月1日 13時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日 19時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日 15時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日 0時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日 21時17分 
12/10 that's all I can say
Kaiser_Of_Aldi 2016年3月22日 13時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日 21時46分 
It's sort of an ammo crate finally. :-P
Sam S. Shadowfall 2015年9月2日 21時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日 21時33分 
lol ohh you broke my dream of being desperate for ammo and getting only one bullet D;
Nasty Ned  [作成者] 2015年9月2日 21時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日 20時58分 
ammo wut I meant bullet XD
Sam S. Shadowfall 2015年9月2日 20時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日 16時47分 
lol me to if I had an addon I would update it once a month XD
Nasty Ned  [作成者] 2015年9月2日 16時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日 16時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日 15時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.