Garry's Mod

Garry's Mod

34 ratings
Fair Fight 2.0
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
7.018 KB
23 Aug, 2024 @ 9:17pm
28 Jan @ 4:56am
6 Change Notes ( view )

Subscribe to download
Fair Fight 2.0

Description
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://steamhost.cn/steamcommunity_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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2936813669
16 Comments
Kiddley  [author] 28 Jan @ 4:59am 
@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 27 Jan @ 11:10pm 
Also, there are no errors.
Unami Fox 27 Jan @ 11:09pm 
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  [author] 27 Jan @ 1:37pm 
@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 27 Jan @ 9:15am 
Apparently this mod is incompatable with blood mods or particles
idksomething 26 Sep, 2024 @ 4:42pm 
i still get the striders die from small arms fire in one shot issue, plz fix
Popper Weyu 21 Sep, 2024 @ 2:41pm 
OMG Thanks, you really put alot of effort into keeping this functional! Thanks!
Kiddley  [author] 21 Sep, 2024 @ 2:33pm 
Okay, added your request and made the strider armor work again. :)
Popper Weyu 21 Sep, 2024 @ 2:20pm 
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.
Popper Weyu 21 Sep, 2024 @ 2:01pm 
Yahoo! Thanks a ton. BTW, is there a variable to configure if turrets can be killed?