Garry's Mod

Garry's Mod

1,198 ratings
Anti-FriendlyFire (NPC)
   
Award
Favorite
Favorited
Unfavorite
Type: Tool, Addon
File Size
Posted
Updated
0.003 MB
Dec 5, 2014 @ 12:14pm
May 14, 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://steamcommunity.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 (4)
2
Oct 2, 2015 @ 7:43am
Found a bug
Sgt. "Shifty" Powers
2
Aug 5, 2015 @ 12:39pm
You need to be a super admin?
Timmy
0
Nov 24, 2015 @ 7:46pm
Idea for a GMOD Addon: Dynamic Weapon Placement
CyborgParrot™
< >
153 Comments
O5-8: "Молчаливый" May 29 @ 12:31pm 
thx for addon
(Fucking AI >:c )
noodleinctx May 3 @ 5:06pm 
] npc_antiff_npc 0/1 (Default: 1)
Unknown command: npc_antiff_npc
R4veN34 May 3 @ 4:40pm 
is there any way to friend combine soldiers?
Ritalio Apr 21 @ 9:17am 
Any known conflicting addons?
Marlon_1326 Feb 11 @ 2:03pm 
good now i can't hit by the tf2 classes in gmod!
Igori Dec 31, 2019 @ 10:13am 
@-AU- Cloudfucker and i have a hardcore mod dat 3x demage, soo if 1 ally hits me i am ded
Igori Dec 31, 2019 @ 10:12am 
@-AU- Cloudfucker BRU i can't play a war Humans against zombies whit godmode or disable them, soo you are de reason dat him didn't put my request ?
HΞLҬΞR SКΞĿTΞR Dec 23, 2019 @ 6:52pm 
@igori bruh just use godmode or disable in in the context menu
gunboi Oct 21, 2019 @ 5:01am 
yes this is good it not what i was looking for but it could replace it cause i couldent find the one i was looking for. :steamhappy:
Igori Oct 11, 2019 @ 8:50pm 
can you put npcs to not demage players too ? dat will be very usefull for OP weapons for npcs i cannot find another addon for dat ;-;