Page 1 of 1
AI cabinet guy question
Posted: Thu Jan 15, 2004 7:42 pm
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
node
Posted: Fri Jan 16, 2004 8:43 am
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.
Re: AI cabinet guy question
Posted: Fri Jan 16, 2004 9:50 am
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.
Posted: Fri Jan 16, 2004 7:53 pm
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
Posted: Fri Jan 16, 2004 9:51 pm
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.

Posted: Sat Jan 17, 2004 3:09 am
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 .