mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
36 lines
827 B
Plaintext
36 lines
827 B
Plaintext
//
|
|
// small debris particle
|
|
//
|
|
|
|
numParticles 12
|
|
material textures/sfx/debris
|
|
initialVelocity ( cone, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, 4, 4 )
|
|
// the size is between 0.5 and 1.25
|
|
size ( 1, 3 )
|
|
//trailSize 2
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( 2, 2 )
|
|
staydead
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
targetColor ( 1.0, 1.0, 1.0, 0.0, .15 )
|
|
// allow up to 1 particles per iteration to appear in the defined plane
|
|
source ( 6, cone, 0, 0, 0, 0, 0, 0, 4, 4 )
|
|
|
|
// what kind of gravity force is applied to them
|
|
gravity ( 0.0, 0.0, -0.15 )
|
|
killunseen
|
|
killifolderthan 4
|
|
|
|
applyDamping (0.9, 0.9, 0.7)
|
|
// friction, resilience, cutoff, and the plane definition
|
|
//bounceOff ( 0.3, 0.3, 0, world )
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|