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

32 lines
635 B
Plaintext

//
// fireballsmoke
//
numParticles 40
material textures/particles/smokepuff
initialVelocity ( point, 2, 0, 0.0 )
size ( 25, 30 )
randomColor ( 0.1, line, 0.2, 0.15, 0.1, 0.25, 0.20, 0.15 )
angle ( 0, 359 )
rotationSpeed ( 2, 2 )
liveforever
movewithParent
begin {
// when a particle dies, it will re-start with the same base velocity
copyVelocitys
targetSize ( 20, 0.015 )
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.05 )
source ( 0.95, point, 0.0, 0.0, 0.0 )
killIfOlderThan 40
killUnseen
applyDamping (0.9, 0.9, 0.9)
gravity ( 0.0, 0.0, 0.005 )
// run this loop
applyMathSoFar
}