| Blockland Forums > Modification Help |
| Glitch with particle effect & emitter. |
| (1/1) |
| Extrude:
--- Code: ---datablock ParticleData(TTTTracer) { dragCoefficient = 3.0; windCoefficient = 0.0; gravityCoefficient = 0.0; inheritedVelFactor = 0.0; constantAcceleration = 0.0; lifetimeMS = 120; lifetimeVarianceMS = 0; spinSpeed = 10.0; spinRandomMin = -50.0; spinRandomMax = 50.0; useInvAlpha = false; animateTexture = false; //framesPerSec = 1; textureName = "base/data/particles/dot"; //animTexName = "~/data/particles/dot"; // Interpolation variables colors[0] = "1 1 0 0.5"; colors[1] = "1 1 0.4 0.5"; sizes[0] = 0.05; sizes[1] = 0.01; times[0] = 0.0; times[1] = 0.25; }; datablock ParticleEmitterData(TTTTracerEmitter) { ejectionPeriodMS = 2; periodVarianceMS = 0; ejectionVelocity = 0; //0.25; velocityVariance = 0; //0.10; ejectionOffset = 0; thetaMin = 0.0; thetaMax = 90.0; particles = TTTTracer; useEmitterColors = false; }; --- End code --- I'm trying to make an emitter, that's a small semi-transparent yellow trail behind the bullet. The yellow trail works, but there is also a very large white trail, about 5x the size of the smaller one. What's causing thing? |
| Extrude:
Bump. |
| Zloff:
maybe get rid of both times[0] and times[1] variables |
| Amade:
Either times[1] needs to be 1 or you need to add a times[2] that's 1 (and a color[2] and sizes[2]). |
| Extrude:
Suprisingly, Zloff's idea worked. I didn't think the times had anything to do with it. Thanks. |
| Navigation |
| Message Index |