poison zombies

-----------------------------------------
Garrysmod Ultimate Spawning, Destroying, and Fire AI Script
Author: Megiddo
Credits: f2 ( I templated this off him )
Version: 1.15
-----------------------------------------

 This script allows you to spawn NPCs in garrysmod
with working AI. Since AI doesn't work when you simply spawn an
NPC with npc_create, I decided to make my own script which sets
the relationships automatically on each spawn.

-----------------
Files Included
-----------------
allied.cfg
enemy.cfg
ffa.cfg
ffa_off.cfg
GARRY_AI.cfg
help.cfg
readme.txt
skill.cfg
scene_help.cfg

----------------- 
Installation
-----------------

 Extract the zip to: 

"C:\Program Files\Valve\Steam\SteamApps\SourceMods\garrysmod\cfg"


 During extraction, make sure you write skill.cfg since it contains important 
info about NPCs, they don't seem to work well without it.

----------------- 
Usage
----------------- 


 First of all, if you want to spawn NPCs on a server it is recommended that the
server has skill.cfg from this zip in their "/garrysmod/cfg" folder. Otherwise AI
will work, but seems to have some problems.

To use this script cheats must be enabled on the server. Load up the script with

  exec GARRY_AI

in the console. This will give you a list of commands you can use
to spawn. You can bind any of these commands to a button of your preference. 
An example is:

  bind m "ADDED fastzombie"

Now all you have to do is look at the spot you want the NPC to appear and press "M'.
The zombie will attack you or any other player on the server.

Make sure you check out meg_scene_help. Very useful!

-------------------------
Complete List of Commands
-------------------------
You asked for it, here it is:

meg_killallies  -Kills all living allies
meg_killenemies -Kills all living enemies
meg_killall     -Kills all living things ( except players )
meg_cleanup     -Destroys all ragdolls
meg_physclean   -Destroys all physics props (spam)
meg_nuke        -Executes all three above commands

(Don't stack birds, it'll crash it)
spawn_crow
spawn_dog
spawn_eli
spawn_gman
spawn_kleiner
spawn_mossman
spawn_pigeon
spawn_seagull

(All these should be self explinatory, but if the command has an 'A' at the end, that means it spawns an ally, while non 'A's spawn enemies)
spawn_alyx
spawn_alyxA
spawn_antlion
spawn_antlionA
spawn_antlionguard
spawn_antlionguardA
spawn_citizen
spawn_citizenA
spawn_combine
spawn_combineA
spawn_combinedropship  -**
spawn_combinedropshipA -**
spawn_combinegunship   -Very picky
spawn_combinegunshipA  -Very picky
spawn_fastzombie
spawn_fastzombieA
spawn_helicopter       -Very picky
spawn_helicopterA      -Very picky
spawn_headcrab
spawn_headcrabA
spawn_headcrab_fast
spawn_headcrab_fastA
spawn_headcrab_poison
spawn_headcrab_poisonA
spawn_metropolice
spawn_metropoliceA
spawn_monk            -Brother Gregory
spawn_monkA
spawn_rollermine
spawn_rollermineA
spawn_stalker
spawn_stalkerA
spawn_strider
spawn_striderA
spawn_vortigaunt
spawn_vortigauntA
spawn_zombie
spawn_zombieA

(spawn with this weapon)
spawn_alyx_annabelle
spawn_alyx_annabelleA
spawn_alyx_ar2
spawn_alyx_ar2A
spawn_alyx_alyxgun
spawn_alyx_alyxgunA
spawn_alyx_crowbar
spawn_alyx_crowbarA
spawn_alyx_package
spawn_alyx_packageA
spawn_alyx_pistol
spawn_alyx_pistolA
spawn_alyx_rpg
spawn_alyx_rpgA
spawn_alyx_shotgun
spawn_alyx_shotgunA
spawn_alyx_smg
spawn_alyx_smgA
spawn_alyx_stunstick
spawn_alyx_stunstickA
spawn_alyx_suitcase
spawn_alyx_suitcaseA
spawn_barney_annabelle
spawn_barney_annabelleA
spawn_barney_ar2
spawn_barney_ar2A
spawn_barney_crowbar
spawn_barney_crowbarA
spawn_barney_package
spawn_barney_packageA
spawn_barney_pistol
spawn_barney_pistolA
spawn_barney_rpg
spawn_barney_rpgA
spawn_barney_shotgun
spawn_barney_shotgunA
spawn_barney_smg
spawn_barney_smgA
spawn_barney_stunstick
spawn_barney_stunstickA
spawn_barney_suitcase
spawn_barney_suitcaseA
spawn_citizen_annabelle
spawn_citizen_annabelleA
spawn_citizen_ar2
spawn_citizen_ar2A
spawn_citizen_crowbar
spawn_citizen_crowbarA
spawn_citizen_package
spawn_citizen_packageA
spawn_citizen_pistol
spawn_citizen_pistolA
spawn_citizen_rpg
spawn_citizen_rpgA
spawn_citizen_shotgun
spawn_citizen_shotgunA
spawn_citizen_smg
spawn_citizen_smgA
spawn_citizen_stunstick
spawn_citizen_stunstickA
spawn_citizen_suitcase
spawn_citizen_suitcaseA
spawn_combine_annabelle
spawn_combine_annabelleA
spawn_combine_ar2
spawn_combine_ar2A
spawn_combine_crowbar
spawn_combine_crowbarA
spawn_combine_package
spawn_combine_packageA
spawn_combine_pistol
spawn_combine_pistolA
spawn_combine_rpg
spawn_combine_rpgA
spawn_combine_shotgun
spawn_combine_shotgunA
spawn_combine_smg
spawn_combine_smgA
spawn_combine_stunstick
spawn_combine_stunstickA
spawn_combine_suitcase
spawn_combine_suitcaseA
spawn_monk_annabelle    -Brother Gregory
spawn_monk_annabelleA
spawn_monk_ar2
spawn_monk_ar2A
spawn_monk_crowbar
spawn_monk_crowbarA
spawn_monk_package
spawn_monk_packageA
spawn_monk_pistol
spawn_monk_pistolA
spawn_monk_rpg
spawn_monk_rpgA
spawn_monk_shotgun
spawn_monk_shotgunA
spawn_monk_smg
spawn_monk_smgA
spawn_monk_stunstick
spawn_monk_stunstickA
spawn_monk_suitcase
spawn_monk_suitcaseA
spawn_metropolice_annabelle
spawn_metropolice_annabelleA
spawn_metropolice_ar2
spawn_metropolice_ar2A
spawn_metropolice_crowbar
spawn_metropolice_crowbarA
spawn_metropolice_package
spawn_metropolice_packageA
spawn_metropolice_pistol
spawn_metropolice_pistolA
spawn_metropolice_rpg
spawn_metropolice_rpgA
spawn_metropolice_shotgun
spawn_metropolice_shotgunA
spawn_metropolice_smg
spawn_metropolice_smgA
spawn_metropolice_stunstick
spawn_metropolice_stunstickA
spawn_metropolice_suitcase
spawn_metropolice_suitcaseA

meg_help          -Shows some help
meg_scene_help    -Shows some scene help
meg_break         -'Breaks' what you're looking at, good for making strider legs
meg_ignite        -Lights whatever you're looking at on fire*
meg_igniteallies  -Lights all your allies on fire
meg_igniteenemies -Lights all your enemies on fire
meg_igniteall     -Lights everyone but other players on fire
meg_ffa           -Turns free for all mode on
meg_ffa_off       -Turns free for all mode off
meg_makeallied    -Makes whatever you're looking at an ally*
meg_makeenemy     -Makes whatever you're looking at an enemy*

* = Don't use this on other players!!!
** = You must manually assign this NPCs team with meg_makeallied or meg_makeenemy

Some commands that aren't mine, but are still useful:
ai_disable        -Toggles AI on/off
notarget          -Toggles whether or not AI will see you

-----------------
Change log
-----------------
1.50 (1/25/04)
FIXED Some AI issues ( I actually think I intentionally left this in at one point, but it seems pointless/buggy now )
FIXED An error with spawning a combine or metropolice with a stunstick ( Mispelled stunstick! ARG. )

1.15 (1/24/04)
ADDED spawn_monkA
ADDED spawn_monk_annabelle
ADDED spawn_monk_annabelleA
ADDED spawn_monk_ar2
ADDED spawn_monk_ar2A
ADDED spawn_monk_crowbar
ADDED spawn_monk_crowbarA
ADDED spawn_monk_package
ADDED spawn_monk_packageA
ADDED spawn_monk_pistol
ADDED spawn_monk_pistolA
ADDED spawn_monk_rpg
ADDED spawn_monk_rpgA
ADDED spawn_monk_shotgun
ADDED spawn_monk_shotgunA
ADDED spawn_monk_smg
ADDED spawn_monk_smgA
ADDED spawn_monk_stunstick
ADDED spawn_monk_stunstickA
ADDED spawn_monk_suitcase
ADDED spawn_monk_suitcaseA
ADDED spawn_alyx_stunstick
ADDED spawn_alyx_stunstickA
ADDED spawn_barney_stunstick
ADDED spawn_barney_stunstickA
ADDED meg_scene_help
CHANGED spawn_monk to more accurately reflect what it is and what it does
CREATED scene_help.cfg     -shows scenes you can use and how to use them
UPDATED help.cfg to reflect the changes above
( Total of 185 commands )

1.1 (1/24/04):
ADDED spawn_alyx
ADDED spawn_alyxA
ADDED spawn_barney
ADDED spawn_barneyA
ADDED spawn_alyx_annabelle
ADDED spawn_alyx_annabelleA
ADDED spawn_alyx_ar2
ADDED spawn_alyx_ar2A
ADDED spawn_alyx_alyxgun
ADDED spawn_alyx_alyxgunA
ADDED spawn_alyx_crowbar
ADDED spawn_alyx_crowbarA
ADDED spawn_alyx_package
ADDED spawn_alyx_packageA
ADDED spawn_alyx_pistol
ADDED spawn_alyx_pistolA
ADDED spawn_alyx_rpg
ADDED spawn_alyx_rpgA
ADDED spawn_alyx_shotgun
ADDED spawn_alyx_shotgunA
ADDED spawn_alyx_smg
ADDED spawn_alyx_smgA
ADDED spawn_alyx_suitcase
ADDED spawn_alyx_suitcaseA
ADDED spawn_barney_annabelle
ADDED spawn_barney_annabelleA
ADDED spawn_barney_ar2
ADDED spawn_barney_ar2A
ADDED spawn_barney_crowbar
ADDED spawn_barney_crowbarA
ADDED spawn_barney_package
ADDED spawn_barney_packageA
ADDED spawn_barney_pistol
ADDED spawn_barney_pistolA
ADDED spawn_barney_rpg
ADDED spawn_barney_rpgA
ADDED spawn_barney_shotgun
ADDED spawn_barney_shotgunA
ADDED spawn_barney_smg
ADDED spawn_barney_smgA
ADDED spawn_barney_suitcase
ADDED spawn_barney_suitcaseA
ADDED spawn_citizen_annabelle
ADDED spawn_citizen_annabelleA
ADDED spawn_combine_annabelle
ADDED spawn_combine_annabelleA
ADDED spawn_metropolice_annabelle
ADDED spawn_metropolice_annabelleA
ADDED spawn_breen
ADDED spawn_crow
ADDED spawn_dog
ADDED spawn_eli
ADDED spawn_gman
ADDED spawn_kleiner
ADDED spawn_monk
ADDED spawn_mossman
ADDED spawn_pigeon
ADDED spawn_seagull
ADDED spawn_zombie_torso
ADDED spawn_zombie_torsoA
ADDED meg_break
ADDED meg_makeallied
ADDED meg_makeenemy
CHANGED meg_physclean to clean up more things ( gibs & cannisters )
CHANGED meg_killall, meg_killallies, meg_killenemies, meg_physclean, and meg_nuke to include stopsound ( stops infinite after-sounds )
CHANGED meg_killall to kill npc_combinedropship ( in case they didn't assign it a team )
CHANGED help.cfg to include some warnings and a version indicator
UPDATED help.cfg to reflect the changes above

1.0 (1/23/04):
Initial release, 99 commands.


----------------- 
Known Bugs
----------------- 
Attacking the stalker will crash it. Don't attack the stalker yourself, let other NPCs do it or delete it.

Combine dropship is immortal and can't be created on a team. No solution as of yet.

NPCs will randomly spawn without a weapon when you want them with a weapon. Don't approach them when this happens or it will crash. Just delete them

Stacking birds ( IE, one on top of the other ) will crash the game when they die. Just don't stack them.

Stunsticks in multiplayer seem to not work....

Antlions, Antlionsguards, zombies, and headcrabs are always shot at by others, no matter what 'team' they're on.

If you find any more bugs, please report them to me at megiddo@meg-tech.com
