Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

Mirror 1 - Show

Mirror 2 - Show

File: Enhanced Npc AI
Version: None
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=32647
Description: Update: meh i quit coding for gmod

\\Do Not Reupload This File Without Giving Me Credits//

WARNING WARNING!!!: Okay in this lua...it only works on maps with info-nodes on it!
The maps i know it works on is...
-Gm_construct
-Rp_Hometown 1999 or 2000
-RP_cscdesert
-OMGcity(I think)
It works on many more but it dosentwork on some maps.
(this is how you can tell if there are info nodes on your map, if you have RP_Snpc's then spawn one on the map, if it dosent move or walk around that means that there are no info-nodes on the map.)

How can you tell if its working?
-Spawn a citizen and a zombie ,make sure you have notarge on, and if the citizen runs very far away that means its working.

-Spawn a couple of combines and a couple of citizens, if you see one hide and reload that means its working.

-There are many more ways to see if its working.

Okay in this lua the combine and citizens are smarter. If a npc has one of the certain classes
Combine_s
Citizen
Alyx
then that npc's ai will also be updated so that means that this enhanced npc ai lua will support and update any new npcs you got, like New Soldiers, Combine Infantry, Zombie hunter's Npcs, etc

Features:
-Citiezens are now harder to kill.
-Npcs now hide when they reload.
-Unarmed citizens will run around the map if a enemy is spoted, the citizen will try to find a weapon.
-If you downloaded my Combine Assassin npc the assassin will now run to you and fight you!!!
-More...

How to install?
Select one File
There are 4 choices

Citizen AI only - This will only update the citizen ai, and any other Resistance NPCS.
Combine AI only - This will only enhance the Combine AI.

Both - This will update both AI's.

Uninstall - This will tell you how to uninstall the enhanced npc ai if you dont like it.

Open up the folder you want to install and go to lua/autorun/server and take that lua file out and place it in Steam/Steamapps/<UserName>/Garrysmod/Garrysmod/lua/autorun/server

Note: If a npc has the same class as a Citizen or combine then that npc's ai will aso be updated.

Crdits -
KillahXTwenty (me)

lol if you look in my lua file you will notice a fake name and date lol

|WARNING!!!}
|SPOILER!!!}
|WARNING!!!}

-Maps with a jump node will allow combine or resistance npcs to jump.

-Resistance Npcs run from there battles if unarmed but will fight back if armed depending on what type of weapon.

-If you are seen as a enemy to resistance npcs and they have a crowbar or stunstick they will chase you then beat you down.

-Npc battles are more intresting and if you have npc control make a combine vs combine war its freaken awsome!

-Combines have a chance of pwning a rebel.

-resistance vs Resistance battles are also intresting.

-This enhanced npc ai will also update the hunter's ai.

-Combines run away from grenades but farther.

-Combines say shit when they see a grenade.

-This will also work on some other npcs.

-You know...there is alot more things to this Enhanced NPC Ai lua so im not gonna tell you everything, im gonna leave some things for you to find out on your own.

Image: Enhanced