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

39 lines
877 B
Plaintext

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