Game Development Community

FlyingVehicle - Jet and Turbo

by Josiah Wang · in Torque Game Engine · 12/29/2004 (2:24 pm) · 4 replies

How do I get my plane/vehicle to enter into "turbo mode"? (ie like in Tribes 2, right clicking when in a plane would get you super-fast....) I saw a Turbo jet section in the FlyingVehicleData datablock, and was wondering how to activate the Turbo Jet. I looked around in the c++ code in engine/game/vehicles/flyingvehicle.cc, but that didn't really give me a lot of pointers....

Also, when I exported my plane model from gamespace, i made a node _jetnozzle (i read the exporter docs, and it said "This node tells the engine where to emit a jet exhaust from"). I know it gets exported (it's under AlwaysExport in my .cfg file), and I know I have the emitters correctly configured (no errors in console.log). I'm beginning to wonder if this is visible only when 'turbo' is activated? If that's the case, is it possible to create another emitter for 'normal' jet exhaust?

many many thanks!

#1
12/29/2004 (3:00 pm)
Trigger[3] i believe.
#2
12/29/2004 (3:22 pm)
Yyaaay thanks!

Hrm, but my particles still aren't showing up...x.x
#3
12/29/2004 (3:30 pm)
My jet particles don't show up all the time, either.
#4
12/29/2004 (4:06 pm)
YAY ME FOUNDS THE ANSWER!

the node in gameSpace is supposed to be _jetnuzzle0, not just _jetnuzzle. found it while looking at the source

YAYAYAYAYAYYAYA!