Blockland Forums > Modification Help
Animated textures in particles, do they work?
(1/2) > >>
Quartz:
Has it actually worked for anyone before?
Kyuande:
Yes. The duck cannon uses them.
Conan:
wait, what?! viso, can you post a gif?
Masterlegodude:

--- Quote from: Conan on October 02, 2017, 12:18:33 PM ---wait, what?! viso, can you post a gif?

--- End quote ---
http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Objects/Torque_Console_Objects_7.html#ParticleData_.28PD.29

You can also list multiple particles in an emitter for a one-time animation

--- Code: (Particle_WeatherBuild) ---datablock ParticleEmitterData(ThunderBEmitter)
{
   ejectionPeriodMS = 5000;
   periodVarianceMS = 3000;
   ejectionVelocity = 0.1;
   velocityVariance = 0.0;
   ejectionOffset   = 8.0;
   thetaMin         = 0;
   thetaMax         = 2;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   orientParticles = true;
   particles = "Thunder3Particle Thunder4Particle Thunder5Particle Thunder6Particle";

   useEmitterColors = True;

    uiName = "W Lightning";
};
--- End code ---
Kyuande:
Ok I did not know you can have more then 1 particle on the variable


--- Quote from: Conan on October 02, 2017, 12:18:33 PM ---wait, what?! viso, can you post a gif?

--- End quote ---
Yea you can use a number of images (up to 50) in a particle and it will animate it (badspot fixed the bug where only singleplayer can see it, but now it sends over the network)
Navigation
Message Index
Next page

Go to full version