AI 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
Clackinizer
Sergeant
Posts: 72
Joined: Sun Mar 16, 2003 1:49 am
Location: USA
Contact:

AI Question.....

Post by Clackinizer »

How do i make an allied or axis AI man pace continuesly? :?:
........
User avatar
ZeroSkaten
Second Lieutenant
Posts: 159
Joined: Sun Jan 12, 2003 11:03 pm
Location: Canada
Contact:

Post by ZeroSkaten »

i'm assuming that you already know how to make an AI walk to a waypoint. Just make two waypoints and $targetname them path_1 and path_2 . Make path_1's target path_2, and vise versa. then add a trigger multiple and $targetname it path_trigger. Remeber to make the AI patrol by pressing i and in the type_idle box choose patrol, then in the patrolpath box type path_1 . Tell me if you dont understand this, I may have explained it confusingly :P .
Together we will leave no posts un awnsered!
BTW that me in the picture :wink:
Image
Visit my site: http://www.planetmedalofhonor.com/hk/

As I say: A 3d model a day keeps the career consultant away.
User avatar
Clackinizer
Sergeant
Posts: 72
Joined: Sun Mar 16, 2003 1:49 am
Location: USA
Contact:

Post by Clackinizer »

can you IM me on AIM? lol, i dont think i understand......... sry :oops: :(
........
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

lol, i presume this hasn't been replied to so i'll answer it here

1st and 2nd, make the waypoints and call them
key: targetname
value: way1
key: target
value: way2

and

key: targetname
value: way2
key: targetname
value: way1 (you see the kinda thing and how it works so far)

3rd create the patroller, and give him properties
key: targetname
value: whateveryalike
key: target
value: way1

you can also do this with script, but this is the easiest way :D

//otherwise the scripting

i'll post at a later date :P
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
Clackinizer
Sergeant
Posts: 72
Joined: Sun Mar 16, 2003 1:49 am
Location: USA
Contact:

Post by Clackinizer »

will he stop after he hits the 2nd way point?! or will he do it forever until someone kills him? cuz i want him to pace forever!!! :D
........
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

until he sees an enemy, unless you disable his AI then forever
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Read the tutorial on this patrolling guys here.
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply