mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 16:20:42 +02:00
32 lines
657 B
Plaintext
32 lines
657 B
Plaintext
//
|
|
// firetrailembers
|
|
//
|
|
|
|
numParticles 40
|
|
material textures/sfx/flamesparks
|
|
initialVelocity ( cone, 0,0,0,4, 0, 0, 2, 2 )
|
|
size ( 0.25, 0.5 )
|
|
//randomColor ( 0.1, line, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3 )
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( 2, 2 )
|
|
liveforever
|
|
movewithParent
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
targetSize ( 0.1, 0.015 )
|
|
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.15 )
|
|
source ( 1, cone, 0.0, 0.0, 0.0, 0, 0, 0, 4, 4 )
|
|
|
|
killIfOlderThan 120
|
|
killUnseen
|
|
applyDamping (0.9, 0.9, 0.9)
|
|
gravity ( 0.0, 0.0, -0.075 )
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|