HouseMD Posted June 3, 2008 Share Posted June 3, 2008 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) Link to comment
Mr.Hankey Posted June 4, 2008 Share Posted June 4, 2008 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. Link to comment
HouseMD Posted June 4, 2008 Author Share Posted June 4, 2008 tried that.. all the race resource does is make the helicopter setPosition higher, which i have done and it doesn't work... Link to comment
norby89 Posted June 4, 2008 Share Posted June 4, 2008 you can try to speed up the game up until the point the heli is ready to take off Link to comment
HouseMD Posted June 4, 2008 Author Share Posted June 4, 2008 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 Link to comment
norby89 Posted June 4, 2008 Share Posted June 4, 2008 that's why setGameSpeed exists clientside as well Link to comment
HouseMD Posted June 4, 2008 Author Share Posted June 4, 2008 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 Link to comment
norby89 Posted June 4, 2008 Share Posted June 4, 2008 setVehicleFrozen can be used to freeze the heli in mid air Link to comment
HouseMD Posted June 4, 2008 Author Share Posted June 4, 2008 getVehicleType doesn't come out until dp3 lol Link to comment
norby89 Posted June 4, 2008 Share Posted June 4, 2008 what do you need that for though? Link to comment
HouseMD Posted June 4, 2008 Author Share Posted June 4, 2008 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 Link to comment
norby89 Posted June 4, 2008 Share Posted June 4, 2008 well you can use getVehicleID for that, you only need to check if the ID corresponds to one of the heli IDs Link to comment
50p Posted June 5, 2008 Share Posted June 5, 2008 You can also use setElementVelocity and just change Z velocity, that would "shoot" you out into space if set to heigh Link to comment
Mr.Hankey Posted June 5, 2008 Share Posted June 5, 2008 http://development.mtasa.com/index.php? ... hicleModel have you tried this? I haven't tested it yet but i think it could work... Link to comment
Ace_Gambit Posted June 5, 2008 Share Posted June 5, 2008 Here's an idea that I posted earlier in the wrong thread (must have been drunk or something ). 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). Link to comment
Mr.Hankey Posted June 5, 2008 Share Posted June 5, 2008 Here's an idea that I posted earlier in the wrong thread (must have been drunk or something ). sry offtopic but lol i did exactly the same with the idea above and even in the same thread^^ Link to comment
HouseMD Posted June 5, 2008 Author Share Posted June 5, 2008 Tried all of them (before even posting this topic) nothing helps Link to comment
eAi Posted June 7, 2008 Share Posted June 7, 2008 we should have a function for this soon - we used it in race... Link to comment
HouseMD Posted June 8, 2008 Author Share Posted June 8, 2008 Well hopefully it will be out in DP3 and i didn't find any function in "Race" Link to comment
eAi Posted June 8, 2008 Share Posted June 8, 2008 In MTA:SA: Race not the race mod in DM. Link to comment
50p Posted June 9, 2008 Share Posted June 9, 2008 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. Link to comment
eAi Posted June 9, 2008 Share Posted June 9, 2008 setHelicopterRotorSpeed and getHelicopterRotorSpeed have now been added in DP3. Link to comment
50p Posted June 10, 2008 Share Posted June 10, 2008 setHelicopterRotorSpeed and getHelicopterRotorSpeed have now been added in DP3. Cool! You've got control over every piece of GTA! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now