mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
41 lines
980 B
Plaintext
41 lines
980 B
Plaintext
//
|
|
// blooddrip particle
|
|
//
|
|
|
|
numParticles 10
|
|
material textures/particles/bloodspray
|
|
// sphere x,y,z radius1, radius2
|
|
initialVelocity ( point, 0, 0, 0 )
|
|
//initialVelocity ( line, 0, 0, 0, 0.5, 0, 0 )
|
|
// the size is between 0.5 and 1.25
|
|
size ( 2, 5 )
|
|
//randomColor ( 1.0, line, 0.8, 0.1, 0.1, 1, 0.0, 0.0 )
|
|
liveforever
|
|
trailSize 4
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( -2, 2 )
|
|
//staydead
|
|
movewithparent
|
|
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
targetColor ( 1, 1, 1, 0.0, 0.25 )
|
|
|
|
// allow up to 1 particles per iteration to appear in the defined plane
|
|
source ( 0.75, point, 0,0,0 )
|
|
|
|
// what kind of gravity force is applied to them
|
|
gravity ( 0.0, 0.0, -0.15 )
|
|
applydamping (1, 1, 0.999)
|
|
|
|
killunseen
|
|
killifolderthan 50
|
|
leaveThisOnWorldContact ( "textures/decals/dsplat5", "textures/decals/dsplat7", "textures/decals/dsplat11", 30 )
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|