Anti-FriendlyFire (NPC)

If you liked this item, please rate it up on Steam Workshop page.

Author: LibertyForce

Last revision: 14 May, 2016 at 12:35 UTC

File size: 3.22 KB

On Steam Workshop

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