Garry's Mod

Garry's Mod

35 个评价
Fair Fight 2.0
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐
文件大小
发表于
更新日期
7.018 KB
2024 年 8 月 23 日 下午 9:17
1 月 28 日 上午 4:56
6 项改动说明 ( 查看 )

订阅以下载
Fair Fight 2.0

描述
Fair Fight 2.0
This mod allows armored NPCs to be hurt with bullets, thats pretty much it. Striders, Hunter Choppers, Gunships, APCs, Turrets, Rollermines. It's also highly customizable, allowing you to make different enemies take different amounts of damage, though default settings are plenty fair.

==Convars==
Armor Convars - These set the armor of every NPC, basically dividing the damage by this number on all of them but the helicopter. The helicopter is a bit weird on how much damage it takes, and I'm not gonna pretend to have done testing to figure it out, so just be careful with that variable.

Setting any of these to 0 will make the mod stop applying to that NPC.

fairfight_strider_armor
fairfight_rollermine_armor
fairfight_rollermine_health - Needed because rollermines don't have health.
fairfight_apc_armor
fairfight_helicopter_armor
fairfight_gunship_armor

Damage Convars- These two things were part of the code of the OG addon and I didn't agree with them, but left these convars for people to change if they like.

fairfight_damage_chance - Number between 0-1 that sets the chance the NPC takes damage. If less than one, some attacks won't effect the NPCs
fairfight_damage_minimum - This is to account for "small arms fire" of sorts. If you do less damage than this with your attack, it won't actually do damage.

Other Convars:
fairfight_magnusson_fix - The magnusson device uses a bit of a hack so if you notice weird behavior and don't intend to use them then disabling this might help.

==Potential Questions==
Q: Why doesn't this effect the dropship?
A: To be honest the way the code works doesn't work on the dropship for some reason. It won't explode even though it dies, it just kinda flops around the map like crazy with no gravity. It was funny to see but wasn't the intended effect. Besides, without scripting the dropship doesn't do much, and it still works on the drop pod.

Q: Does this work for [NPC]?
A: If its listed in the variables, then yes. This does not work for workshop NPCs, just the Half Life 2 NPCs.

Q: Why doesn't [Workshop SWEP] work with this?
A: Probably because of something weird with the code on the weapon. This mod should be fully compatible with any weapon that shoots bullets normally. Any custom SWEPs that shoot special bullets won't work.


==Other Things==
Based on this mod:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2590813333
I made this version because I knew how get the air NPCs to take damage, and basically rewrote the whole addon to allow for more customization. It's a sandbox game after all. :)
Map in showcase:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2936813669
17 条留言
apionne 10 月 29 日 上午 2:30 
For some reason killing the floor turrets with knock back will cause it to phase through the floor
Kiddley  [作者] 1 月 28 日 上午 4:59 
@Unami_Fox It should be fixed now, hopefully I've killed of any other addon conflicts with this update but we will see.
Unami Fox 1 月 27 日 下午 11:10 
Also, there are no errors.
Unami Fox 1 月 27 日 下午 11:09 
Whenever you shoot a ragdoll or npc, they do not bleed. This doesn't work with mods like Zippy's Enhanced Blood Splatter System
Kiddley  [作者] 1 月 27 日 下午 1:37 
@Unami_Fox what seems to be the issue? Is there an error being thrown? Are the mods just not functioning? What blood mod are you using?
Unami Fox 1 月 27 日 上午 9:15 
Apparently this mod is incompatable with blood mods or particles
idksomething 2024 年 9 月 26 日 下午 4:42 
i still get the striders die from small arms fire in one shot issue, plz fix
Popper Weyu 2024 年 9 月 21 日 下午 2:41 
OMG Thanks, you really put alot of effort into keeping this functional! Thanks!
Kiddley  [作者] 2024 年 9 月 21 日 下午 2:33 
Okay, added your request and made the strider armor work again. :)
Popper Weyu 2024 年 9 月 21 日 下午 2:20 
I'm sorry if I'm just giving you a lot of extra work heh. But seemingly no matter the armour setting for striders, they can be killed in only three revolver shots.