Wheeled Flying Vehicle
by Robert Brower · 04/03/2005 (9:43 am) · 74 comments
Download Code File
This resource file contains the engine files for a wheeled flying vehicle. The vehicle is a combination of the existing wheeled vehicle and flying vehicles that come with the Torque SDK. There is a script for the vehicle and a sample Max file demonstrating some of the additional features I added, e.g. flaps and rudder animations. The key bindings and options dialog have been changed to support throttle levels. Press Q to throttle up, and E to throttle down. The vehicle takes off and lands when the velocity is at the threshold values for taking off and landing. All files required to make it work are included. There is no readme file. Use at your own risk.
The screenshots show the aircraft taxiing, and taking off.
Enjoy,
Robert
This resource file contains the engine files for a wheeled flying vehicle. The vehicle is a combination of the existing wheeled vehicle and flying vehicles that come with the Torque SDK. There is a script for the vehicle and a sample Max file demonstrating some of the additional features I added, e.g. flaps and rudder animations. The key bindings and options dialog have been changed to support throttle levels. Press Q to throttle up, and E to throttle down. The vehicle takes off and lands when the velocity is at the threshold values for taking off and landing. All files required to make it work are included. There is no readme file. Use at your own risk.
The screenshots show the aircraft taxiing, and taking off.
Enjoy,
Robert
About the author
#62
07/14/2007 (8:05 am)
i started the new compiled demo, but it crashes on mission load..... where is like a log file or the error file that tells me whats wrong?
#63
07/14/2007 (8:29 am)
console.log should be in the same folder as your executable.
#64
07/14/2007 (9:51 am)
im getting the DebrisData(AircraftDebris)::onAdd: velocityVariance invaliderror, althouhg i already changed the velocity variance to 1 from 12 as above.... hmm...
#65
i got it working....except that now the camera is spaned under the airplain. no player is there, i think the player object was tied to the aircraft?
and what must i press to make things move???? like the right mouse button seems to do something. any help?
07/14/2007 (10:11 am)
alrighti got it working....except that now the camera is spaned under the airplain. no player is there, i think the player object was tied to the aircraft?
and what must i press to make things move???? like the right mouse button seems to do something. any help?
#66
in ur post from (Jun 06, 2006 at 19:51), u say that the landing gear lowers and rises... is it in the stock resource too or jsut in ur resource?
plus, that link is broken:S
does anyone still have the resource from ebee? witht he landing gear movment?
07/15/2007 (6:32 am)
@ebee tin ur post from (Jun 06, 2006 at 19:51), u say that the landing gear lowers and rises... is it in the stock resource too or jsut in ur resource?
plus, that link is broken:S
does anyone still have the resource from ebee? witht he landing gear movment?
#67
However I will be playing around with this again soon, so I guess if I could get it to work first time then I can the second....stay tuned.
09/02/2007 (12:05 am)
Sorry 4 my late reply, @TOM if your still on it. It was in my resource, I had modified the .cc and created my own resource, the landing gear raised automaticly when aircraft was 4mtrs above terrain, and also lowered at 4 mtrs but only if throttle was at 0, or no fuel..Unfortunitly I dont have the source anymore. However I will be playing around with this again soon, so I guess if I could get it to work first time then I can the second....stay tuned.
#68
thank you for trying it again, *holds both thumbs* good luck:)
09/02/2007 (5:57 am)
@ebee t, no worries with late replies, better late than never :)thank you for trying it again, *holds both thumbs* good luck:)
#69
09/02/2007 (4:23 pm)
@Tom, Cheers - One thing I do remember was, it was a real trick getting the height detection working properly.. That will be the challenge. What have you got so far, and what do you want it to do? where you going for auto or manual controls? I will see if I cant get this working in 1.5 and make an updated resource.
#70
again., thank you for trying, im kinda new to editing the engine (not following a resource, but actually edititng the engine from an original idea, or implementing/ extending a resource)
thanks
09/02/2007 (7:27 pm)
@ebee t , i was going for manual control of th wheels. with auto (although i can see why it would be useful and could be a hand ful) it might take the fun away from total control of the craft.again., thank you for trying, im kinda new to editing the engine (not following a resource, but actually edititng the engine from an original idea, or implementing/ extending a resource)
thanks
#71
09/03/2007 (12:07 am)
@Tom, Dont worry its all just trial and error, when I first started on this resource I just got into the .cc side of the engine..U soon see whats going on after while, but one things for sure u never stop hitting stumpling blocks. Anyway thats much easier option to go for manual..anyway today I have set-up basic resource for 1.5.2 however I need to do something about that models nodes or cam code, seated under the plane!!! crazy.
#72
----------Updated Resource --------- Works with TGE1.5.2-----------
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13501
please use this thread for future work TGE1.5.2x ------------
09/03/2007 (12:41 am)
O.k I have added a new basic resource at this location----------Updated Resource --------- Works with TGE1.5.2-----------
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13501
please use this thread for future work TGE1.5.2x ------------
#73
10/21/2007 (8:05 am)
How do you make it fly faster? I cant find the parameter to change.
#74
// RFB 02-22-2005 ->
maneuveringForce1 = 300; // Horizontal jets (W,S,D,A key thrust)
maneuveringForce2 = 600; // Horizontal jets (W,S,D,A key thrust)
maneuveringForce3 = 1200; // Horizontal jets (W,S,D,A key thrust)
// <- RFB 02-22-2005
Adjust the mforce1,mforce2,mforce3 to a higher amount. save and run
10/21/2007 (5:00 pm)
@ADAM, Just look in your aircraft.cs and locate these settings // RFB 02-22-2005 ->
maneuveringForce1 = 300; // Horizontal jets (W,S,D,A key thrust)
maneuveringForce2 = 600; // Horizontal jets (W,S,D,A key thrust)
maneuveringForce3 = 1200; // Horizontal jets (W,S,D,A key thrust)
// <- RFB 02-22-2005
Adjust the mforce1,mforce2,mforce3 to a higher amount. save and run

Torque Owner Tom