mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
39 lines
936 B
Plaintext
39 lines
936 B
Plaintext
//
|
|
// teleport2
|
|
//
|
|
|
|
numParticles 100
|
|
material textures/particles/teleportsparks2
|
|
//initialVelocity ( line, 0, 0, 0, 0, 0, 0 )
|
|
//initialVelocity ( cylinder, 0.0, 0.0, 0.0, 1, 0, 0, 5, 0 )
|
|
//initialVelocity ( sphere, 0.0, 0.0, 0.0, 1, 5 )
|
|
initialVelocity ( point, 1.0, 0, 0 )
|
|
size ( 0.75, 1.25 )
|
|
//randomColor ( 0.1, line, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3 )
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( 2, 2 )
|
|
liveforever
|
|
//staydead
|
|
speed 1
|
|
|
|
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 )
|
|
source ( 5, sphere, 0.0, 0.0, 0.0, 5, 10 )
|
|
|
|
//killIfOlderThan 30
|
|
killUnseen
|
|
gravity (0, 0, 0)
|
|
orbitThisPoint ( 0, 0, 0, 1 )
|
|
//orbitThisPoint ( 0, 0, 0, 1.0 )
|
|
//applydamping (0.9, 1, 0.9)
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|