Garry's Mod

Garry's Mod

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

Subscribe to download
Custom NPC AI (Cancelled)

Description
As you may now, I've abandoned this addon, and taken it off the workshop, until now. I'm still not coming back to develop it further but I opened a Github repository with both the first version of this addon and current one. You're free to use them, reuse them, modify them to your liking, and reupload them to Steam. If you decide to continue the development, good luck. It was honestly kinda painful trying to figure out how to make some of the features work properly, because the amount of errors and bugs was huge, but that's on me cuz I was inexperienced as it was my first addon. https://github.com/GenSecYT/Custom-NPC-AI-GMOD---discontinued/releases Here, have fun.

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 (RAZOR). 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.