Home   Help Search Login Register  

Author Topic: Starting at specific speed  (Read 804 times)

0 Members and 1 Guest are viewing this topic.

klavan

  • Guest
Starting at specific speed
« on: 14 Nov 2004, 13:33:19 »
OK, I'm a pilot and I don't wanna to begin my mission in an aircraft that run at 1200 km/h. How can I reduce the speed of that damn Hornet?
I've tried the setvelocity command (from 0,0,0 to xxxx,xxxx,xxxx....), but the plane stall anytime, beginning from a speed of -16!!!
Thanks for any help.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Starting at specific speed
« Reply #1 on: 14 Nov 2004, 16:05:26 »
What if you'd try something like

planename setVelocity [60*(sin(getDir planename)),60*(cos(getDir planename)),1]

How would that work for you?
Not all is lost.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Starting at specific speed
« Reply #2 on: 14 Nov 2004, 16:06:22 »
I'm not entirely sure if this works for aircraft, but maybe you could try it:


myaircraft setSpeedMode "LIMITED"

Which, if it works will give you half speed.

EDIT:  Just tried it.......it works for ai pilots only.  


Planck ::)
« Last Edit: 14 Nov 2004, 17:17:58 by Planck »
I know a little about a lot, and a lot about a little.

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:Starting at specific speed
« Reply #3 on: 14 Nov 2004, 16:48:07 »
I've done this several times when flying around in that F-18: (init line)

Code: [Select]
v=velocity this;this setVelocity[(v select 0)*0.3, (v select 1)*0.3, 0]
That'll slow it down nicely while still keeping the plane flying.

klavan

  • Guest
Re:Starting at specific speed
« Reply #4 on: 15 Nov 2004, 11:52:49 »
OK, problem solved! :)
The Killswitch solution works fine.
Thanks to all you guys! :thumbsup: