Home   Help Search Login Register  

Author Topic: plane swoop down  (Read 884 times)

0 Members and 1 Guest are viewing this topic.

illmatic

  • Guest
plane swoop down
« on: 08 May 2004, 00:27:43 »
is there a way to make a plane from about 90 alt, to go down to like 10 alt and then back up to 90......????

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:plane swoop down
« Reply #1 on: 08 May 2004, 01:48:11 »
There's that command: name_of_plane flyinheight xxx

while xxx is the altitude in meters

But 90 10 90 i wouldn't recommend as i'm quite sure all the
plane would do is: to build a tunnel in the landscape

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

illmatic

  • Guest
Re:plane swoop down
« Reply #2 on: 08 May 2004, 13:33:52 »
thx, i did the same thing before but it didnt seem to go down but its sorted now, and the pilots dont go down below about 10m anyway.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:plane swoop down
« Reply #3 on: 13 May 2004, 18:11:53 »
You could try giving the plane a little "push" using setvelocity:

plane setvelocity [velocity plane select 0, velocity plane select 1, -10 ]

Try playing around with that last number. This won't make the plane tip its nose downward though, so it may or may not look right. That is why I'd say you do it while the AI is already flying downwards via "flyinheight"
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!