Home   Help Search Login Register  

Author Topic: Chopper land by itself  (Read 520 times)

0 Members and 1 Guest are viewing this topic.

Tomasz

  • Guest
Chopper land by itself
« on: 20 Dec 2004, 21:39:15 »
Ok, so this is the situation:

I want a chopper to land ( this land "land" doesnt work ) , wait for the player, and then proceed.

I know that I just have to synch the chopper WP with a trigger:

condition: player in chopper

but I don't know how to make it land.

Note: I cannot give the player WP, thus I cannot synchronise it with the chopper's WP.

Any ideas?

Tomasz

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Chopper land by itself
« Reply #1 on: 21 Dec 2004, 08:08:04 »
Helicopters can sometimes take a bit of fiddling with to work the way you want.  Try giving the chopper a LOAD waypoint that is synchronised with the infantry's GET IN waypoint.  That will generally work when the leader of the infantry is AI.  If it is the player then you need another way as you cannot guarantee that the player will actually go to the waypoint.

In that case try having a series of waypoints all next to each other with flyinheight 50;  flyinheight 45;  flyinheight 40;  flyinheight 35;....etc. down to 0.  My experience is that this is fine until the last WP when it look ugly, but that may have just been me.

I find  <choppername> land "LAND" works, but even with an invisible H (especially if there are more than one and if they are on uneven ground) I cannot guarantee where the thing will land.  So what I have done in the past is a combination.  A series of waypoints that steadily reduce the height of the chopper and then a final waypoint that gives the <choppername> land "LAND" instruction.  At that point it is so low it cannot find anywhere else to land.


Offline 456820

  • Contributing Member
  • **
Re:Chopper land by itself
« Reply #2 on: 21 Dec 2004, 20:52:00 »
is there a script wich could get a chopper to land after a certain amount of time like if its waiting at a waypoint for a trigger to activate it lands after like 1 minute has passed cause that would increase realism a little bit

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Chopper land by itself
« Reply #3 on: 21 Dec 2004, 22:43:31 »
The instruction is

<choppername> land "LAND"

Make sure you have a H or an invisible H nearby or there is no telling where it will land
Put the instruction in a trigger that fires when you need it to.
« Last Edit: 21 Dec 2004, 22:50:36 by THobson »