| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- //-----------------------------------------------------------------------------
- // Copyright (c) 2012 GarageGames, LLC
- //
- // Permission is hereby granted, free of charge, to any person obtaining a copy
- // of this software and associated documentation files (the "Software"), to
- // deal in the Software without restriction, including without limitation the
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- // sell copies of the Software, and to permit persons to whom the Software is
- // furnished to do so, subject to the following conditions:
- //
- // The above copyright notice and this permission notice shall be included in
- // all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- // IN THE SOFTWARE.
- //-----------------------------------------------------------------------------
- datablock ParticleEmitterNodeData(DefaultEmitterNodeData)
- {
- timeMultiple = 1;
- };
- // Smoke
- datablock ParticleData(Smoke)
- {
- textureName = "art/particles/smoke";
- dragCoefficient = 0.3;
- gravityCoefficient = -0.2; // rises slowly
- inheritedVelFactor = 0.00;
- lifetimeMS = 3000;
- lifetimeVarianceMS = 250;
- useInvAlpha = true;
- spinRandomMin = -30.0;
- spinRandomMax = 30.0;
- sizes[0] = 1.5;
- sizes[1] = 2.75;
- sizes[2] = 6.5;
- times[0] = 0.0;
- times[1] = 0.5;
- times[2] = 1.0;
- };
- datablock ParticleEmitterData(SmokeEmitter)
- {
- ejectionPeriodMS = 400;
- periodVarianceMS = 5;
- ejectionVelocity = 0.0;
- velocityVariance = 0.0;
- thetaMin = 0.0;
- thetaMax = 90.0;
- particles = Smoke;
- };
- datablock ParticleEmitterNodeData(SmokeEmitterNode)
- {
- timeMultiple = 1;
- };
- // Ember
- datablock ParticleData(EmberParticle)
- {
- textureName = "art/particles/ember";
- dragCoefficient = 0.0;
- windCoefficient = 0.0;
- gravityCoefficient = -0.05; // rises slowly
- inheritedVelFactor = 0.00;
- lifetimeMS = 5000;
- lifetimeVarianceMS = 0;
- useInvAlpha = false;
- spinRandomMin = -90.0;
- spinRandomMax = 90.0;
- spinSpeed = 1;
- colors[0] = "1.000000 0.800000 0.000000 0.800000";
- colors[1] = "1.000000 0.700000 0.000000 0.800000";
- colors[2] = "1.000000 0.000000 0.000000 0.200000";
- sizes[0] = 0.05;
- sizes[1] = 0.1;
- sizes[2] = 0.05;
- times[0] = 0.0;
- times[1] = 0.5;
- times[2] = 1.0;
- };
- datablock ParticleEmitterData(EmberEmitter)
- {
- ejectionPeriodMS = 100;
- periodVarianceMS = 0;
- ejectionVelocity = 0.75;
- velocityVariance = 0.00;
- ejectionOffset = 2.0;
- thetaMin = 1.0;
- thetaMax = 100.0;
- particles = "EmberParticle";
- };
- datablock ParticleEmitterNodeData(EmberNode)
- {
- timeMultiple = 1;
- };
- // Fire
- datablock ParticleData(FireParticle)
- {
- textureName = "art/particles/smoke";
- dragCoefficient = 0.0;
- windCoefficient = 0.0;
- gravityCoefficient = -0.05; // rises slowly
- inheritedVelFactor = 0.00;
- lifetimeMS = 5000;
- lifetimeVarianceMS = 1000;
- useInvAlpha = false;
- spinRandomMin = -90.0;
- spinRandomMax = 90.0;
- spinSpeed = 1.0;
- colors[0] = "0.2 0.2 0.0 0.2";
- colors[1] = "0.6 0.2 0.0 0.2";
- colors[2] = "0.4 0.0 0.0 0.1";
- colors[3] = "0.1 0.04 0.0 0.3";
- sizes[0] = 0.5;
- sizes[1] = 4.0;
- sizes[2] = 5.0;
- sizes[3] = 6.0;
- times[0] = 0.0;
- times[1] = 0.1;
- times[2] = 0.2;
- times[3] = 0.3;
- };
- datablock ParticleEmitterData(FireEmitter)
- {
- ejectionPeriodMS = 50;
- periodVarianceMS = 0;
- ejectionVelocity = 0.55;
- velocityVariance = 0.00;
- ejectionOffset = 1.0;
- thetaMin = 1.0;
- thetaMax = 100.0;
- particles = "FireParticle";
- };
- datablock ParticleEmitterNodeData(FireNode)
- {
- timeMultiple = 1;
- };
- // Torch Fire
- datablock ParticleData(TorchFire1)
- {
- textureName = "art/particles/smoke";
- dragCoefficient = 0.0;
- gravityCoefficient = -0.3; // rises slowly
- inheritedVelFactor = 0.00;
- lifetimeMS = 500;
- lifetimeVarianceMS = 250;
- useInvAlpha = false;
- spinRandomMin = -30.0;
- spinRandomMax = 30.0;
- spinSpeed = 1;
- colors[0] = "0.6 0.6 0.0 0.1";
- colors[1] = "0.8 0.6 0.0 0.1";
- colors[2] = "0.0 0.0 0.0 0.1";
- sizes[0] = 0.5;
- sizes[1] = 0.5;
- sizes[2] = 2.4;
- times[0] = 0.0;
- times[1] = 0.5;
- times[2] = 1.0;
- };
- datablock ParticleData(TorchFire2)
- {
- textureName = "art/particles/smoke";
- dragCoefficient = 0.0;
- gravityCoefficient = -0.5; // rises slowly
- inheritedVelFactor = 0.00;
- lifetimeMS = 800;
- lifetimeVarianceMS = 150;
- useInvAlpha = false;
- spinRandomMin = -30.0;
- spinRandomMax = 30.0;
- spinSpeed = 1;
- colors[0] = "0.8 0.6 0.0 0.1";
- colors[1] = "0.6 0.6 0.0 0.1";
- colors[2] = "0.0 0.0 0.0 0.1";
- sizes[0] = 0.3;
- sizes[1] = 0.3;
- sizes[2] = 0.3;
- times[0] = 0.0;
- times[1] = 0.5;
- times[2] = 1.0;
- };
- datablock ParticleEmitterData(TorchFireEmitter)
- {
- ejectionPeriodMS = 15;
- periodVarianceMS = 5;
- ejectionVelocity = 0.25;
- velocityVariance = 0.10;
- thetaMin = 0.0;
- thetaMax = 45.0;
- particles = "TorchFire1" TAB "TorchFire2";
- };
- datablock ParticleEmitterNodeData(TorchFireEmitterNode)
- {
- timeMultiple = 1;
- };
|