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

43 lines
1.1 KiB
Plaintext

//
// teleport2
//
numParticles 350
material textures/particles/redteleportsparks
//initialVelocity ( line, 0, 0, 0, 0, 0, 0 )
//initialVelocity ( cylinder, 0.0, 0.0, 0.0, 1, 0, 0, 5, 0 )
//initialVelocity ( sphere, 0.0, 0.0, 0.0, 1, 5 )
initialVelocity ( sphere, 0,0,0,5,1)
//initialVelocity ( point, 1, 0, 0 )
size ( 1, 2 )
//randomColor ( 0.1, line, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3 )
angle ( 0, 359 )
rotationSpeed ( 2, 2 )
liveforever
trailsize 3
//staydead
begin {
// when a particle dies, it will re-start with the same base velocity
copyVelocitys
targetSize ( 0.75, 0.015 )
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.005 )
//source ( .75, cylinder, 0.0, 0.0, 0.0, 1, 0, 0, 10, 0 )
//source ( 5, sphere, 0.0, 0.0, 0.0, 5, 10 )
source ( 350, point, 0.0, 0.0, 0.0 )
randomAcceleration ( box, -0.1, -0.1, -0.1, 0.1, 0.1, 0.1 )
//killIfOlderThan 30
killUnseen
gravity (0, 0, -0.02)
explode (0, 0, 0, 0.75, 4, 10, 0.1, 1)
//orbitThisPoint ( 0, 0, 0, 0.51 )
//orbitThisPoint ( 0, 0, 0, 1.0 )
//applydamping (1, 0.97, 1)
// run this loop
applyMathSoFar
}