Garry's Mod

Garry's Mod

2,157 ratings
Anti-FriendlyFire (NPC)
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
3.221 KB
5 Dec, 2014 @ 12:14pm
14 May, 2016 @ 4:35am
7 Change Notes ( view )

Subscribe to download
Anti-FriendlyFire (NPC)

In 1 collection by LibertyForce
Horror- & Story-Map Enhancements (Single- and Multiplayer Tools)
6 items
Description
This mod allows you to turn off Friendly Fire towards and between NPCs.

http://steamproxy.com/sharedfiles/filedetails/?id=933160196

If you where ever annoyed by your allies killing each other in friendly fire, which made large NPC battle pretty much useless, then you have just found the solution!


Features:
  • You will no longer hurt your allied NPCs.
  • NPC's no longer hurt allied NPCs.
  • Fully compatible with tools or maps that change your relationships
  • Works with (almost) all SWEPs (please see FAQs below).
  • Works with most SNPCs.
  • All settings can be individually toggled.
  • New: Option for invincible allies


Settings:

All settings can be individually changed and are now available in your spawnmenu under:
Options -> NPCs -> Anti-FriendlyFire


Click here for a list of console commands


Recommended addons:
  • NPC Tools: Allows you to change your relationships with any NPC.
  • gm_zombie_survival: Nice Zombie survial map to test Anti-FriendlyFire. See how your Combine allies become more useful.
  • NPC Weapon pack 2: Since your allies no longer kill each other, you can now give them some heavier weapons.


FAQs:
  • Does this work in Multiplayer?
    Yes it does. Please note that it needs to be installed server-side and settings can only be applied to all players globally. Also note, that this wasn't tested on a dedicated server with many players.
  • My awesome new weapon still kills friendly NPCs! Btw. it can also kill this.
    This will not work with Super Weapons which just delete the NPC entity and / or call the die / dissolve animation directly without any damage calculation at all. Basically all weapons that just instant kill, even if the NPC has 999999 health.


Please report any errors that occur.


More stuff:


Source code now available here.[github.com]


Tags: npc friendly fire friendlyfire friend partner squad unit battle fight nice shoot kill hurt damage destruction invincible immortal god godmode weapon bullet physic single player singleplayer fraction half life settings
Popular Discussions View All (7)
2
2 Oct, 2015 @ 7:43am
Found a bug
Sgt. "Shifty" Powers
2
5 Aug, 2015 @ 12:39pm
You need to be a super admin?
Timmy
0
24 Sep, 2023 @ 11:36pm
Can you guys give some conflicting mods?
Andrew
187 Comments
Wendibro 17 Nov @ 3:07am 
Adding quotes that explain what options do/mean?
10/10
CatNap #SaveTF2 #FixTF2 7 Nov @ 5:22am 
Add Nextbot Support
spyro the dragon 14 Oct @ 6:01am 
npcs dead to manhacks even tho it the dont kill still on
2homezz 14 Oct @ 1:52am 
how do you make combine friendly to you, rebels hostile to you, citizens scared to you
17th21stlancers 7 Oct @ 9:41am 
drg npcs still friendly fire
toddweist 14 Sep @ 12:31pm 
any way to keep citizens and cp's from being hostile to eachother
Trigun 8 Sep @ 1:33am 
friendly fire
antonio.lianes 25 Jun @ 11:40am 
is not working for me
SharkOfTheDead 9 Jun @ 6:05am 
Not sure what mod its conflicting with or if its conflicting, but I have anti friendly fire enabled, yet my allies are still killing each other, mainly it happens with the VJ base NPCs.
ПΛПО Dragoon 5 Apr @ 8:12am 
@blobfish this mod stops rebels from killing rebels and combine from killing combine. Not each other