how hard would it be to add more contrail emitters
by Anthony Rosenbaum · in General Discussion · 01/22/2002 (9:37 am) · 2 replies
the default hard code only has contrail0 and contrail1/2/3 but with my plane I have 6 wing tips I was wondering if I just go in the code and keep adding contrail04/5/6 and walla it would work, somehow I belive there is a little more to it. If anyone could please explain if I am right or wrong I would appreciate it
Anthony
Anthony
About the author
#2
in fact I found the variable MaxTrail = 4; I presume I would just increace this and it should take care of it. Could a GG guy confirm this
also would I have to increace the trail nodes?
Anthony
01/22/2002 (10:59 am)
that was what I was presuming but I have no Idea where the counter area is located? do you know?in fact I found the variable MaxTrail = 4; I presume I would just increace this and it should take care of it. Could a GG guy confirm this
also would I have to increace the trail nodes?
Anthony
Torque 3D Owner Phil Carlisle
Its probably defined something like:
ContrailEmitters[4];
so change the 4 to a 6;
and it'll do something like
for (uint i = 0 to 4)
{
ContrailEmitters[i].Emitstuff();
}
change the 4 to a 6.
I cant see it being much harder than that.
Phil.