Garry's Mod

Garry's Mod

789 ratings
NPCs Hate Each Other Script
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun, Roleplay
File Size
Posted
Updated
10.118 KB
10 Apr, 2023 @ 10:52pm
17 Apr, 2023 @ 11:15am
7 Change Notes ( view )

Subscribe to download
NPCs Hate Each Other Script

Description
Addon that makes it possible for combines / rebels / any half life 2 npc to fight each other regardless of faction.

Console Commands
hate_each_other_combines_enable 0/1
Only combines fight each other.

hate_each_other_rebels_enable 0/1
Only rebels fight each other.

hate_each_other_npcs_enable 0/1
All npcs fight their own kind.

hate_each_other_chase_enable 0/1
Allows a random npc to chase other npcs.

hate_each_other_chase_type random/nearest
Type of chasing, either an npc pick another random npc to chase or to find an npc which is nearest to it.

hate_each_other_chase_interval 1-15
Interval for the chase.

hate_each_other_trigger_preexisting all/combine/rebel
Triggers hatred for preexisting npcs spawned by the map (doesn't include players).

love_each_other_trigger_preexisting all/combine/rebel
Turns all npcs on the map friendly with each other (doesn't include players).

If you want to donate:
[sociabuzz.com]it'd be very much appreciated and a huge motivation booster.


if you're interested in a personalized addon / want features added to a preexisting addon:
[forms.gle]


For questions, news, updates, etc: Discord[discord.gg]
Popular Discussions View All (3)
31
3 Sep, 2023 @ 8:27pm
r
Vamo Arriba
4
30 Jun, 2023 @ 9:48am
Options menu functionality?
WesleyPlaysGames
0
15 Apr, 2023 @ 9:02am
E
VectorMane
146 Comments
itsovar9thousaand 2 Dec, 2024 @ 7:49pm 
the combine went mad
DudeBroDad45 12 Oct, 2024 @ 3:15pm 
the population in gm_construct when there was a slight disagreement:
HeyItsJaydon 10 Apr, 2024 @ 2:42am 
i do completely agree that NPCs should target the player first, then themselves (or smthn like that)
ŽīPÝ 12 Jan, 2024 @ 9:08pm 
Could you make a version of this mod that make any npc start to kill each other?
Oabobaro 27 Dec, 2023 @ 7:57am 
The npcs should prioritize the player to attack, even me being on side of a npc, it doesn't attack me and attack the closest npc, if you have a way how to do this, would be a nice addition
Penny (real) 24 Dec, 2023 @ 4:06pm 
its working now!! thx pal
Miguel Myers 24 Dec, 2023 @ 7:03am 
Holy shit, Survivor in Gmod.
Froze  [author] 23 Dec, 2023 @ 7:13pm 
still works on my end
are there any lua errors?
what is your console command setup? is hate_each_other_npcs_enable set to 1 ?
Froze  [author] 23 Dec, 2023 @ 7:06pm 
thanks for the report, i will do some checks.
Penny (real) 23 Dec, 2023 @ 6:04pm 
erm, dude, why this script is not working anymore?