Garry's Mod
219 valoraciones
NPCs / Players drop ammo on death
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
Tamaño
Publicado el
Actualizado el
28.112 KB
5 JUL 2019 a las 10:03 a. m.
7 AGO a las 1:10 a. m.
33 notas sobre cambios ( ver )

Suscríbete para descargar
NPCs / Players drop ammo on death

Descripción
Console Commands

ChanceOfAmmo Chance of ammo drops. ( Default is 100, value determines chances. 50 = 50% chance etc. Affects both NPC and player chances. )

NPCDropAmmo Should NPCs drop ammo. ( 1 = Yes 0 = No. Default is 1 )

NPCDropAltAmmo Should NPCs drop secondary ammo. ( 1 = Yes 0 = No. Default is 1 )

PlayerDropAmmo Should Players drop ammo. ( 1 = Yes 0 = No. Default is 1 )

PlayerDropAltAmmo Should Players drop secondary ammo. ( 1 = Yes 0 = No. Default is 1 )

DisableNPCWeaponDrop Prevent NPC's from dropping their weapons. ( 2 = Chance Based 1 = Yes 0 = No. Default is 0 )

NPCWeaponDropChance Chance for NPC's to drop their weapon. Requires DisableNPCWeaponDrop to be set to 2. ( Percentage value. Default is 100 )

These options and more can be found under the 'NPC Drops' tab under settings.

What does it do?

When an NPC is killed, they will drop ammo depending on the options chosen by the player. Ammo types are based on HL2 ammo types (Pistol ammo, 357 ammo, SMG1 ammo etc.)

To modify these options, use the Ammo Drop Settings menu found under the NPC Drops tab.

If you are using ArcCW's "Replace default HL2 entities" command, this addon will automatically convert to ArcCW's custom ammo entities.
Discusiones populares Ver todo (1)
0
5 AGO 2019 a las 6:46 a. m.
FIJO: Incase you want to create your own version
Sergeant Pan
72 comentarios
Jaden The Gundragon 7 AGO a las 3:36 a. m. 
I just saw the update, and i was like “holy crap! I made that happen! I made a difference!”
Jaden The Gundragon 7 AGO a las 2:00 a. m. 
oh please do, it gives your addon a borderlands kinda vibe when it plays in conjunction to the Dynamic Entity Replacer mod that you would have to download from a link in the take and hold map
Sergeant Pan  [autor] 7 AGO a las 12:40 a. m. 
@Jaden The Gundragon

That isn't a feature in the addon, but I can definitely add it in.
Jaden The Gundragon 7 AGO a las 12:26 a. m. 
hey, can you help me figure out a way to use your addon to have npcs have a CHANCE to drop a weapon?
Sergeant Pan  [autor] 6 ENE a las 11:04 p. m. 
@WolfOS

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.
M. Winters 6 ENE a las 3:16 p. m. 
There's a weird bug with this addon, im not sure what exact concoction causes it to occur, but anytime i kill an enemy, some random spot on the map will eject a stack of ammo, typically of every single ammo type to exist in base game Half Life 2.
Sergeant Pan  [autor] 31 DIC 2023 a las 11:40 a. m. 
@Th3TopMuglet

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.
Th3TopMuglet 31 DIC 2023 a las 9:58 a. m. 
does this work on VJ base npcs
Rawknee1001 16 OCT 2023 a las 8:54 a. m. 
Yes but that applies to all combine soldiers, not just the elites.
In HL2 only elites drop the AR2 orbs
Sergeant Pan  [autor] 15 OCT 2023 a las 11:54 p. m. 
@Ronnie1001

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.