mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 00:01:53 +02:00
34 lines
820 B
Plaintext
34 lines
820 B
Plaintext
//
|
|
// bubble particle
|
|
//
|
|
|
|
numParticles 512
|
|
//material textures/particles/bluesparks
|
|
material textures/particles/teleportsparks2
|
|
//material textures/sfx/bubble
|
|
// sphere x,y,z radius1, radius2
|
|
//initialVelocity ( line, 0, 0, 0, 0, 0, 0 )
|
|
initialVelocity ( point, 0, 2, 0 )
|
|
// the size is between 0.5 and 0.75
|
|
size ( 0.75, 2 )
|
|
randomColor ( 0.5, line, 1.0, 1.0, 2.0, 0.5, 0.5, 0.5 )
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( -1, 1 )
|
|
liveforever
|
|
movewithparent
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
// allow up to 150 particles per iteration to appear in the defined plane
|
|
source ( 0.75, cylinder, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 3, 0 )
|
|
|
|
killIfOlderThan 500
|
|
//applyDamping (0.9, 0.9, 0.9)
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|