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

42 lines
977 B
Plaintext

//
// longer firetrail
//
numParticles 140
material textures/particles/smokepuff
// material textures/sfx/firetrail
//initialVelocity ( cone, 0.0, 0.0, 0.0, 0, 0, 0, 3.2, 3 )
initialVelocity ( point, 0.0, 0.0, 0.0 )
size ( 8, 12 )
randomColor ( 0.1, line, 0.3, 0.3, 0.3, 0.7, 0.7, 0.7 )
angle ( 0, 359 )
rotationSpeed ( -1, 1 )
trailSize 2
liveForever
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.6, 0.4, 0.1, 0.0, 0.55 )
targetSize (1, 0.009)
//source ( 0.55, box, -1, -1, -1, 1, 1, 1)
source ( 1.55, plane, -5, -5, 2.0, 10, 0, 0, 0, 15, 0)
//source ( 0.55, cone, 0, 0, 0, 0, 0, 0, 0, 0)
// what kind of gravity force is applied to them
gravity ( 0.0, 0.0, 0.020 )
killIfOlderThan 40
killUnseen
// slow them down
applyDamping (0.9, 0.9, 1)
// run this loop
applyMathSoFar
}