PDA

View Full Version : GarryMod Extended VGUI


Myrex
8th February 2005, 19:31
For those garry modders. :jumping: :jumping:
here is a good vgui addon if u aint got it already it it a hoot!!!
Download NOW!!! (http://www.geocities.com/myrex565/Meg_AI-Garrysmod.zip)
Here is the Tutorial:

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

Extract the zip to:

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

Or if you customized your installation, extract the files to your garrysmod
root directory.

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

To use this script cheats must be enabled on the server. The script turns on
cheats for you, but you can always double check.

Simply bring up the spawn menu with the 'q' button, press 'AI', and you'll
see the following:
http://meg-tech.com/hostPics/help2.jpg
The areas of interest have been highlighted to make explanation easier.

_AREA 1_
You must always go to area 1 of the 'AI' submenu before you spawn any NPCs. This will let
you set what AI mode you want.
*Individual AI Mode: All NPCs are spawned neutral to all other NPCs, so no attacking will
take place until you assign orders. More on assigning orders to come.

*FFA AI Mode: The simplest AI mode, all NPCs are spawned hating each other.

*Team AI Mode: NPCs are spawned on assigned teams, and the teams attack each other.
More on assigning teams to come.

_AREA 2_
Simply sets whether AI will spawn liking or hating the human players.

_AREA 3_
Is used for the individual AI mode. Just look at the NPCs you want to select, press select,
then use the buttons under the 'Attack' label to tell them who to attack. You can also look
at NPCs and target them with the target button, then have all the selected attack all the
targeted NPCs

The rest of the important commands are under the 'NPC' submenu:
http://meg-tech.com/hostPics/help1.jpg
_AREA 1_
Is where you select the weapon you want your NPCs to spawn with. Please note that not all NPCs spawn with weapons

_AREA 2_
Is where you select the NPC you want to spawn. If you selected a weapon from area 1, it will spawn with that weapon.

_AREA 3_
Here you set what team you want your NPCs to spawn on. This is for Team AI mode.


------------------------
MANUAL CONSOLE COMMANDS
------------------------

*_Don't use these if you don't know what your doing. All commands listed _*
*_here are accessible via the spawn menu ( press the 'q' button ) _*

Console commands are no longer officially supported as of version 2.0, as
all the commands are implemented in the spawn menu, but spawning from the
console is still possible.

To start with, you need to say what AI mode you're in. You can choose one
of the following:

*ai_individual
*ai_ffa
*ai_teams
*ai_teamsC

ai_teamsC is teams with colors.

The general spawn command is:
[set_<weapon>;setTeam_<color>*For team AI mode*;]spawn_<npc_name>
[;exec AI/Attack/<attack_mode>*For Individual AI mode*]

[...] means optional, <...> means replace with what you want/need,
*...* is a comment

you can replace <weapon> with the following:
*annabelle
ar2
alyxgun
crowbar
package
pistol
rpg
shotgun
smg
suitcase
stunstick

you can replace <color> with the following:
white
gray
black
red
brown
orange
yellow
lime
green
teal
blue1
blue2
purple
pink

you can replace <npc_name> with the following:
alyx
antlion
antlionguard
citizen
combine
combinedropship -AI is buggy
combinegunship -Very picky
crow
dog
eli
fastzombie
helicopter -Very picky
gman
headcrab
headcrab_fast
headcrab_poison

kleiner
metropolice
monk -Brother Gregory
mossman
pigeon
poisonzombie
rollermine
seagull
stalker
strider
vortigaunt
zombie

you can replace <attack_mode> with the following:
ceasefire
target
players
all
alyx
antlion
antlionguard
barney
breen
citizen
combine
combinedropship
combinegunship
crow
dog
eli
fastzombie
helicopter
headcrab
headcrab_fast
headcrab_poison
kleiner
metropolice
monk
mossman
pigeon
poisonzombie
rollermine
seagull
stalker
strider
vortigaunt
zombie
zombie_torso

Some 'individual' AI mode commands:
ai_select -Select NPC for order-giving
ai_unselect -Deselect NPC for order-giving
ai_target -Target NPC
ai_untarget -Detarget NPC

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
-----------------
2.0 (1/31/05)
Too many changes to list them all individually, but here's
some highlights:
*Complete code rewrite
*Integrated into spawn menu
*AI is now split into three modes ( individual, ffa, and teams )
*Can do team colors
*Individual AI is given specific orders

Removed other changes due to size. Please see the readme for complete changelog!


-----------------
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 with correct AI. 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.

FFA mode does not work 100%. You may not always get the results you wanted with it, but it seems to work best among the combine.

In order for this to work *well* in mp, you should all set AI to the same mode.

If you find any more bugs, please report them to me at megiddo@meg-tech.com
DL: http://meg-tech.com/hostFiles/Meg_AI-Garrysmod.zip

Enjoy!
Original post can be found here (http://www.garry.tv/garrysmodforum/viewtopic.php?t=5289)

SK
9th February 2005, 15:50
Nice post Myrex.

Is it possible to spawn alive characters?

Oreo
9th February 2005, 16:02
WoW! Nice post!

And whoever makes GarryMod is pretty hardcore. :)

Naigel
9th February 2005, 16:39
WoW! Nice post!

And whoever makes GarryMod is pretty hardcore. :)

Lol, guess who made Garry's Mod :rolleyes:

Meercat
9th February 2005, 17:42
WoW! Nice post!

And whoever makes GarryMod is pretty hardcore. :)
He is called Garry (somthing)

Myrex
9th February 2005, 17:45
Nice post Myrex.

Is it possible to spawn alive characters?

yes it tis SK, u just need to sort out the A.I first... its all explained above :D.

As to ur question Oreo, The guy who made garry mod is.... Garry :D :cool1:
www.garry.tv (http://www.garry.tv)

SK
9th February 2005, 17:51
yes it tis SK, u just need to sort out the A.I first... its all explained above :D.

Waaaaaa, you mean read? :cry:

Myrex
9th February 2005, 17:58
u see on the new vgui i have A.I and NPC, u need to configure the A.I before u can do anything else... like spawn live NPC'S if u know wat i mean?
If not i'll show u on garrymod if ya wanna join me on there??

SK
9th February 2005, 18:13
Ill have to give it a try, ive not played GarrysMod since it was in v3

Myrex
9th February 2005, 22:56
:O blastphomy :O:O
:P

MaNiC^
10th February 2005, 09:26
looks to much hassle for me :P i'll stick with my npc_create's ;D

Myrex
10th February 2005, 17:39
lol, at least u dont have all those annoying npc_<insert name> to remember, and easyer to make A.I Vs A.I games :D

MaNiC^
11th February 2005, 09:37
for some reason i find it simple to remember them all ^_^ unfortunatly i dont have the same with college :P i think my brains to full of crap XD

Myrex
11th February 2005, 15:09
XD

pat_rules
12th February 2005, 19:12
i created a hugh war in my game is there a code to freez the grame so i can created a battlefield with out everybody killing each other

Myrex
12th February 2005, 19:27
yeah... in ai when u have created one npc click al-toggle. i ts in misc-ai above no target.
i have found that when youm spawn loads of metro with stunsticks the last to die crashes the game... so dont spawn all the same npc.. have them with guns or something... k

pat_rules
12th February 2005, 21:38
i do hundreds with rocket launchers now i just need to get my ati x800 xt pe installed next month

Meercat
12th February 2005, 22:35
Garrymod V7a is probliy allmost out!

Myrex
13th February 2005, 00:54
i do hundreds with rocket launchers now i just need to get my ati x800 xt pe installed next month
ooooOOOOooo mr. big shot. i have a hercules 7200 128mb grapixs card. :P
its like 2 years old... prolly need ot buy a new one... yes just after i buy my 80gb SATA harddrive :P:P :jumping: :jumping: :jumping: :jumping:

pat_rules
13th February 2005, 10:21
i have a 200gb hard drive
i am going to get it installed when i get a new case to go with it

Myrex
14th February 2005, 00:29
garrymod v7 is here... loads of new stuffie... have fun :P www.garry.tv

STARS Barry
15th March 2005, 20:19
simply becouse of my name i should set up a rival mod, simply to anoy those peep who Dl the wrong one

Meercat
16th March 2005, 11:47
how could you like move models from Hl2 into Garrymod to add more spawn props?