GFX card profile config file logging moved to debug only
WIP mode of guiSliderCtrl to be a filled rectangle instead of a textured UI Fixed bug with guiTextEditCtrl losing focus updating history passing malformed strings Updated WIP options menu Editor/Project settings WIP Updated editor theme to be consistent, and feed off the editor settings Updated popup menus to reference renamed profiles Added more in-progress modules for examples/stress testing
|
|
@ -0,0 +1,21 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack Exec File
|
||||
//
|
||||
// This file executes all the scripts associated with the pack.
|
||||
// Thanks for your support!
|
||||
//
|
||||
// Copyright Adam deGrandis 2012
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
exec ("./LifelikeEmitters.cs");
|
||||
exec ("./LifelikeExp_ComplexLarge.cs");
|
||||
exec ("./LifelikeExp_ComplexSmall.cs");
|
||||
exec ("./LifelikeExp_SimpleLarge.cs");
|
||||
exec ("./LifelikeExp_SimpleSmall.cs");
|
||||
exec ("./LifelikeExp_GroundHitLarge.cs");
|
||||
exec ("./LifelikeExp_GroundHitSmall.cs");
|
||||
exec ("./LifelikeExp_FirebombLarge.cs");
|
||||
exec ("./LifelikeExp_FirebombSmall.cs");
|
||||
exec ("./LifelikeExp_Flak.cs");
|
||||
exec ("./LifelikeExp_Flashbang.cs");
|
||||
|
||||
410
Templates/Modules/RealisticVFX/Datablocks/LifelikeEmitters.cs
Normal file
|
|
@ -0,0 +1,410 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Ambient Particle Emitters
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// This file houses all the ambient emitters in the Lifelike Effects Pack.
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeEmitters.cs");
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Smoke
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
datablock ParticleData(LifelikeSmokeLargeBlackParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
|
||||
gravityCoefficient = -0.2;
|
||||
inheritedVelFactor = 0.00;
|
||||
lifetimeMS = 4000;
|
||||
lifetimeVarianceMS = 250;
|
||||
spinRandomMin = -30;
|
||||
spinRandomMax = 30;
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0 0.1";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
windCoefficient = 1;
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeSmokeLargeBlackEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 130;
|
||||
periodVarianceMS = 50;
|
||||
ejectionVelocity = 1.0;
|
||||
velocityVariance = 0.0;
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 90.0;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = LifelikeSmokeLargeBlackParticle;
|
||||
blendStyle = "NORMAL";
|
||||
ejectionOffset = 0.5;
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeSmokeSmallBlackParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
|
||||
gravityCoefficient = -0.1;
|
||||
lifetimeMS = 2000;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -30;
|
||||
spinRandomMax = 30;
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 2;
|
||||
sizes[2] = 3;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0 0.1";
|
||||
colors[1] = "0.7 0.7 0.6 0.5";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
windCoefficient = 1;
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeSmokeSmallBlackEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 150;
|
||||
periodVarianceMS = 50;
|
||||
ejectionVelocity = 1.0;
|
||||
velocityVariance = 0.0;
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 50.0;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = LifelikeSmokeSmallBlackParticle;
|
||||
blendStyle = "NORMAL";
|
||||
ejectionOffset = 0.1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeSmokeLargeWhiteParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
|
||||
gravityCoefficient = -0.2;
|
||||
inheritedVelFactor = 0.00;
|
||||
lifetimeMS = 4000;
|
||||
lifetimeVarianceMS = 250;
|
||||
spinRandomMin = -30;
|
||||
spinRandomMax = 30;
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0 0.1";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
windCoefficient = 1;
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeSmokeLargeWhiteEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 130;
|
||||
periodVarianceMS = 50;
|
||||
ejectionVelocity = 1.0;
|
||||
velocityVariance = 0.0;
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 90.0;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = LifelikeSmokeLargeWhiteParticle;
|
||||
blendStyle = "NORMAL";
|
||||
ejectionOffset = 0.5;
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeSmokeSmallWhiteParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
|
||||
gravityCoefficient = -0.1;
|
||||
lifetimeMS = 2000;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -30;
|
||||
spinRandomMax = 30;
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 2;
|
||||
sizes[2] = 3;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0 0.1";
|
||||
colors[1] = "0.7 0.7 0.6 0.5";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
windCoefficient = 1;
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeSmokeSmallWhiteEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 150;
|
||||
periodVarianceMS = 50;
|
||||
ejectionVelocity = 1.0;
|
||||
velocityVariance = 0.0;
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 70.0;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = LifelikeSmokeSmallWhiteParticle;
|
||||
blendStyle = "NORMAL";
|
||||
ejectionOffset = 0.1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Fire
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFireSmallParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = "-0.2";
|
||||
lifetimeMS = 1000;
|
||||
lifetimeVarianceMS = 200;
|
||||
useInvAlpha = true;
|
||||
spinRandomMin = -140.0;
|
||||
spinRandomMax = 140.0;
|
||||
|
||||
sizes[0] = "0.5";
|
||||
sizes[1] = "1";
|
||||
sizes[2] = "0.7";
|
||||
|
||||
colors[0] = "0.8 0.6 1 0.5";
|
||||
colors[1] = "0.8 0.4 0 1";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFireSmallEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 70;
|
||||
periodVarianceMS = 30;
|
||||
|
||||
ejectionVelocity = 0.3;
|
||||
velocityVariance = 0.2;
|
||||
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 70.0;
|
||||
|
||||
ejectionOffset = 0.15;
|
||||
|
||||
particles = "LifelikeFireSmallParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFireBigParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = "-0.2";
|
||||
lifetimeMS = 1400;
|
||||
lifetimeVarianceMS = 500;
|
||||
useInvAlpha = true;
|
||||
spinRandomMin = -140.0;
|
||||
spinRandomMax = 140.0;
|
||||
|
||||
sizes[0] = "1";
|
||||
sizes[1] = "2";
|
||||
sizes[2] = "1.5";
|
||||
|
||||
colors[0] = "0.8 0.6 1 0.5";
|
||||
colors[1] = "0.8 0.4 0 0.9";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFireBigEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 70;
|
||||
periodVarianceMS = 30;
|
||||
|
||||
ejectionVelocity = 0.5;
|
||||
velocityVariance = 0.0;
|
||||
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 70.0;
|
||||
|
||||
ejectionOffset = 0.5;
|
||||
|
||||
particles = LifelikeFireBigParticle;
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Embers
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeEmbersSmallParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/ember1";
|
||||
gravityCoefficient = "-0.2";
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 200;
|
||||
useInvAlpha = true;
|
||||
spinRandomMin = -140.0;
|
||||
spinRandomMax = 140.0;
|
||||
|
||||
sizes[0] = "0.5";
|
||||
sizes[1] = "1";
|
||||
sizes[2] = "0.7";
|
||||
|
||||
colors[0] = "1 0.9 0.8 0.5";
|
||||
colors[1] = "1 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeEmbersSmallEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 70;
|
||||
periodVarianceMS = 30;
|
||||
|
||||
ejectionVelocity = 0.3;
|
||||
velocityVariance = 0.2;
|
||||
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 70.0;
|
||||
|
||||
ejectionOffset = 0.15;
|
||||
|
||||
particles = LifelikeEmbersSmallParticle;
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeEmbersBigParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/ember1";
|
||||
gravityCoefficient = "-0.2";
|
||||
lifetimeMS = 2000;
|
||||
lifetimeVarianceMS = 500;
|
||||
useInvAlpha = true;
|
||||
spinRandomMin = -140.0;
|
||||
spinRandomMax = 140.0;
|
||||
|
||||
sizes[0] = "1";
|
||||
sizes[1] = "2";
|
||||
sizes[2] = "1.5";
|
||||
|
||||
colors[0] = "1 0.9 0.8 0.5";
|
||||
colors[1] = "1 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeEmbersBigEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 70;
|
||||
periodVarianceMS = 30;
|
||||
|
||||
ejectionVelocity = 0.5;
|
||||
velocityVariance = 0.0;
|
||||
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 70.0;
|
||||
|
||||
ejectionOffset = 0.5;
|
||||
|
||||
particles = LifelikeEmbersBigParticle;
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Special
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
datablock ParticleData(LifelikeFlareSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
|
||||
gravityCoefficient = -0.2;
|
||||
inheritedVelFactor = 0.00;
|
||||
lifetimeMS = 4000;
|
||||
lifetimeVarianceMS = 250;
|
||||
spinRandomMin = -30;
|
||||
spinRandomMax = 30;
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "1 0.1 0.1 0.1";
|
||||
colors[1] = "1 0.3 0.3 1";
|
||||
colors[2] = "1 0.6 0.6 0.0";
|
||||
|
||||
windCoefficient = 1;
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlareSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 130;
|
||||
periodVarianceMS = 50;
|
||||
ejectionVelocity = 1.0;
|
||||
velocityVariance = 0.0;
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 90.0;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = LifelikeFlareSmokeParticle;
|
||||
blendStyle = "NORMAL";
|
||||
ejectionOffset = 0.5;
|
||||
};
|
||||
|
|
@ -0,0 +1,238 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Large Complex Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_ComplexLarge.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
datablock ParticleData(LifelikeComplexLargeSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
gravityCoefficient = -0.05;
|
||||
lifetimeMS = 3300;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0 1";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 4;
|
||||
sizes[1] = 8;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexLargeSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 2;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 2;
|
||||
particles = "LifelikeComplexLargeSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeComplexLargeFireballParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/fireball";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 700;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -100.0;
|
||||
spinRandomMax = 100.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0.0 1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 7;
|
||||
sizes[2] = 4;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexLargeFireballEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 5;
|
||||
periodVarianceMS = 3;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 3;
|
||||
|
||||
particles = "LifelikeComplexLargeFireballParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeComplexLargeGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.8 0.4 0.0 0.1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 7;
|
||||
sizes[1] = 11;
|
||||
sizes[2] = 5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexLargeGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeComplexLargeGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeComplexLargeSparks2Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark2";
|
||||
dragCoefficient = 4;
|
||||
gravityCoefficient = 1;
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -0.0;
|
||||
spinRandomMax = 0.0;
|
||||
|
||||
colors[0] = "1 1 1 0.0";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.9 0.8 0.7 0";
|
||||
|
||||
sizes[0] = 4.0;
|
||||
sizes[1] = 3.0;
|
||||
sizes[2] = 1.0;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexLargeSparks2Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 2;
|
||||
periodVarianceMS = 1;
|
||||
ejectionVelocity = 70.0;
|
||||
velocityVariance = 10.0;
|
||||
ejectionOffset = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeComplexLargeSparks2Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeComplexLargeSparks1Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark3";
|
||||
lifetimeMS = 350;
|
||||
lifetimeVarianceMS = 20;
|
||||
useInvAlpha = false;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 7;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexLargeSparks1Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 35;
|
||||
velocityVariance = 10;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeComplexLargeSparks1Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeComplexLargeExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 200;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeComplexLargeGlowEmitter;
|
||||
particleDensity = 40;
|
||||
particleRadius = 2;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeComplexLargeSmokeEmitter;
|
||||
emitter[1] = LifelikeComplexLargeFireballEmitter;
|
||||
emitter[2] = LifelikeComplexLargeSparks1Emitter;
|
||||
emitter[3] = LifelikeComplexLargeSparks2Emitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 20.0;
|
||||
|
||||
lightStartRadius = 20.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,238 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Small Complex Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_ComplexSmall.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
datablock ParticleData(LifelikeComplexSmallSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
gravityCoefficient = -0.02;
|
||||
lifetimeMS = 2000;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0 1";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexSmallSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 15;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 1;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0.7;
|
||||
particles = "LifelikeComplexSmallSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeComplexSmallFireballParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/fireball";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 500;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -100.0;
|
||||
spinRandomMax = 100.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0.0 1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexSmallFireballEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 3;
|
||||
ejectionVelocity = 2;
|
||||
velocityVariance = 1;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 1.3;
|
||||
|
||||
particles = "LifelikeComplexSmallFireballParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeComplexSmallGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.8 0.4 0.0 0.1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 3;
|
||||
sizes[1] = 6;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexSmallGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeComplexSmallGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeComplexSmallSparks2Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark2";
|
||||
dragCoefficient = 4;
|
||||
gravityCoefficient = 1;
|
||||
lifetimeMS = 1000;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -0.0;
|
||||
spinRandomMax = 0.0;
|
||||
|
||||
colors[0] = "1 1 1 0.5";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.9 0.8 0.7 0";
|
||||
|
||||
sizes[0] = 2.0;
|
||||
sizes[1] = 1.5;
|
||||
sizes[2] = 0.5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexSmallSparks2Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 1;
|
||||
ejectionVelocity = 40.0;
|
||||
velocityVariance = 10.0;
|
||||
ejectionOffset = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeComplexSmallSparks2Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeComplexSmallSparks1Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark3";
|
||||
lifetimeMS = 300;
|
||||
lifetimeVarianceMS = 20;
|
||||
useInvAlpha = false;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 3.5;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeComplexSmallSparks1Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 17;
|
||||
velocityVariance = 5;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeComplexSmallSparks1Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeComplexSmallExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 130;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeComplexSmallGlowEmitter;
|
||||
particleDensity = 20;
|
||||
particleRadius = 1.2;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeComplexSmallSmokeEmitter;
|
||||
emitter[1] = LifelikeComplexSmallFireballEmitter;
|
||||
emitter[2] = LifelikeComplexSmallSparks1Emitter;
|
||||
emitter[3] = LifelikeComplexSmallSparks2Emitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 5.0;
|
||||
|
||||
lightStartRadius = 10.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,319 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Large Firebomb Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_FirebombLarge.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFirebombLargeSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
gravityCoefficient = -0.1;
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0.1 1";
|
||||
colors[1] = "0.8 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0";
|
||||
|
||||
sizes[0] = 4;
|
||||
sizes[1] = 9;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombLargeSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 25;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 2;
|
||||
velocityVariance = 1;
|
||||
thetaMin = 0;
|
||||
thetaMax = 90;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 2;
|
||||
particles = "LifelikeFirebombLargeSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFirebombLargeFireBlastParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/fireblast";
|
||||
lifetimeMS = 250;
|
||||
lifetimeVarianceMS = 50;
|
||||
|
||||
colors[0] = "1 0.9 0.8 0";
|
||||
colors[1] = "0.8 0.4 0 1";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 15;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombLargeFireBlastEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 50;
|
||||
velocityVariance = 10;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeFirebombLargeFireBlastParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFirebombLargeSparks1Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark1";
|
||||
lifetimeMS = 300;
|
||||
lifetimeVarianceMS = 20;
|
||||
gravityCoefficient = 0;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 0.4";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 6;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombLargeSparks1Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 7;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 40;
|
||||
velocityVariance = 30;
|
||||
thetaMin = 0;
|
||||
thetaMax = 90;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeFirebombLargeSparks1Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFirebombLargeGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.8 0.4 0.0 0.1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 7;
|
||||
sizes[1] = 11;
|
||||
sizes[2] = 5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombLargeGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
|
||||
particles = "LifelikeFirebombLargeGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFirebombLargeFireballParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 700;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -100.0;
|
||||
spinRandomMax = 100.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0.0 1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 7;
|
||||
sizes[2] = 4;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombLargeFireballEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 7;
|
||||
periodVarianceMS = 3;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 3;
|
||||
|
||||
particles = "LifelikeFirebombLargeFireballParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Debris
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
datablock ParticleData(LifelikeFirebombLargeDebrisTrailParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
|
||||
gravityCoefficient = -0.2;
|
||||
lifetimeMS = 500;
|
||||
lifetimeVarianceMS = 300;
|
||||
spinRandomMin = -300;
|
||||
spinRandomMax = 300;
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 3;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0 0.5";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombLargeDebrisTrailEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 10;
|
||||
ejectionVelocity = 5;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 10;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
|
||||
particles = "LifelikeFirebombLargeDebrisTrailParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
ejectionOffset = "2";
|
||||
};
|
||||
|
||||
datablock DebrisData(LifelikeFirebombLargeDebris)
|
||||
{
|
||||
shapeFile = "art/shapes/particles/LifelikeEffectsPack/invisibledebris.dts";
|
||||
emitters[0] = LifelikeFirebombLargeDebrisTrailEmitter;
|
||||
elasticity = 0.4;
|
||||
friction = 0.25;
|
||||
numBounces = 1;
|
||||
bounceVariance = 0;
|
||||
explodeOnMaxBounce = false;
|
||||
staticOnMaxBounce = false;
|
||||
snapOnMaxBounce = false;
|
||||
minSpinSpeed = 100;
|
||||
maxSpinSpeed = 200;
|
||||
render2D = false;
|
||||
lifetime = 2;
|
||||
lifetimeVariance = 1;
|
||||
velocity = 30;
|
||||
velocityVariance = 10;
|
||||
fade = false;
|
||||
useRadiusMass = false;
|
||||
baseRadius = 0.3;
|
||||
gravModifier = 3.0;
|
||||
terminalVelocity = 50;
|
||||
ignoreWater = false;
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeFirebombLargeExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 150;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeFirebombLargeGlowEmitter;
|
||||
particleDensity = 5;
|
||||
particleRadius = 3;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeFirebombLargeSmokeEmitter;
|
||||
emitter[1] = LifelikeFirebombLargeFireballEmitter;
|
||||
emitter[2] = LifelikeFirebombLargeFireBlastEmitter;
|
||||
emitter[3] = LifelikeFirebombLargeSparks1Emitter;
|
||||
|
||||
// Debris
|
||||
debris = LifelikeFirebombLargeDebris;
|
||||
debrisThetaMin = 10;
|
||||
debrisThetaMax = 60;
|
||||
debrisNum = 4;
|
||||
debrisNumVariance = 2;
|
||||
debrisVelocity = 25;
|
||||
debrisVelocityVariance = 5;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 20.0;
|
||||
|
||||
lightStartRadius = 20.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,319 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Small Firebomb Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_FirebombSmall.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFirebombSmallSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
gravityCoefficient = -0.05;
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0.1 1";
|
||||
colors[1] = "0.8 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 4.5;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombSmallSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 30;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 2;
|
||||
velocityVariance = 1;
|
||||
thetaMin = 0;
|
||||
thetaMax = 90;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 1;
|
||||
particles = "LifelikeFirebombSmallSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFirebombSmallFireBlastParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/fireblast";
|
||||
lifetimeMS = 250;
|
||||
lifetimeVarianceMS = 50;
|
||||
|
||||
colors[0] = "1 0.9 0.8 0.5";
|
||||
colors[1] = "0.8 0.4 0 1";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 8;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombSmallFireBlastEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 20;
|
||||
velocityVariance = 10;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeFirebombSmallFireBlastParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFirebombSmallSparks1Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark1";
|
||||
lifetimeMS = 300;
|
||||
lifetimeVarianceMS = 20;
|
||||
gravityCoefficient = 0;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 0.4";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 3;
|
||||
sizes[1] = 2;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombSmallSparks1Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 12;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 20;
|
||||
velocityVariance = 15;
|
||||
thetaMin = 0;
|
||||
thetaMax = 90;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeFirebombSmallSparks1Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFirebombSmallGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.8 0.4 0.0 0.1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 3;
|
||||
sizes[1] = 6;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombSmallGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
|
||||
particles = "LifelikeFirebombSmallGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFirebombSmallFireballParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.15;
|
||||
lifetimeMS = 700;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0.0 1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 3;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombSmallFireballEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 14;
|
||||
periodVarianceMS = 3;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 1.5;
|
||||
|
||||
particles = "LifelikeFirebombSmallFireballParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Debris
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
datablock ParticleData(LifelikeFirebombSmallDebrisTrailParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
|
||||
gravityCoefficient = -0.2;
|
||||
lifetimeMS = 500;
|
||||
lifetimeVarianceMS = 300;
|
||||
spinRandomMin = -300;
|
||||
spinRandomMax = 300;
|
||||
|
||||
sizes[0] = 0.5;
|
||||
sizes[1] = 1.5;
|
||||
sizes[2] = 0.5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0 0.5";
|
||||
colors[2] = "0.8 0.4 0 0";
|
||||
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFirebombSmallDebrisTrailEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 10;
|
||||
ejectionVelocity = 5;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 10;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
|
||||
particles = "LifelikeFirebombSmallDebrisTrailParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
ejectionOffset = "1";
|
||||
};
|
||||
|
||||
datablock DebrisData(LifelikeFirebombSmallDebris)
|
||||
{
|
||||
shapeFile = "art/shapes/particles/LifelikeEffectsPack/invisibledebris.dts";
|
||||
emitters[0] = LifelikeFirebombSmallDebrisTrailEmitter;
|
||||
elasticity = 0.4;
|
||||
friction = 0.25;
|
||||
numBounces = 1;
|
||||
bounceVariance = 0;
|
||||
explodeOnMaxBounce = false;
|
||||
staticOnMaxBounce = false;
|
||||
snapOnMaxBounce = false;
|
||||
minSpinSpeed = 100;
|
||||
maxSpinSpeed = 200;
|
||||
render2D = false;
|
||||
lifetime = 2;
|
||||
lifetimeVariance = 1;
|
||||
velocity = 10;
|
||||
velocityVariance = 4;
|
||||
fade = false;
|
||||
useRadiusMass = false;
|
||||
baseRadius = 0.3;
|
||||
gravModifier = 3.0;
|
||||
terminalVelocity = 50;
|
||||
ignoreWater = false;
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeFirebombSmallExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 120;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeFirebombSmallGlowEmitter;
|
||||
particleDensity = 5;
|
||||
particleRadius = 1.5;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeFirebombSmallSmokeEmitter;
|
||||
emitter[1] = LifelikeFirebombSmallFireballEmitter;
|
||||
emitter[2] = LifelikeFirebombSmallFireBlastEmitter;
|
||||
emitter[3] = LifelikeFirebombSmallSparks1Emitter;
|
||||
|
||||
// Debris
|
||||
debris = LifelikeFirebombSmallDebris;
|
||||
debrisThetaMin = 10;
|
||||
debrisThetaMax = 60;
|
||||
debrisNum = 4;
|
||||
debrisNumVariance = 2;
|
||||
debrisVelocity = 15;
|
||||
debrisVelocityVariance = 5;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 5.0;
|
||||
|
||||
lightStartRadius = 10.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
196
Templates/Modules/RealisticVFX/Datablocks/LifelikeExp_Flak.cs
Normal file
|
|
@ -0,0 +1,196 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Flak Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_Flak.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFlakPointBurstParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/PointBurst";
|
||||
lifetimeMS = 150;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "1 0.6 0.2 1";
|
||||
colors[2] = "0.8 0.4 0.0 0.0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 8;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlakPointBurstEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 40;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 0.1;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeFlakPointBurstParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFlakSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
lifetimeMS = 3300;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.5 0.4 0.1 0";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 3;
|
||||
sizes[1] = 5;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.05;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlakSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 1;
|
||||
thetaMin = 0;
|
||||
thetaMax = 180;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 2;
|
||||
particles = "LifelikeFlakSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFlakSparksParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark1";
|
||||
lifetimeMS = 100;
|
||||
lifetimeVarianceMS = 50;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 3;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlakSparksEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 35;
|
||||
velocityVariance = 10;
|
||||
thetaMin = 0;
|
||||
thetaMax = 180;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeFlakSparksParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFlakHazeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
lifetimeMS = 2500;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.4 0.3 0.1 0";
|
||||
colors[1] = "0.1 0.1 0.1 0.7";
|
||||
colors[2] = "0.1 0.1 0.1 0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 3;
|
||||
sizes[2] = 4;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlakHazeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 0;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 180;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionOffset = 1;
|
||||
|
||||
particles = "LifelikeFlakHazeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeFlakExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 100;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeFlakHazeEmitter;
|
||||
particleDensity = 30;
|
||||
particleRadius = 1;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeFlakSmokeEmitter;
|
||||
emitter[1] = LifelikeFlakPointBurstEmitter;
|
||||
emitter[2] = LifelikeFlakSparksEmitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 10.0;
|
||||
|
||||
lightStartRadius = 10.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,238 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Flashbang Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_Flashbang.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFlashbangPointBurstParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/PointBurst";
|
||||
lifetimeMS = 350;
|
||||
lifetimeVarianceMS = 0;
|
||||
spinRandomMin = -20.0;
|
||||
spinRandomMax = 20.0;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "1.0 0.9 0.8 0.2";
|
||||
colors[2] = "1.0 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 5;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlashbangPointBurstEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 60;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 0;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
particles = "LifelikeFlashbangPointBurstParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFlashbangSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.02;
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -100.0;
|
||||
spinRandomMax = 100.0;
|
||||
|
||||
colors[0] = "0.5 0.5 0.5 0.5";
|
||||
colors[1] = "1 1 1 0.3";
|
||||
colors[2] = "1 1 1 0.0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 3;
|
||||
sizes[2] = 5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlashbangSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 1;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 1;
|
||||
particles = "LifelikeFlashbangSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeFlashbangGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.9 0.8 1 0.1";
|
||||
colors[2] = "0.9 0.8 1 0";
|
||||
|
||||
sizes[0] = 3;
|
||||
sizes[1] = 6;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlashbangGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 30;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeFlashbangGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFlashbangSparks2Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark2";
|
||||
dragCoefficient = 4;
|
||||
gravityCoefficient = 1;
|
||||
lifetimeMS = 1000;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -0.0;
|
||||
spinRandomMax = 0.0;
|
||||
|
||||
colors[0] = "1 1 1 0.5";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.9 0.8 0.7 0";
|
||||
|
||||
sizes[0] = 2.0;
|
||||
sizes[1] = 1.5;
|
||||
sizes[2] = 0.5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlashbangSparks2Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 6;
|
||||
periodVarianceMS = 1;
|
||||
ejectionVelocity = 30.0;
|
||||
velocityVariance = 10.0;
|
||||
ejectionOffset = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeFlashbangSparks2Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(LifelikeFlashbangSparks1Particle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark3";
|
||||
lifetimeMS = 200;
|
||||
lifetimeVarianceMS = 20;
|
||||
useInvAlpha = false;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "1.0 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 3.5;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeFlashbangSparks1Emitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 17;
|
||||
velocityVariance = 5;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeFlashbangSparks1Particle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeFlashbangExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 70;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeFlashbangGlowEmitter;
|
||||
particleDensity = 10;
|
||||
particleRadius = 2;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeFlashbangSmokeEmitter;
|
||||
emitter[1] = LifelikeFlashbangPointBurstEmitter;
|
||||
emitter[2] = LifelikeFlashbangSparks1Emitter;
|
||||
emitter[3] = LifelikeFlashbangSparks2Emitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 3.0;
|
||||
|
||||
lightStartRadius = 10.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "1 0.9 0.8";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,208 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Large Ground Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_GroundHitLarge.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitLargePointBurstParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/PointBurst";
|
||||
lifetimeMS = 350;
|
||||
lifetimeVarianceMS = 0;
|
||||
spinRandomMin = -20.0;
|
||||
spinRandomMax = 20.0;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0.0 0.2";
|
||||
colors[2] = "0.8 0.4 0.0 0.0";
|
||||
|
||||
sizes[0] = 8;
|
||||
sizes[1] = 25;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitLargePointBurstEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 40;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 0;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
particles = "LifelikeGroundHitLargePointBurstParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitLargeSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
gravityCoefficient = 0.5;
|
||||
lifetimeMS = 3000;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.3 0.2 0.1 0";
|
||||
colors[1] = "0.6 0.5 0.4 1";
|
||||
colors[2] = "0.6 0.5 0.4 0";
|
||||
|
||||
sizes[0] = 4;
|
||||
sizes[1] = 14;
|
||||
sizes[2] = 25;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitLargeSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 15;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 10;
|
||||
velocityVariance = 5;
|
||||
thetaMin = 0;
|
||||
thetaMax = 50;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
particles = "LifelikeGroundHitLargeSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitLargeDirtDebrisParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/dirtDebris";
|
||||
//dragCoefficient = 4;
|
||||
gravityCoefficient = 3;
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -40.0;
|
||||
spinRandomMax = 40.0;
|
||||
|
||||
colors[0] = "1 1 1 1";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.9 0.8 0.7 0";
|
||||
|
||||
sizes[0] = 5;
|
||||
sizes[1] = 10;
|
||||
sizes[2] = 14;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitLargeDirtDebrisEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 1;
|
||||
ejectionVelocity = 30.0;
|
||||
velocityVariance = 10.0;
|
||||
ejectionOffset = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 40;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeGroundHitLargeDirtDebrisParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitLargeDirtBlastParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/dirtBlast1";
|
||||
lifetimeMS = 850;
|
||||
lifetimeVarianceMS = 50;
|
||||
gravityCoefficient = 1;
|
||||
|
||||
colors[0] = "0.6 0.5 0.4 1";
|
||||
colors[1] = "0.6 0.5 0.4 1";
|
||||
colors[2] = "0.6 0.5 0.4 0";
|
||||
|
||||
sizes[0] = 5;
|
||||
sizes[1] = 30;
|
||||
sizes[2] = 30;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitLargeDirtBlastEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 20;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 50;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeGroundHitLargeDirtBlastParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeGroundHitLargeExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 200;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeGroundHitLargeSmokeEmitter;
|
||||
particleDensity = 5;
|
||||
particleRadius = 3;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeGroundHitLargeSmokeEmitter;
|
||||
emitter[1] = LifelikeGroundHitLargePointBurstEmitter;
|
||||
emitter[2] = LifelikeGroundHitLargeDirtBlastEmitter;
|
||||
emitter[3] = LifelikeGroundHitLargeDirtDebrisEmitter;
|
||||
|
||||
// Sub explosion objects
|
||||
//subExplosion[0] = LifelikeGroundHitLargeExplosion;
|
||||
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 20.0;
|
||||
|
||||
lightStartRadius = 20.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Small Ground Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_GroundHitSmall.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitSmallPointBurstParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/PointBurst";
|
||||
lifetimeMS = 350;
|
||||
lifetimeVarianceMS = 0;
|
||||
spinRandomMin = -20.0;
|
||||
spinRandomMax = 20.0;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 1";
|
||||
colors[1] = "0.8 0.4 0.0 0.2";
|
||||
colors[2] = "0.8 0.4 0.0 0.0";
|
||||
|
||||
sizes[0] = 4;
|
||||
sizes[1] = 13;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitSmallPointBurstEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 60;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 0;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
particles = "LifelikeGroundHitSmallPointBurstParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitSmallSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke2";
|
||||
gravityCoefficient = 0.5;
|
||||
lifetimeMS = 1500;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.3 0.2 0.1 0";
|
||||
colors[1] = "0.6 0.5 0.4 1";
|
||||
colors[2] = "0.6 0.5 0.4 0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 7;
|
||||
sizes[2] = 12.5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitSmallSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 40;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 6;
|
||||
velocityVariance = 3;
|
||||
thetaMin = 0;
|
||||
thetaMax = 50;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
particles = "LifelikeGroundHitSmallSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitSmallDirtDebrisParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/dirtDebris";
|
||||
//dragCoefficient = 4;
|
||||
gravityCoefficient = 3;
|
||||
lifetimeMS = 1200;
|
||||
lifetimeVarianceMS = 500;
|
||||
spinRandomMin = -40.0;
|
||||
spinRandomMax = 40.0;
|
||||
|
||||
colors[0] = "1 1 1 1";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.9 0.8 0.7 0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 5;
|
||||
sizes[2] = 7;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitSmallDirtDebrisEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 1;
|
||||
ejectionVelocity = 20.0;
|
||||
velocityVariance = 7.0;
|
||||
ejectionOffset = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 40;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
particles = "LifelikeGroundHitSmallDirtDebrisParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
datablock ParticleData(LifelikeGroundHitSmallDirtBlastParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/dirtBlast1";
|
||||
lifetimeMS = 800;
|
||||
lifetimeVarianceMS = 50;
|
||||
gravityCoefficient = 1;
|
||||
|
||||
colors[0] = "0.6 0.5 0.4 1";
|
||||
colors[1] = "0.6 0.5 0.4 1";
|
||||
colors[2] = "0.6 0.5 0.4 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 10;
|
||||
sizes[2] = 13;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.2;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(LifelikeGroundHitSmallDirtBlastEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 30;
|
||||
periodVarianceMS = 2;
|
||||
ejectionVelocity = 13;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 50;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "LifelikeGroundHitSmallDirtBlastParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeGroundHitSmallExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 150;
|
||||
|
||||
// Volume
|
||||
particleEmitter = LifelikeGroundHitSmallSmokeEmitter;
|
||||
particleDensity = 10;
|
||||
particleRadius = 1.5;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = LifelikeGroundHitSmallSmokeEmitter;
|
||||
emitter[1] = LifelikeGroundHitSmallPointBurstEmitter;
|
||||
emitter[2] = LifelikeGroundHitSmallDirtBlastEmitter;
|
||||
emitter[3] = LifelikeGroundHitSmallDirtDebrisEmitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 10.0;
|
||||
|
||||
lightStartRadius = 10.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,202 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Large Simple Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_SimpleLarge.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ParticleData(SimpleLargeSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
dragCoeffiecient = 0.0;
|
||||
gravityCoefficient = -0.05;
|
||||
inheritedVelFactor = 0.0;
|
||||
constantAcceleration = 0.0;
|
||||
lifetimeMS = 3300;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0.1 1";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 4;
|
||||
sizes[1] = 8;
|
||||
sizes[2] = 12;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleLargeSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 2;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 2;
|
||||
particles = "SimpleLargeSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
datablock ParticleData(SimpleLargeSparksParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark1";
|
||||
lifetimeMS = 250;
|
||||
lifetimeVarianceMS = 20;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 0.2";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 3;
|
||||
sizes[2] = 1;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleLargeSparksEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 25;
|
||||
velocityVariance = 10;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "SimpleLargeSparksParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(SimpleLargeFireballParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/fireball";
|
||||
gravityCoefficient = -0.1;
|
||||
lifetimeMS = 500;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -100.0;
|
||||
spinRandomMax = 100.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.9 0.5 0.1 1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 7;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleLargeFireballEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 3;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 2.5;
|
||||
|
||||
particles = "SimpleLargeFireballParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(SimpleLargeGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.8 0.4 0.0 0.1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 7;
|
||||
sizes[1] = 11;
|
||||
sizes[2] = 5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleLargeGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 40;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
|
||||
particles = "SimpleLargeGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeSimpleLargeExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 125;
|
||||
|
||||
// Volume
|
||||
particleEmitter = SimpleLargeGlowEmitter;
|
||||
particleDensity = 20;
|
||||
particleRadius = 2;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = SimpleLargeSmokeEmitter;
|
||||
emitter[1] = SimpleLargeFireballEmitter;
|
||||
emitter[2] = SimpleLargeSparksEmitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 20.0;
|
||||
|
||||
lightStartRadius = 20.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Lifelike Effects Pack - Small Simple Explosion
|
||||
// Copyright Adam deGrandis 2012
|
||||
//
|
||||
// Thanks for your support!
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_SimpleSmall.cs");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Emitters
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
datablock ParticleData(SimpleSmallSmokeParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/smoke1";
|
||||
dragCoeffiecient = 0.0;
|
||||
gravityCoefficient = -0.02;
|
||||
inheritedVelFactor = 0.0;
|
||||
constantAcceleration = 0.0;
|
||||
lifetimeMS = 3300;
|
||||
lifetimeVarianceMS = 200;
|
||||
spinRandomMin = -50.0;
|
||||
spinRandomMax = 50.0;
|
||||
|
||||
colors[0] = "0.1 0.1 0.1 1";
|
||||
colors[1] = "0.7 0.7 0.6 1";
|
||||
colors[2] = "1 0.9 0.8 0.0";
|
||||
|
||||
sizes[0] = 2;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 6;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.1;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleSmallSmokeEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 20;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 1;
|
||||
velocityVariance = 0;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0.7;
|
||||
particles = "SimpleSmallSmokeParticle";
|
||||
blendStyle = "NORMAL";
|
||||
};
|
||||
|
||||
datablock ParticleData(SimpleSmallSparksParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/spark1";
|
||||
lifetimeMS = 200;
|
||||
lifetimeVarianceMS = 20;
|
||||
|
||||
colors[0] = "1.0 0.9 0.8 0.2";
|
||||
colors[1] = "1.0 0.9 0.8 1";
|
||||
colors[2] = "0.8 0.4 0 0.0";
|
||||
|
||||
sizes[0] = 0.5;
|
||||
sizes[1] = 2;
|
||||
sizes[2] = 0.5;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.5;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleSmallSparksEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 20;
|
||||
velocityVariance = 10;
|
||||
thetaMin = 0;
|
||||
thetaMax = 70;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 0;
|
||||
orientOnVelocity = true;
|
||||
orientParticles = true;
|
||||
particles = "SimpleSmallSparksParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(SimpleSmallFireballParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/fireball";
|
||||
gravityCoefficient = -0.1;
|
||||
lifetimeMS = 500;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -100.0;
|
||||
spinRandomMax = 100.0;
|
||||
|
||||
colors[0] = "1 0.9 0.8 1";
|
||||
colors[1] = "0.9 0.5 0.1 1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 1;
|
||||
sizes[1] = 4;
|
||||
sizes[2] = 3;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleSmallFireballEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 3;
|
||||
ejectionVelocity = 2;
|
||||
velocityVariance = 1;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
ejectionoffset = 1;
|
||||
|
||||
particles = "SimpleSmallFireballParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
datablock ParticleData(SimpleSmallGlowParticle)
|
||||
{
|
||||
textureName = "art/shapes/particles/LifelikeEffectsPack/flame1";
|
||||
gravityCoefficient = -0.3;
|
||||
lifetimeMS = 400;
|
||||
lifetimeVarianceMS = 100;
|
||||
spinRandomMin = -200.0;
|
||||
spinRandomMax = 200.0;
|
||||
|
||||
colors[0] = "0.9 0.8 1 0.4";
|
||||
colors[1] = "0.8 0.4 0.0 0.1";
|
||||
colors[2] = "0.8 0.4 0.0 0";
|
||||
|
||||
sizes[0] = 3;
|
||||
sizes[1] = 6;
|
||||
sizes[2] = 2;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.3;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(SimpleSmallGlowEmitter)
|
||||
{
|
||||
ejectionPeriodMS = 40;
|
||||
periodVarianceMS = 5;
|
||||
ejectionVelocity = 3;
|
||||
velocityVariance = 2;
|
||||
thetaMin = 0;
|
||||
thetaMax = 120;
|
||||
phiReferenceVel = 0;
|
||||
phiVariance = 360;
|
||||
|
||||
particles = "SimpleSmallGlowParticle";
|
||||
blendStyle = "ADDITIVE";
|
||||
};
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Explosions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
datablock ExplosionData(LifelikeSimpleSmallExplosion)
|
||||
{
|
||||
//soundProfile = YourSoundDatablock;
|
||||
lifeTimeMS = 125;
|
||||
|
||||
// Volume
|
||||
particleEmitter = SimpleSmallGlowEmitter;
|
||||
particleDensity = 20;
|
||||
particleRadius = 1;
|
||||
|
||||
// Point emission
|
||||
emitter[0] = SimpleSmallSmokeEmitter;
|
||||
emitter[1] = SimpleSmallFireballEmitter;
|
||||
emitter[2] = SimpleSmallSparksEmitter;
|
||||
|
||||
shakeCamera = true;
|
||||
camShakeFreq = "10.0 11.0 9.0";
|
||||
camShakeAmp = "20.0 20.0 20.0";
|
||||
camShakeDuration = 1.5;
|
||||
camShakeRadius = 5.0;
|
||||
|
||||
lightStartRadius = 10.0;
|
||||
lightEndRadius = 0.0;
|
||||
lightStartColor = "1 0.9 0.8";
|
||||
lightEndColor = "0.8 0.4 0.0";
|
||||
lightStartBrightness = 2.0;
|
||||
lightEndBrightness = 0.0;
|
||||
|
||||
};
|
||||
BIN
Templates/Modules/RealisticVFX/Images/dirtBlast1.png
Normal file
|
After Width: | Height: | Size: 395 KiB |
BIN
Templates/Modules/RealisticVFX/Images/dirtDebris.png
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
Templates/Modules/RealisticVFX/Images/ember1.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
Templates/Modules/RealisticVFX/Images/fireball.png
Normal file
|
After Width: | Height: | Size: 402 KiB |
BIN
Templates/Modules/RealisticVFX/Images/fireblast.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
Templates/Modules/RealisticVFX/Images/flame1.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
Templates/Modules/RealisticVFX/Images/invisibledebris.dts
Normal file
BIN
Templates/Modules/RealisticVFX/Images/pointBurst.png
Normal file
|
After Width: | Height: | Size: 268 KiB |
BIN
Templates/Modules/RealisticVFX/Images/smoke1.png
Normal file
|
After Width: | Height: | Size: 329 KiB |
BIN
Templates/Modules/RealisticVFX/Images/smoke2.png
Normal file
|
After Width: | Height: | Size: 360 KiB |
BIN
Templates/Modules/RealisticVFX/Images/spark1.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
Templates/Modules/RealisticVFX/Images/spark2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Templates/Modules/RealisticVFX/Images/spark3.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
23
Templates/Modules/RealisticVFX/RealisticVFX.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
function RealisticVFX::onCreate(%this)
|
||||
{
|
||||
return;
|
||||
if(isObject(DatablockFilesList))
|
||||
{
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeEmitters.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_ComplexLarge.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_ComplexSmall.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_FirebombLarge.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_FirebombSmall.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_Flak.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_Flashbang.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_GroundHitLarge.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_GroundHitSmall.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_SimpleLarge.cs" );
|
||||
DatablockFilesList.add( "data/RalisticVFX/Datablocks/LifeLikeExp_SimpleSmall.cs" );
|
||||
}
|
||||
}
|
||||
|
||||
function RealisticVFX::onDestroy(%this)
|
||||
{
|
||||
}
|
||||
|
||||
15
Templates/Modules/RealisticVFX/RealisticVFX.module
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<ModuleDefinition
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
ModuleId="RealisticVFX"
|
||||
VersionId="1"
|
||||
Group="Game"
|
||||
scriptFile="RealisticVFX.cs"
|
||||
CreateFunction="onCreate"
|
||||
DestroyFunction="onDestroy">
|
||||
<DeclaredAssets
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
Extension="asset.taml"
|
||||
Recurse="true" />
|
||||
</ModuleDefinition>
|
||||