Code: Select all
defineParticleSystem{
name = "poison_cloud_limeburst",
emitters = {
{
spawnBurst = true,
maxParticles = 300,
spawnBurst = false,
boxMin = {-0.5, -0.4,-0.5},
boxMax = { 0.5, 0.2, 0.5},
sprayAngle = {0,360},
velocity = {0.0,0.0},
objectSpace = true,
texture = "assets/textures/particles/smoke_01.tga",
lifetime = {3,3},
colorAnimation = false,
color0 = {0.15, 1.5, 0.1},
opacity = 0.2,
fadeIn = 0.5,
fadeOut = 1.5,
size = {0.1, 0.22},
gravity = {0,0.3,0},
airResistance = 10,
rotationSpeed = 0.2,
blendMode = "Additive",
},
-- pollen
{
spawnBurst = true,
maxParticles = 1000,
boxMin = {-1,-1.3,-1},
boxMax = { 1, 0.8, 1},
sprayAngle = {0,30},
velocity = {0.5,1.0},
objectSpace = true,
texture = "assets/textures/particles/smoke_01.tga",
lifetime = {1,2},
color0 = {1.5,1.5,0.5},
opacity = 0.15,
fadeIn = 0.1,
fadeOut = 0.3,
size = {0.03, 0.05},
gravity = {0,-1.2,0},
airResistance = 0.1,
rotationSpeed = 2,
blendMode = "Additive",
},
{
spawnBurst = true,
maxParticles = 200,
boxMin = {-0.5, -0.4,-0.5},
boxMax = { 0.5, 0.2, 0.5},
sprayAngle = {0,360},
velocity = {0.1,0.7},
objectSpace = true,
texture = "assets/textures/particles/poison_cloud.tga",
lifetime = {2.5,2.5},
color0 = {0.5, 0.9, 0.5},
opacity = 0.4,
fadeIn = 0.5,
fadeOut = 1.5,
size = {0.1, 0.25},
gravity = {0,0.3,0},
airResistance = 0.1,
rotationSpeed = 0.5,
blendMode = "Additive",
},
-- fog
{
spawnBurst = true,
maxParticles = 300,
boxMin = {-1.2, -1.0,-1.2},
boxMax = { 1.2, 0.5, 1.2},
sprayAngle = {0,360},
velocity = {0.1,0.7},
objectSpace = true,
texture = "assets/textures/particles/glow.tga",
lifetime = {2,3},
color0 = {0.20, 0.50, 0.14},
opacity = 0.5,
fadeIn = 0.5,
fadeOut = 1.5,
size = {0.4, 0.75},
gravity = {0,0.3,0},
airResistance = 0.1,
rotationSpeed = 0.1,
blendMode = "Additive",
}
}
}