This file was automatically imported from the old site. You can see other imported files on the reuploads page.

Enhanced Npc AI

Originally uploaded by KillahXTwenty on 29th February 2008 05:46 am

Update: meh i quit coding for gmod
\\Do Not Reupload This File Without Giving Me Credits//
WARNING WARNING!!!: Okay in this only works on maps with info-nodes on it!
The maps i know it works on is...
-Rp_Hometown 1999 or 2000
-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
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
-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!!!
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//Garrysmod/Garrysmod/lua/autorun/server
Note: If

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • Enhanced AI <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • Enhanced AI/
    • Both Ai/
      • Citizen AI readme.txt
      • Combine AI Readme.txt
      • lua/
        • autorun/
          • server/
            • release_npcanimv11.lua
    • Choices.txt
    • Citizen Ai only/
      • Citizen AI readme.txt
      • lua/
        • autorun/
          • server/
            • release_npcanimv11.lua
    • combine Ai only/
      • Combine AI Readme.txt
      • lua/
        • autorun/
          • server/
            • release_npcanimv11.lua