ParticleEditor datablocks are not showing up?
by Larry Dolyniuk · in Torque 3D Professional · 08/27/2009 (8:21 pm) · 2 replies
I added this code to my artdatablocks directory:
After loading ingame I make a new Particle Emitter named Particle1 and select emitter under General tab, and set it to "RealFireEmitter" then I select datablock under the Misc tab and there is no "RealFireParticle" datablock to select nor is there any other datablock of any of my particles that I can select, and typing out the name is not an option.
I have tried many things even adding it into the .mis file under Particle1 and yet I have no luck.
Am I doing something wrong? This code was originally for TGEA I believe.
datablock ParticleData(RealFireParticle)
{
textureName = "/art/shapes/particles/smoke";
dragCoefficient = 0.0;
gravityCoefficient = -0.075; // rises slowly
inheritedVelFactor = 0.00;
lifetimeMS = 2000;
lifetimeVarianceMS = 0;
useInvAlpha = false;
spinRandomMin = -90.0;
spinRandomMax = 90.0;
colors[0] = "0.6 0.2 0.0 1.0";
colors[1] = "0.6 0.2 0.0 1.0";
colors[2] = "0.2 0.0 0.0 0.0";
sizes[0] = 0.9;
sizes[1] = 0.75;
sizes[2] = 0.3;
times[0] = 0.0;
times[1] = 0.5;
times[2] = 1.0;
};
datablock ParticleEmitterData(RealFireEmitter)
{
ejectionPeriodMS = 200;
periodVarianceMS = 0;
ejectionVelocity = 0.07;
velocityVariance = 0.00;
thetaMin = 1.0;
thetaMax = 100.0;
particles = "RealFireParticle";
};After loading ingame I make a new Particle Emitter named Particle1 and select emitter under General tab, and set it to "RealFireEmitter" then I select datablock under the Misc tab and there is no "RealFireParticle" datablock to select nor is there any other datablock of any of my particles that I can select, and typing out the name is not an option.
I have tried many things even adding it into the .mis file under Particle1 and yet I have no luck.
Am I doing something wrong? This code was originally for TGEA I believe.
About the author
Associate Michael Hall
Distracted...
Oh, and get rid of the first slash ( / ) in your textureName path, it should read: