// // bloodspray particle // numParticles 3 material textures/particles/bloodspray // sphere x,y,z radius1, radius2 initialVelocity ( cone, 0, 0, 0, 0.65, 0, 0, 3, 2 ) //initialVelocity ( line, 0, 0, 0, 0.5, 0, 0 ) // the size is between 0.5 and 1.25 size ( 5, 9 ) //randomColor ( 1.0, line, 0.8, 0.1, 0.1, 1, 0.0, 0.0 ) livefor 2.5 trailSize 2 staydead begin { // when a particle dies, it will re-start with the same base velocity //copyVelocitys movewithParent // target color rgba, scale to get there targetColor ( 1, 1, 1, 0.0, 0.25 ) // allow up to 150 particles per iteration to appear in the defined plane source ( 2, line, 0, 0, 0, 3, 0, 0 ) //source ( 6, cone, 0.0, 0.0, 0.0, 1, 0, 0, 3, 1) // what kind of gravity force is applied to them gravity ( 0.0, 0.0, -0.20) killunseen leaveThisOnWorldContact ( "textures/decals/dsplat5", "textures/decals/dsplat7", "textures/decals/dsplat11", 28 ) // run this loop applyMathSoFar }