mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-03 03:21:00 +00:00
67 lines
2.3 KiB
C#
67 lines
2.3 KiB
C#
|
|
//-----------------------------------------------------------------------------
|
||
|
|
// 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 ParticleData(DefaultParticle)
|
||
|
|
{
|
||
|
|
textureName = "data/FPSGameplay/art/particles/defaultParticle";
|
||
|
|
dragCoefficient = 0.498534;
|
||
|
|
gravityCoefficient = 0;
|
||
|
|
inheritedVelFactor = 0.499022;
|
||
|
|
constantAcceleration = 0.0;
|
||
|
|
lifetimeMS = 1313;
|
||
|
|
lifetimeVarianceMS = 500;
|
||
|
|
useInvAlpha = true;
|
||
|
|
spinRandomMin = -360;
|
||
|
|
spinRandomMax = 360;
|
||
|
|
spinSpeed = 1;
|
||
|
|
|
||
|
|
colors[0] = "0.992126 0.00787402 0.0314961 1";
|
||
|
|
colors[1] = "1 0.834646 0 0.645669";
|
||
|
|
colors[2] = "1 0.299213 0 0.330709";
|
||
|
|
colors[3] = "0.732283 1 0 0";
|
||
|
|
|
||
|
|
sizes[0] = 0;
|
||
|
|
sizes[1] = 0.497467;
|
||
|
|
sizes[2] = 0.73857;
|
||
|
|
sizes[3] = 0.997986;
|
||
|
|
|
||
|
|
times[0] = 0.0;
|
||
|
|
times[1] = 0.247059;
|
||
|
|
times[2] = 0.494118;
|
||
|
|
times[3] = 1;
|
||
|
|
|
||
|
|
animTexName = "data/FPSGameplay/art/particles/defaultParticle";
|
||
|
|
};
|
||
|
|
|
||
|
|
datablock ParticleEmitterData(DefaultEmitter)
|
||
|
|
{
|
||
|
|
ejectionPeriodMS = "50";
|
||
|
|
ejectionVelocity = "1";
|
||
|
|
velocityVariance = "0";
|
||
|
|
ejectionOffset = "0.2";
|
||
|
|
thetaMax = "40";
|
||
|
|
particles = "DefaultParticle";
|
||
|
|
blendStyle = "ADDITIVE";
|
||
|
|
softParticles = "0";
|
||
|
|
softnessDistance = "1";
|
||
|
|
};
|