Home   Help Search Login Register  

Author Topic: please help with heli's  (Read 470 times)

0 Members and 3 Guests are viewing this topic.

RooKie

  • Guest
please help with heli's
« on: 01 Mar 2003, 15:00:58 »
I'm trying to make mission where player and 3 other guys (player is leader) jump from Heli that flyes slow and low. I can make chopper fly low but how i can make it fly so slow that guys who jump dont get killed or wounded? Even the limited speedmode is too slow so is there anyway to control heli's speed further?

Otherthing
How i can force the playercontrolled squad automatical out from heli without using Disembark order?
« Last Edit: 01 Mar 2003, 15:38:51 by RooKie »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:please help with heli's
« Reply #1 on: 01 Mar 2003, 17:15:46 »
If ypu have the right version of OFP (1.85?) try the setVelocity command.

You could use a script to make your loons jump out automatically.   In this case you'd probably want something based on

soldierOne action ["eject", vehicle soldierOne]
Plenty of reviewed ArmA missions for you to play

RooKie

  • Guest
Re:please help with heli's
« Reply #2 on: 01 Mar 2003, 18:53:24 »
Thnx for help. Just one more question: how the hell that setvelocity works?  ::)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:please help with heli's
« Reply #3 on: 01 Mar 2003, 19:02:00 »
dunno, play with it and see.    I would guess that one component of the array is north-south speed, one east west speed and the third vertical speed.     If your chopper was going roughly northwest (say) and you wanted a speed of 5m/s you would have something like

chopper1 setvelocity [3,-4,0]

As I say, I'm only guessing since I've never used it.   But have a play and see how you get on.    Once you've figured it out post a comment in the online Command Reference to tell people how to use it.  It may be km/h rather than m/s.

That line of script should go in the on activation field of a trigger or waypoint, or in a script file.
« Last Edit: 01 Mar 2003, 19:03:23 by macguba »
Plenty of reviewed ArmA missions for you to play

RooKie

  • Guest
Re:please help with heli's
« Reply #4 on: 01 Mar 2003, 19:09:15 »
I played with it but it seems AI controlled chopters have somekinda minimum speed and even if you put heli1 setvelocity [1.0.0] it will move too fast to jump and survive. Same thing with cars. Its btw fun to look when UAZ moves 1000km/h  ;D

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:please help with heli's
« Reply #5 on: 01 Mar 2003, 19:25:55 »
 ;D

you might be able to fix the jump and survive thing with a looping medical script .... just run it for the few seconds of the jump

_counter=0
#loop
jumper1 setdammage 0
~0.1
_counter=_counter+1
?_counter==20:exit
goto "loop"

syntax not guaranteed, but it might mean that your loons can survive the jump.
Plenty of reviewed ArmA missions for you to play