CPSCustom AmbientParticles { "fParticleScaleMin" "0.01" "fParticleScaleMax" "0.25" // If defined (and no radius), particles start randomly inside this box relatively to host entity origin "vStartMins" "-4096 -4096 256" "vStartMaxs" "4096 4096 1536" // Velocity after reflection is multiplied by this value "fBounceFactor" "0" // Spread vector (for directed movement) "vSpread" "0 0 0" // Destination point (absolute coordinates) // vDestination "0 0 0" // Acceleration range //"vAccelMin" "0 0 0" //"vAccelMax" "0 0 0" // Particle velocity.x = vDirection.x*RANDOM_FLOAT(fParticleSpeedMin, fParticleSpeedMax) + vSinVel.x*sin(t+i) + vCosVel.x*cos(t+i); "vSinVel" "64 0 0" "vCosVel" "0 64 0" // Particle acceleration.x += vSinAccel.x*sin(t+i) + vCosAccel.x*cos(t+i); //"vSinAccel" "4 0 0" //"vCosAccel" "0 4 0" "iParticleFlags" "4" // PSCUSTOM_PFLAG_ORIENTED_HIT_LIQUID 4 "iTraceFlags" "9" "iMaxParticles" "4096" // Linear speed range "fParticleSpeedMin" "0.1" "fParticleSpeedMax" "1.0" "fParticleWeight" "0.01" // XDM3039 "fParticleCollisionSize" "1.0" "iStartType" "2" // PSSTARTTYPE_BOX, "iMovementType" "3" // PSMOVTYPE_RANDOM "vDirection" "0 0 -1" // For movement type 0 // Overrides internal value. With (0,0,0) bounding box coordinates become absolute. "vOrigin" "0 0 0" "fFrameRate" "20" "Color4b" "255 255 191 127" "ColorMax4b" "255 255 255 255" "ColorDelta4f" "0.0 0.0 0.0 -0.05" //"ColorDelta4f" "0.25 0.25 0.25 -0.25" "fBounceFactor" "0" "fFriction" "0" "fWeight" "0" "iRenderMode" "5" "iFxLevel" "1" "iFlags" "4378" // 2+8+16+256+4096 "iFollowFlags" "64" // RENDERSYSTEM_FFLAG_DONTFOLLOW 64// don't copy origin even if entity is found "iFollowAttachment" "0" "szTexture" "sprites/p_glow01s.spr" "szTextureHitLiquid" "sprites/rain_s.spr" }