Game Development Community

Vehicles and Flying

by Ian Roach · in Torque Game Engine · 12/01/2002 (6:48 pm) · 14 replies

Hmm is it me or is there something screwed with flying vehicles. ?

Ive tried BadGuys tutorial endlessly as well as the new Mass and Force datablocks which changed when the vehicle code changed and yet i still cant get flying vehicles working.

When mounting does work as soon as you try to fly them It will crash the game.

We are using our own model which works fine in tribes 2 (replace the shrike with our model and everythings fine)

However if we chuck it in our game when you try to fly it it will crash the game and when debugging you get this error

"Bad world box!"

If a vehicle works in tribes 2 (mount points e.t.c) it should work the same for torque ?

Does anyone have any flying vehicles working and flying correctly ? If so could you possibly post your entire vehicle script/scripts.

Ive searched the forums countlessly on vehicles and there is a heap of forum posts but none stating how they got them working.

THis is our one major hurdle we need to overcome :/

#1
12/01/2002 (8:43 pm)
Hey listen, you don't need flying vehicles, shaders, bump mapping or any of that other fancy junk to make a good game.
#2
12/01/2002 (9:11 pm)
Ummmmmmmmm Yeh!
#3
12/01/2002 (10:37 pm)
Come on, give me a break...

If flying vehicles are part of a good design then they ARE needed to make a good game.

I would help out, but I dont know how to.

Sorry.

Good luck with it though.
#4
12/02/2002 (1:23 am)
Mhm, we got flying vehicles working since months...
I've just put an old T2 scout in, followed Badguys tutorial and adjusted some script parts... I didn't have any problems...
maybe I can post it as a little resource...
#5
12/02/2002 (1:31 am)
Yes please do Stefan.

And what is so wrong with getting flying vehicles? its not like bump mapping, it really can add to the game and become very useful.
#6
12/02/2002 (1:41 am)
tork.zenkel.com/tutorials/vehicles/flyingVehicle.zip
Ok, that is the test script we are using and the T2 airscout... of course, you have to adjusts paths, sounds, emitters, etc., but it should work... :)
At least it works for us, and we are using HEAD...
#7
12/02/2002 (5:13 pm)
Thank you very much Stefan :-D.

Edward
#8
12/02/2002 (5:40 pm)
Thanks so much Stefan. Whilst we managed to finally get it working without needing your scripts im sure alot of others will find it useful.

It turned out it was one measly force value that was set to high.

See this forum post for the exact fix

http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=7280
#9
12/02/2002 (6:32 pm)
Anthony, god, you are such a kid. If you are a moron and can't code some simple graphic effects then be it... but stop bugging everyone else when they ask other questions ... he didnt even mention the graphics topic... don't be an idiot... or more than you already showed you are.
Please.
#10
12/02/2002 (6:35 pm)
Xavier can you bump my map please ? :D
#12
02/22/2003 (9:20 am)
The flyingVehicle.zip has been removed. Does it have a new location. I a guessing it was removed because it no longer works with the HEAD???
#13
02/23/2003 (1:20 am)
Link works for me.
#14
02/23/2003 (8:07 am)
Sweet! I got it now.