Home   Help Search Login Register  

Author Topic: civilian planes landing ect.  (Read 995 times)

0 Members and 1 Guest are viewing this topic.

Commando

  • Guest
civilian planes landing ect.
« on: 10 Feb 2003, 00:30:54 »
Im trying to put in civilian planes that flies between the 2 airports on Nogova but.. I ran into big problems. :(
It took me a while until I got the plane to land and then when I wanted it to fly to the other airport it just circled around above the first airport that it had landed on. And i don't have a clue about what to do to make it fly to the other airport and land and stay there for a short time and take off again..

It just circles around the first airport... ::)

Anyone plese help me out!
I have put in working bus lines on the mission but the planes screwed up to much.. :'( Does anyone know anything about any good civilian airplane addons? I've tried 2 planes that I got from ofp info but a.i and big planes... and the textures wasn't so good. Only worked decent with the cessna but I should give the bigger civie planes another try tomorow..
« Last Edit: 10 Feb 2003, 00:41:51 by Commando »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:civilian planes landing ect.
« Reply #1 on: 10 Feb 2003, 10:38:06 »
hi

what you're trying to do looks like near the impossible to me.

even to get the plane to just go to the other airport and land is hard enough. AI is scheisse when it comes to aircrafts.

Anyways, your best chance would be to make a looping script for this using gamelogics to get coordinates of the planes route and NOT waypoints.

so basicly the script would look something like this

execute with [] exec "flyroute.sqs"

_wp1 = getpos gl1
_wp2 = getpos gl2
_wp3 = getpos gl3

#1st
_height = 0

plane1 domove getpos gl2
@?(distance plane1 gl2) < 100
plane1 domove getpos gl3
@?(distance plane1 gl3) < 300
plane1 land "land"

#land1
_height = getpos plane1 select 2
?_height < 1: goto "wait1"
~0.5
goto "land1"

#wait1
~60

#2nd
plane1 domove getpos gl2
@?(distance plane1 gl2) < 100
plane1 domove getpos gl1
@?(distance plane1 gl1) < 300
plane1 land "land"

#land2
_height = getpos plane1 select 2
?_height < 1: goto "wait2"
~0.5
goto "land2"

#wait2
~60
goto "1st"


something like that. fiddle with the values and stuff  ;)
« Last Edit: 10 Feb 2003, 10:38:42 by Artak »
Not all is lost.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:civilian planes landing ect.
« Reply #2 on: 10 Feb 2003, 12:50:39 »
imposible it is  ;D

its hardcoded in OFP dat planes recognize only 1 airport as airport  -da oder is nothin special (xept dat it have som airport textures)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:civilian planes landing ect.
« Reply #3 on: 10 Feb 2003, 12:57:59 »
damn LCD you just wrecked my whole days work!  :moon: ;D
Not all is lost.

Commando

  • Guest
Re:civilian planes landing ect.
« Reply #4 on: 10 Feb 2003, 14:28:03 »
aw..crap. i'll try your script anyways maybe it could work.
I'll post something later today, just got back home from school.. :P

I did a funny thing trying to make the 747 addon plane land by setting fyinheight 20 trigger above the airport..... :o lol you should have seen!!!
The plane dropped down really fast and smashed to the ground and bounced away smoking over the runway..

And a friend of mine made his own halo jump...he drove off a 5 T truck out from 100 meters altiitude from the antonov...really funny and i got scared as hell thinking omg we gonna die and then we bounced to the ground and through a crowd of enemy soldiers that then killed us..

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:civilian planes landing ect.
« Reply #5 on: 10 Feb 2003, 15:57:37 »
The only way it might work - and its a big "might" - is if  you start the plane on the ground at the non-operational airfield.     Use waypoints to get it moving and then a gentle flyinheight to get it to take off.    They waypoint it to the real airfield where you will be able to make it land.

Dunno if it will work, but worth a try.     Certainly won't work in the other direction.
Plenty of reviewed ArmA missions for you to play

Commando

  • Guest
Re:civilian planes landing ect.
« Reply #6 on: 10 Feb 2003, 16:32:02 »
well i really want to make it so that players in multiplayer can sit in cargo and fly between the 2 airports on nogova but.. Im home now and I'll try some stuff out now. :D

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:civilian planes landing ect.
« Reply #7 on: 10 Feb 2003, 19:37:20 »
you might have to settle for a civilian chopper
Not all is lost.

Daneel

  • Guest
Re:civilian planes landing ect.
« Reply #8 on: 11 Feb 2003, 14:21:07 »
Try sticking a get out WP followed by a getin WP on each airport. This should work.

Uberminch

  • Guest
Re:civilian planes landing ect.
« Reply #9 on: 11 Feb 2003, 16:58:31 »
Nothing will help. With civ pilots something always goes wrong. They are dip-s**tical morons who only dream of flying into mountains.

You would do better to get a retextured civilian chopper and use that.

Commando

  • Guest
Re:civilian planes landing ect.
« Reply #10 on: 14 Feb 2003, 00:38:25 »
i tried all of your stuff but nothing worked...but i have never seen a civilian 747 make a fast turn down against the ground and blow up. ;D
That happened when I used the flyinheigth command..
ah well i'll put the mission on hold until some patch gets out or so.. :P
thx everyone for trying.