// // fireballsmoke // numParticles 120 material textures/particles/redteleportsmoke //material textures/particles/smokepuff initialVelocity ( point, 0, 0, 0.0 ) size ( 8, 12 ) //randomColor ( 0.1, line, 0.35, 0.15, 0.1, 0.25, 0.12, 0.1 ) angle ( 0, 359 ) rotationSpeed ( -1, 1 ) liveforever movewithParent begin { // when a particle dies, it will re-start with the same base velocity copyVelocitys targetSize ( 0.1, 0.015 ) targetColor ( 0.0, 0.0, 0.0, 0.0, 0.075 ) source ( 0.95, point, 0.0, 0.0, 0.0 ) //killIfOlderThan 40 killUnseen //applyDamping (0.9, 0.9, 0.9) gravity ( 0.0, 0.0, 0.005 ) // run this loop applyMathSoFar }