mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
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:
parent
a868b649ad
commit
65197aa753
|
|
@ -41,6 +41,39 @@ datablock SFXProfile(TeleportSound)
|
||||||
preload = true;
|
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
|
// Particles to use for the emitter at the teleporter
|
||||||
datablock ParticleData(TeleporterParticles)
|
datablock ParticleData(TeleporterParticles)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,26 +23,3 @@
|
||||||
// This is the default save location for any Particle datablocks created in the
|
// This is the default save location for any Particle datablocks created in the
|
||||||
// Particle Editor (this script is executed from onServerCreated())
|
// 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";
|
|
||||||
};
|
|
||||||
|
|
|
||||||
|
|
@ -23,11 +23,3 @@
|
||||||
// This is the default save location for any Particle Emitter datablocks created in the
|
// This is the default save location for any Particle Emitter datablocks created in the
|
||||||
// Particle Editor (this script is executed from onServerCreated())
|
// 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";
|
|
||||||
};
|
|
||||||
Loading…
Reference in a new issue