AI cabinet guy question

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

AI cabinet guy question

Post by hogleg »

I did the AI Cabinet guy tutorial, the one here:
/t.php?id=51

When compiled the trigger activates the AI and he opens the doors but just stands there! He won't get out. My trigger is right in front of the cabinet, is that effecting him?

Also, I noticed in the tutorial it never says to hit " I " and bring up the AI configuration menu? Don't I have too do that?

Thx
"all the governments in the world are corrupt and in the hands of the Illuminati"
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

node

Post by tltrude »

I haven't read the tutorial, but I think the AI guy has to have a node or waypoint to runto.

$guy runto $guy_node

You'll prbably need to make him "turnto" or "lookat" the player too.
Tom Trude,

Image
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Re: AI cabinet guy question

Post by crunch »

HogLeg wrote:Also, I noticed in the tutorial it never says to hit " I " and bring up the AI configuration menu? Don't I have too do that?

Thx
The reason for this is that the AI parameters are defined in the cabinet.scr.
So there is no need to configure the cabinet guy any more than the tutorial mentions.
The cabinet.scr also sets the player as the target of AI movemnet, and makes the AI_guy runto the player.
But tltrude has a point...it is possible that you may need pathnodes.
Image
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

Thank you so much.
I'll try ya'lls suggestions tonight.

Put this in the script:

$guy runto $guy_node

and give him a pathnode, w/targetname of AI in cabinet.

Right????

Thx
"all the governments in the world are corrupt and in the hands of the Illuminati"
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post by crunch »

Yes, when tltrude wrote
$guy runto $guy_node, he meant that $guy should be replaced by the targetname of your AI, and $guy_node should be replaced with the targetname of your pathnode.

:D
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Where did you put the cabinet guy he does not need to be in the cabinet in the editor just near it and you will need pathnodes for an ai to move .
Post Reply