mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
33 lines
653 B
Plaintext
33 lines
653 B
Plaintext
//
|
|
// fireballsmoke
|
|
//
|
|
|
|
numParticles 30
|
|
material textures/particles/smokepuff
|
|
initialVelocity ( point, 0.3, 0, 0.0 )
|
|
size ( 22, 24 )
|
|
randomColor ( 0.1, line, 0.2, 0.15, 0.1, 0.25, 0.20, 0.15 )
|
|
angle ( 0, 359 )
|
|
//rotationSpeed ( 1, 1 )
|
|
livefor 5
|
|
movewithParent
|
|
staydead
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
targetSize ( 15, 0.015 )
|
|
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.0252 )
|
|
source ( 0.55, point, 0.0, 0.0, 0.0 )
|
|
|
|
//killIfOlderThan 50
|
|
killUnseen
|
|
applyDamping (0.9, 0.9, 0.6)
|
|
gravity ( 0.0, 0.0, 0.19 )
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|