Home   Help Search Login Register  

Author Topic: Waypoints don't work in high altitude?  (Read 671 times)

0 Members and 1 Guest are viewing this topic.

Hoelk

  • Guest
Waypoints don't work in high altitude?
« on: 19 Aug 2003, 14:44:42 »
Hi,

I've set up a heli patrol,  and i want the heli to fly in high altitude (heli flyInHeight 200). The problem is, that the heli does not switch to the next waypoint after having reached this altitude. He just flies in small circles above the waypoint, just as if the distance to the waypoint would include the altitude, because in lower altitude that does not happen!
Btw, if I'm the heli pilot, that problem does not occur, because the next waypoint is chosen already at about 400m. Is the distance at which the waypoints are switched depentend on ai/not ai ?

My Question: Is that behaviour normal? And if yes, is there an easy way to fix that problem?

KyleSarnik

  • Guest
Re:Waypoints don't work in high altitude?
« Reply #1 on: 19 Aug 2003, 14:48:51 »
I have had that problem before. AI choppers just wont follow waypoints at that height I guess. Try using switch triggers to detect if the chopper is at the waypoint. Then move it to the next.

Offline pcverden

  • Former Staff
  • ****
Re:Waypoints don't work in high altitude?
« Reply #2 on: 19 Aug 2003, 18:04:31 »
Actually if I remember correct the chopper starts circling because it didn't reach the height it was suppose. So it gets confused and starts circling.

How far apart are the waypoints?

Hoelk

  • Guest
Re:Waypoints don't work in high altitude?
« Reply #3 on: 19 Aug 2003, 20:46:13 »
Actually if I remember correct the chopper starts circling because it didn't reach the height it was suppose. So it gets confused and starts circling.

How far apart are the waypoints?

The waypoints are qiet far away from each other, and I'm sure the helicopter has reached his altitude when starting circling.


@KyleSarnik:

do you put something like "heli distance myTrigger" in the Condition field of the Switch Trigger (named "myTrigger")? (or any better way to do that?)

Update: the distance command does not work, as I just tried (also includes altitude), so I guess you have to use a more manual distance computation using x- and y positions...
« Last Edit: 19 Aug 2003, 21:07:31 by Hoelk »

KyleSarnik

  • Guest
Re:Waypoints don't work in high altitude?
« Reply #4 on: 19 Aug 2003, 23:10:21 »
Hmm... WHat I meant was a trigger over the WP to detect if the heli is present, then if so make it move to the next WP. You could use a switch trigger for this.

Hoelk

  • Guest
Re:Waypoints don't work in high altitude?
« Reply #5 on: 21 Aug 2003, 16:43:35 »
Hmm... WHat I meant was a trigger over the WP to detect if the heli is present, then if so make it move to the next WP. You could use a switch trigger for this.

OK, now I got it... (I just did not know that you can sync a Trigger with a WP and the WP can be connected to a group at the same time...)
Problem solved.