mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 00:01:53 +02:00
41 lines
925 B
Plaintext
41 lines
925 B
Plaintext
//
|
|
// longer firetrail
|
|
//
|
|
|
|
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 ( 8, 12 )
|
|
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 (4, 0.009)
|
|
|
|
//source ( 0.25, 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 110
|
|
killUnseen
|
|
|
|
// slow them down
|
|
applyDamping (0.9, 0.9, 1)
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|