Files
DoomRTX/e3/particles/bloodpuff.particle
T
2026-05-20 12:29:30 -07:00

40 lines
909 B
Plaintext

//
// smokepuff
//
numParticles 8
material textures/particles/bloodpuff
initialVelocity ( cylinder, 0.0, -0.01, 0.55, 0.0, -0.01, 4.5, 1, 1 )
// the size is between 0.5 and 1.25
size ( 2.0, 5.0 )
// random color alpha, domain rgb
//randomColor ( 1.0, line, 0.8, 0, 0, 0.1, 0.0, 0.0 )
livefor 6
angle ( 0, 359 )
rotationSpeed ( -2, 2 )
staydead
moveWithParent
begin {
// when a particle dies, it will re-start with the same base velocity
copyVelocitys
// target color rgba, scale to get there
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.125 )
targetSize ( 10, 0.3 )
// allow up to 1 particles per iteration to appear in the defined plane
source ( 3, line, 0,0,0, 0, 4, 0 )
// what kind of gravity force is applied to them
gravity ( 0.0, 0.0, -0.1 )
// slow them down
applyDamping (0.9, 0.9, 0.8)
killUnseen
// run this loop
applyMathSoFar
}