Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
This addon only works on NPCs that are actively carrying a weapon, so NPCs that don't/can't carry weapons aren't supported.
However my NPC Item Drops addon can do that.
That isn't a feature in the addon, but I can definitely add it in.
That means you have an addon that is replacing the default HL2 ammo entities. If you're using something like Total Replacer to replace the ammo with something else then that is the source of the issue.
Any NPC with a weapon that uses base HL2 ammo should work fine. I haven't tested this with VJ Base but there shouldn't be any problems.
In HL2 only elites drop the AR2 orbs
There's an option in Ammo Drop Settings to make only Combine Soldiers drop AR2 Orbs. It's under the "Disable AR2 Orb Drops" option.
If the weapons don't have ammo types defined then there's not much I can do. There's no real way to disable it, other than disabling pistol ammo drops (which affects all weapons.) Making a whole system for weapon-specific drops is beyond my capabilities.
It's the Dynamic Weapon Replacer . There's also the Simple Weapon / Item Highlights addon, however it's not the one used in the picture.
In the dropdown menu, select "Custom Entity" (which I assume you have already done).
Write the entity name (not the name shown on the icon) without quotation marks or anything.
To get the entity name, right click the entity you want to use, press "Copy to clipboard", and paste the text you copied into the textbox.
1. v - lua/autorun/npcplayerammodrops.lua:77
2. Run - lua/includes/modules/hook.lua:96
3. unknown - lua/entities/npc_gmodzombie.lua:181
4. FireBullets - [C]:-1
5. ProgressPhysBullet - lua/arccw/shared/sh_physbullet2.lua:404
6. v - lua/arccw/shared/sh_physbullet2.lua:238
7. unknown - lua/includes/modules/hook.lua:96
I was playing with a new addon called PlayerModel Zombies | The Beauty of Annihilation.
1. v - lua/autorun/npcplayerammodrops.lua:297
2. unknown - lua/includes/modules/hook.lua:96
While I suicide by typing "kill" on console, some Lua errors appeared like this.
That's all I needed, I know what the problem is now. Expect a fix in a few minutes.
Way way better. But I can't change the miserable shitty fact I am alive so, here's this information you wanted.
1. v - lua/autorun/npcplayerammodrops.lua:53
2. unknown - lua/includes/modules/hook.lua:96
3. TakeDamageInfo - [C]:-1
4. unknown - lua/weapons/tf_weapon_club.lua:15
(B.) [NPCs / Players drop ammo on death] lua/autorun/npcplayerammodrops.lua:53: attempt to index a nil value
1. v - lua/autorun/npcplayerammodrops.lua:53
2. unknown - lua/includes/modules/hook.lua:96
3. TakeDamageInfo - [C]:-1
4. unknown - lua/autorun/bsmod_killmove.lua:763
(C.) [NPCs / Players drop ammo on death] lua/autorun/npcplayerammodrops.lua:53: attempt to index a nil value
1. v - lua/autorun/npcplayerammodrops.lua:53
2. unknown - lua/includes/modules/hook.lua:96
3. FireBullets - [C]:-1
4. unknown - lua/weapons/tf_weapon_smg.lua:13
If the addon is shooting out errors then they should be printed in the console. If you can post the error here I can look into the problem.
Sure wish that I could, but all that I did on my end to apparently ruin something was have to change to a different PC. Installed the game on this one and the addon just flat doesn't work at all, no one with or without a gun wants to drop ammunition. Just make errors for the game to bitch about
I'd rather be at the mercy of the map designers for the ammo in my guns than to keep this addon who makes the top left side of my monitor ruin the immersion for me constantly because I killed something. Sorry bro, wish I knew what was wrong with it but I tried with and without all my other addons installed (As is the first thing that any wise Garry's Mod players should do when experiencing technical difficulty) but alas. I make the chad joke in my original comment
Because that is how I felt about the state of the addon, I opened the game and went 'Work, damit'
And your addon just stuck his chin out at me and said, "No."
Could you be more specific? The addon works perfectly fine on my end.
My other addon already performs that exact function, and you can use it alongside this one.
I suppose I could do something like that. It's simple enough as far as I'm concerned.
1. v - lua/autorun/tryingtofixarccw.lua:63
2. unknown - lua/includes/modules/hook.lua:96
3. FireBullets - [C]:-1
4. Bullets - lua/weapons/mg_base/modules/shared/sh_primaryattack_behaviour.lua:287
5. func - lua/weapons/mg_base/init.lua:75
6. unknown - lua/includes/extensions/net.lua:33