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

41 lines
940 B
Plaintext

//
//
//
numParticles 60
material textures/particles/smokepuff
//initialVelocity ( cone, 0.0, 0.0, 0.0, 0, 0, 0, 3.2, 3 )
initialVelocity ( point, 0.0, 0.0, 0.0 )
size ( 14, 20 )
randomColor ( 0.1, line, 0.1, 0.1, 0.1, 0.2, 0.2, 0.2 )
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, 0, 0, 0.0, 0.0055 )
targetSize (12, 0.09)
source ( 0.55, point, 0, 0, 0)
//source ( 0.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.009 )
killIfOlderThan 60
killUnseen
// slow them down
applyDamping (0.9, 0.9, 1)
// run this loop
applyMathSoFar
}