


You could probably spawn an additional particle effect using the "wood_splinter" texture
....this ones from the asset pack: "hit_wood"
Code: Select all
defineParticleSystem{
name = "hit_wood",
emitters = {
{
spawnBurst = true,
maxParticles = 60,
boxMin = {-0.5,-0.5,-0.5},
boxMax = { 0.5, 0.25, 0.5},
sprayAngle = {0,60},
velocity = {2,4},
objectSpace = false,
texture = "assets/textures/particles/wood_splinter.tga",
lifetime = {0.7,1},
color0 = {0.55, 0.45, 0.4},
opacity = 0.5,
fadeIn = 0.1,
fadeOut = 0.3,
size = {0.1, 0.2},
gravity = {0,-7,0},
airResistance = 0.2,
rotationSpeed = 2,
blendMode = "Translucent",
clampToGroundPlane = true,
},
{
spawnBurst = true,
maxParticles = 40,
boxMin = {-0.75,-0.5,-0.75},
boxMax = { 0.75, 0.25, 0.75},
sprayAngle = {0,100},
velocity = {0.5,2},
objectSpace = false,
texture = "assets/textures/particles/smoke_01.tga",
lifetime = {0.3,1.5},
color0 = {0.65, 0.4, 0.3},
opacity = 0.3,
fadeIn = 0.1,
fadeOut = 0.3,
size = {0.5, 1.5},
gravity = {0,0,0},
airResistance = 2,
rotationSpeed = 1,
blendMode = "Translucent",
},
}
}