Game Development Community

JetNozzle

by Sylvain · in Artist Corner · 09/26/2007 (12:17 pm) · 4 replies

Hi there.
I am using a controlable FlyingVehicle in my project. And i would like to be able to trigger emissions of smoke from the vehicle. I saw that there were some parameters in the datablock that allow us to use directly emitters : trailEmitter/ForwardJetEmitter/downJetEmitter.
After a bit of searching, I learned that I needed to add new nodes to my DTS file : JetNozzle0,1,2 and then, for each "emitter parameter" give a reference to an existing emitter.
So I was wondering :

1) do these additional nodes need to be parented to "Detail32" ? to "Start" ? (never used an empty called "start" before, but i saw that on an other website ...)

2)Are there other nodes that i'd need to add to my model, without which the jetnozzle nodes wouldn't be recognized or something ?

(a bit far-fetched perhaps, but i already spent a couple hours trying to figure out how to have it working ...)

3) (Perhaps not in the right part of the forum for this one !) How do I activate the emitters ? I might have done the exporting correctly (at least once, since I did many attempts !), but I never saw any particle of smoke .....

And yes, the emitter is working if I put it in the world by itself.

Thanks in advance !

#1
09/26/2007 (3:10 pm)
...
#2
09/27/2007 (2:19 am)
That's one of the different options I tried yesterday ! I tried again a couple of minutes ago, with the same result : I have my flying vehicle hovering, but I can't see the particle emitters ...

I now need to figure out how to activate the emitters.
I read somewhere that I needed to call the mouseJet function in order to turn the emitters on.
I'm going to post an other thread somewhere else in the forum, since my issue is not a blender-related one !
Thanks !
#3
09/27/2007 (3:56 am)
Uhm, can't resist: Flight Game Example :-)
#4
09/27/2007 (4:03 am)
As this is the public forum, I can't post more, but if you own TGE, look into engine/game/vehicles/flyingvehicle.cc the "sJetNode" list of nodes is the one you search for. It contains all names of the jet and contrail emitters. For backward thrusting you need also the JetNozzleX and JetNozzleY nodes!