Skip to content

Instantly share code, notes, and snippets.

@Crystalwarrior
Created December 1, 2013 20:13
Show Gist options
  • Select an option

  • Save Crystalwarrior/7740090 to your computer and use it in GitHub Desktop.

Select an option

Save Crystalwarrior/7740090 to your computer and use it in GitHub Desktop.
datablock ParticleData(SurfTrailParticle_Acid : SurfTrailParticle_Default) {
textureName = "Base/Data/Particles/ring";
constantAcceleration = 0.1;
useInvAlpha = 0;
spinSpeed = 0;
gravityCoefficient = -0.05;
spinRandomMin = 0;
spinRandomMax = 0;
colors[0] = "0 0.7 0 1";
colors[1] = "0 0.7 0 1";
colors[2] = "0 0.1 0 0";
sizes[0] = 0;
sizes[1] = 0.2;
sizes[2] = 0.3;
times[0] = 0;
times[1] = 0.25;
times[2] = 1;
};
datablock ParticleEmitterData(SurfTrailEmitter_Acid : SurfTrailEmitter_Default) {
ejectionPeriodMS = 10;
ejectionOffset = 0.3;
thetaMin = 0;
thetaMax = 179;
velocityVariance = 0.2;
phiReferenceVel = 0;
phiVariance = 360;
particles = SurfTrailParticle_Acid;
};
datablock ShapeBaseImageData(SurfTrail_Acid : SurfTrail_Default) {
stateEmitter[0] = SurfTrailEmitter_Acid;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment