HouseMD

Helicopter flight?

Recommended Posts

i need to know a way to override the helicopter flight so as soon as u get the helicopter/go into the helicopter it's ready to fly, so you don't have to wait for the wings to go fast enough for you to take off... i looked at the vehicle commands, and didn't see anything i could use for it (the engine state change didn't work)

Share this post


Link to post

Just a guess but you could have a look at the race resource. I think it has to do something similar if you use a vehicle-change pickup that changes your vehicle to a helicopter.

Share this post


Link to post

tried that.. all the race resource does is make the helicopter setPosition higher, which i have done and it doesn't work...

Share this post


Link to post

you can try to speed up the game up until the point the heli is ready to take off

Share this post


Link to post

umm that would screw up the whole game wouldn't it? since when u speed up the game it speeds up for everyone therefore screwing up the game eg if driving you could kill urself because u drive too fast

Share this post


Link to post

that's why setGameSpeed exists clientside as well :P

Share this post


Link to post

well i can try that... but wait, wouldn't everything increase also, eg if i was above water i would hit the water even faster

Share this post


Link to post

setVehicleFrozen can be used to freeze the heli in mid air

Share this post


Link to post

if the vehicle change comes from a map, then its quite hard to know if its a heli or not... or i can just make my own getVehicleType command until dp3 comes out

Share this post


Link to post

well you can use getVehicleID for that, you only need to check if the ID corresponds to one of the heli IDs

Share this post


Link to post

You can also use setElementVelocity and just change Z velocity, that would "shoot" you out into space if set to heigh :D

Share this post


Link to post

Here's an idea that I posted earlier in the wrong thread (must have been drunk or something :oops: ).

When DP3 is out you can try to put a dummy ped inside the helicopter (maybe even hide it by setting alpha to 0) and remove it when you start entering (assuming the helicopter engine is turned on by putting a dummy ped inside).

Share this post


Link to post
Here's an idea that I posted earlier in the wrong thread (must have been drunk or something :oops: ).

sry offtopic but lol i did exactly the same with the idea above and even in the same thread^^

Share this post


Link to post

Tried all of them (before even posting this topic) nothing helps :S

Share this post


Link to post

we should have a function for this soon - we used it in race...

Share this post


Link to post

Well hopefully it will be out in DP3 and i didn't find any function in "Race"

Share this post


Link to post

In MTA:SA: Race not the race mod in DM.

Share this post


Link to post
In MTA:SA: Race not the race mod in DM.

I think he means there was no function in Race (scripting).

Well hopefully it will be out in DP3 and i didn't find any function in "Race"

I think he means the function was used in the Race itself.

Share this post


Link to post

setHelicopterRotorSpeed and getHelicopterRotorSpeed have now been added in DP3.

Share this post


Link to post
setHelicopterRotorSpeed and getHelicopterRotorSpeed have now been added in DP3.

Cool! You've got control over every piece of GTA!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.