Garry's Mod

Garry's Mod

141 ratings
Custom NPC AI
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
14.893 MB
25 Jul @ 7:54am
18 Aug @ 1:40pm
2 Change Notes ( view )

Subscribe to download
Custom NPC AI

Description
This addon was created to enchant the NPCs. Not much, but enough for the changes to be visible. It slightly changes their AI and variety. This is my first somewhat functioning addon but I won't be like other people saying "It's my first one so don't be mad at me". I'll just say do whatever you want, I don't care anyway. You can insult me and I just won't care, so you're free to do it.


Features:
-Compatibility with Nemez metropolice replacement. Civil Protection officers will now use different bodygroups and skins based on their role.
-Medics (HELIX) have 5% chance to spawn. At the moment of their death they will drop medikits and heath vials. They are also able to heal nearby allies and they have pistol and 110 health points.
-Officers (UNION) have 50% chance to spawn. They are the most common unit with just 110 health points.
-Assault unit (SHOCK) has 20% chance to spawn. They are armed with SMGs and have 120 health points.
-Prosecutors (JURY) have 5% chance to spawn. They are armed with revolvers and also have 120 health points.
-Commanders (SPEAR) have 10% chance to spawn. They are armed with shotguns and can deploy manhacks. They have 150 health points. They will also collect up to 3 units into their squad. They will work together and attack you together if that's possible giving them more firepower.
-Cadets (Recruits) have 8% chance to spawn. They are the most useless tool in the shed and are basically rookies that just joined Civil protection. They have a stunstick and 100 health points.
-[REDACTED] (SWORD) units have 2% chance to spawn. They are equipped with AR2 rifles and manhacks. They can be pretty deadly if you're not careful. They have 150 health points.

-Wounded combine soldiers and metropolice officers will seek medic when they have low health and if there is actually a medic on the map

-Wounded NPCs including combine soldiers, metrocops, citizens, etc. when they have low health, they will locate medikits and health vials laying around the map and will use them to heal themselves.

-Metrocops will use some random bodygroups.

-Combine soldiers (prison guards included) have also been improved. They will also spawn with different roles and abilities.
-Medics (HELIX) have 5% chance to spawn. They are armed with pistols and have 150 health. And just like their Civil Protection counterparts they can heal nearby wounded units.
-Shotgunners (DAGGER) have 10% chance to spawn. Just like in default game they will use shotguns. Only change is pretty much the health which is now set to 150 HP.
-Soldiers (ECHO). There is 60% for default soldier to spawn with SMG and 20% for them to spawn with AR2 pulse rifles. They have 150 health.
-Gunslingers (REDACTED). There is 5% chance for a soldier with revolver to spawn. They are able to deploy manhacks and have 150 health points. It's redacted because I couldn't figure out a good callsign for them
-Elite Soldiers (KING). They are spawned as separate units so 0% chance to spawn through normal soldier. They have 200 health points as well as AR2 pulse rifles. They are able to form a squad of up to 5 soldiers.


Addon is small and doesn't change too much but I hope you will have fun using it just like I had fun scripting it. Have fun.


If you're having issues with this addon or it creates errors, write in thread (aka discussion) designated for it because I don't feel like searching through comments just looking for issues. If you create a thread I will check them when I will be available.

I would also like to thank @mighty for testing the addon.

Combine Soldier and Metropolice models are from Nemez. I'm not taking any credit for it, he did a great job. For more information check out his actual addons.
Popular Discussions View All (3)
21
18 Aug @ 11:48pm
PINNED: Issues and Error reports
GenSec
19
26 Jul @ 12:55pm
PINNED: Suggestions
GenSec
6
16 hours ago
PINNED: Update info.
GenSec
82 Comments
MORN1NG_ST4R 11 hours ago 
Give the gunslingers the callsign "RAZOR". Directly from Half-Life 2, and it makes sense given the precision of their weapons. You could say they make calculated incisions, if you want to be medical like the combine.
GenSec  [author] 4 Sep @ 8:23am 
I used Retail-like animations, metropolice and trepang 2 versions.
Advexa 4 Sep @ 6:18am 
I just wanted to ask what animation addon you used in the showcases
GenSec  [author] 3 Sep @ 2:52pm 
@Advexa Yes. You can use any animation addons. You can use Retail-Like animations, Trepang 2 animations and others as long as these animations are working for weapons like RPG, revolver, crossbow, etc.
Advexa 3 Sep @ 1:52pm 
Did you use any animations addons in your showcases? They look very procedural and cool!
GenSec  [author] 26 Aug @ 1:23am 
Also, I'm not responsible for the models or textures. I just made the scripts. Models are from Nemez.
GenSec  [author] 26 Aug @ 1:22am 
@!Washing Machine! Did you install the requirements?
!Washing Machine! 25 Aug @ 6:48pm 
and I am pretty sure it is this mod
!Washing Machine! 25 Aug @ 6:46pm 
So my prison guards have that demonic pink texture and I do not know why:jarate:
GenSec  [author] 19 Aug @ 5:10am 
@whitefish Kinda, it uses the improved version of that pack but some bodygroups are different. I used it previously but decided that the newer one is better.