Patrollers

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Crazy_Asian_45
Lance Corporal
Posts: 12
Joined: Sun Jun 28, 2009 2:18 am

Patrollers

Post by Crazy_Asian_45 »

Why does a patroller stop when I get in his way?
與您性交母狗!!
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

They use pathnodes in the map that form navagation routes the AI must use to move . You block them because not enough nodes in area to form other routes or nodes too far apart .
Image
Crazy_Asian_45
Lance Corporal
Posts: 12
Joined: Sun Jun 28, 2009 2:18 am

Post by Crazy_Asian_45 »

So if I am using waypoints, I put pathnodes randomly around the path?
與您性交母狗!!
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Yeah, something like that. You actually need pathnodes for the AI to move at all.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Crazy_Asian_45
Lance Corporal
Posts: 12
Joined: Sun Jun 28, 2009 2:18 am

Post by Crazy_Asian_45 »

They move with waypoints. Do the pathnodes have to be named in anyway for them to move?
與您性交母狗!!
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

No, they don't need names.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Crazy_Asian_45
Lance Corporal
Posts: 12
Joined: Sun Jun 28, 2009 2:18 am

Post by Crazy_Asian_45 »

Okay I put pathnodes a little right of his path and each under 64 units apart. When I get in his way he does backpedals to the last pathnode and runs to me. Am i missing a code or something?
與您性交母狗!!
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

The more pathnodes you have the more choices the ai have .This picture shows the AI routes the lines are from pathnode to pathnode . This is with a custom .pth file for Mohdm1

Image
Image
Post Reply