Files
DoomRTX/e3/particles/blood.particle
T
2026-05-20 12:29:30 -07:00

39 lines
848 B
Plaintext

//
// blood particle
//
numParticles 2
material textures/decals/bloodrun02.tga
initialVelocity ( point, 0.0,0.0,0.0 )
// the size is between 0.5 and 1.25
size ( 0.2, 2 )
angle ( 0, 359 )
rotationSpeed ( -1, 1 )
livefor 1
moveWithParent
stayDead
begin {
// when a particle dies, it will re-start with the same base velocity
// copyVelocitys
copyVelocitysAndPositions
targetSize ( 3, 0.05 )
// allow up to 2 particles per iteration to appear in the defined plane
source ( 2, point, 0, 0, 0 )
// what kind of gravity force is applied to them
gravity ( 0.0, 0.0, -0.6 )
// leave some doo
leaveThisOnWorldContact ( "textures/decals/dsplat5", "textures/decals/dsplat7", "textures/decals/dsplat11", 16 )
// slow them down
applyDamping (0.7, 0.7, 0.9)
// run this loop
applyMathSoFar
}