Moved teleporter related particle data out of the managed data file and into art/datablock/teleporter.cs. I also corrected a bad filepath that would prevent mission loading.

This commit is contained in:
thecelloman 2013-04-02 14:54:01 -04:00
parent a868b649ad
commit 65197aa753
3 changed files with 33 additions and 31 deletions

View file

@ -41,6 +41,39 @@ datablock SFXProfile(TeleportSound)
preload = true;
};
datablock ParticleData(TeleporterFlash : DefaultParticle)
{
dragCoefficient = "30";
inheritedVelFactor = "0";
constantAcceleration = "0";
lifetimeMS = "500";
spinRandomMin = "-90";
spinRandomMax = "90";
textureName = "art/particles/flare.png";
animTexName = "art/particles/flare.png";
colors[0] = "0.678431 0.686275 0.913726 0.207";
colors[1] = "0 0.543307 1 0.759";
colors[2] = "0.0472441 0.181102 0.92126 0.838";
colors[3] = "0.141732 0.0393701 0.944882 0";
sizes[0] = "0";
sizes[1] = "0";
sizes[2] = "4";
sizes[3] = "0.1";
times[1] = "0.166667";
times[2] = "0.666667";
lifetimeVarianceMS = "0";
gravityCoefficient = "-9";
};
datablock ParticleEmitterData(TeleportFlash_Emitter : DefaultEmitter)
{
ejectionVelocity = "0.1";
particles = "TeleporterFlash";
thetaMax = "180";
softnessDistance = "1";
ejectionOffset = "0.417";
};
// Particles to use for the emitter at the teleporter
datablock ParticleData(TeleporterParticles)
{

View file

@ -23,26 +23,3 @@
// This is the default save location for any Particle datablocks created in the
// Particle Editor (this script is executed from onServerCreated())
datablock ParticleData(TeleporterFlash : DefaultParticle)
{
dragCoefficient = "30";
inheritedVelFactor = "0";
constantAcceleration = "0";
lifetimeMS = "500";
spinRandomMin = "-90";
spinRandomMax = "90";
textureName = "art/shapes/particles/flare.png";
animTexName = "art/shapes/particles/flare.png";
colors[0] = "0.678431 0.686275 0.913726 0.207";
colors[1] = "0 0.543307 1 0.759";
colors[2] = "0.0472441 0.181102 0.92126 0.838";
colors[3] = "0.141732 0.0393701 0.944882 0";
sizes[0] = "0";
sizes[1] = "0";
sizes[2] = "4";
sizes[3] = "0.1";
times[1] = "0.166667";
times[2] = "0.666667";
lifetimeVarianceMS = "0";
gravityCoefficient = "-9";
};

View file

@ -23,11 +23,3 @@
// This is the default save location for any Particle Emitter datablocks created in the
// Particle Editor (this script is executed from onServerCreated())
datablock ParticleEmitterData(TeleportFlash_Emitter : DefaultEmitter)
{
ejectionVelocity = "0.1";
particles = "TeleporterFlash";
thetaMax = "180";
softnessDistance = "1";
ejectionOffset = "0.417";
};