mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 16:20:42 +02:00
33 lines
719 B
Plaintext
33 lines
719 B
Plaintext
//
|
|
// firetrailembers
|
|
//
|
|
|
|
numParticles 45
|
|
material textures/sfx/flamesparks
|
|
initialVelocity ( line, 0.0, 0.0, 0.0, 0.1, 0.0, 0 )
|
|
//initialVelocity ( cylinder, 0.0, 0.0, 0.0, 1, 0, 0, 20, 0 )
|
|
size ( .5, 1.5 )
|
|
//randomColor ( 0.1, line, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3 )
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( 2, 2 )
|
|
livefor 20
|
|
staydead
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
targetSize ( 0.5, 0.015 )
|
|
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.05 )
|
|
source ( .75, cylinder, 0.0, 0.0, 0.0, 1, 0, 0, 10, 0 )
|
|
|
|
//killIfOlderThan 30
|
|
killUnseen
|
|
gravity (0, 0, .009)
|
|
//applydamping (0.9, 1, 0.9)
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|