Garry's Mod

Garry's Mod

244 个评价
NPCs / Players drop ammo on death
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 写实
文件大小
发表于
更新日期
28.610 KB
2019 年 7 月 5 日 上午 10:03
6 月 22 日 上午 12:31
35 项改动说明 ( 查看 )

订阅以下载
NPCs / Players drop ammo on death

描述
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.
热门讨论 查看全部(1)
0
2019 年 8 月 5 日 上午 6:46
置顶: Incase you want to create your own version
Sergeant Pan
79 条留言
pavane 6 月 30 日 上午 6:31 
im having a bug where combines would drop health vials for no reason when my hp isn't at 100
Nerfentity 6 月 21 日 下午 1:21 
Is there a way to make it so that they don't drop grenades?
Smytsidian 5 月 16 日 上午 10:18 
For some reason I'm having a weird thing happen to me where the combine NPCs with ar2s drop magnum ammo instead of ar2 ammo.
Sergeant Pan  [作者] 2 月 17 日 上午 11:39 
@Ori

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.
Ori 2 月 17 日 上午 10:41 
How do i make zombies drop ammo too?
Meen And Grean 2024 年 10 月 17 日 上午 11:17 
I've been looking for an addon like this for a long time that just gets rid of enemy drops. I like playing on maps that spawn lots of NPCs and I don't want their drops making my game lag, and this handles that perfectly. The only thing that's missing now is preventing them from dropping grenades, health, and batteries but other than that, it's perfect.
seabazian 2024 年 9 月 22 日 下午 1:21 
thanks for this, creator
Jaden The Gundragon 2024 年 8 月 7 日 上午 3:36 
I just saw the update, and i was like “holy crap! I made that happen! I made a difference!”
Jaden The Gundragon 2024 年 8 月 7 日 上午 2:00 
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  [作者] 2024 年 8 月 7 日 上午 12:40 
@Jaden The Gundragon

That isn't a feature in the addon, but I can definitely add it in.