Home   Help Search Login Register  

Author Topic: Landing choppers on buildings  (Read 445 times)

0 Members and 1 Guest are viewing this topic.

Offline Tim Pink

  • ECP Team &
  • Former Staff
  • ****
  • "Down with a bang and that'll be the end"
Landing choppers on buildings
« on: 07 May 2003, 13:40:19 »
Hi how do you make helo's land on buildings, like the office buildings in nogova?
"Whoever said nothing is impossible, never tried slamming a revolving door."

Knut Erik

  • Guest
Re:Landing choppers on buildings
« Reply #1 on: 07 May 2003, 14:35:41 »
You could make the chopper get over the building like this :
YourChopper move [X,Y,Z]
or
YourChopper move getpos "Name Of A game Logic On The Building"

Then you could have the chopper fly low.
YourChopper flyinheight 10-20
Adjust the hight to your suits.

You may need to make the chopper careless and combatmode blue.
YourChopper setcombatmode "Blue"
YourChopper setbehaviour "careless"

Does this help ?  ::)

SimonRussi

  • Guest
Re:Landing choppers on buildings
« Reply #2 on: 07 May 2003, 14:55:12 »
make your chopper move near the building as Erik said then setpos it on the roof and if you want to stop completely remove the fuel from it. At least i do it this way ;D

simon

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:Landing choppers on buildings
« Reply #3 on: 07 May 2003, 22:48:21 »
Question: Does the helicopter detect the heighth of the roof when landing or do you have to specify that in the gamelogic's "z" position. ???

If I remember correctly (and thats a BIG if), the absolute height was the top of any surface, be it ground, roof, ship, in early versions of OFP and in later versions (1.46+?) it is ground level. As I am trapped at work, I can not test this myself at this time.
Check out my Camouflage Collection! New items added 31 July 2005.

Offline Tim Pink

  • ECP Team &
  • Former Staff
  • ****
  • "Down with a bang and that'll be the end"
Re:Landing choppers on buildings
« Reply #4 on: 08 May 2003, 06:39:43 »
ok how does the "game logic and [x,y,z] thing work.
"Whoever said nothing is impossible, never tried slamming a revolving door."