// Virtual system that thakes over particles that hit solid surfaces virtual inactive CPSCustom SurfHitSystem { "fParticleScaleMin" "0.5" "fParticleScaleMax" "1.0" "fBounceFactor" "0" "iParticleFlags" "0" "iTraceFlags" "8" "iMaxParticles" "0"// This will disable the system so it won't consume computing resources "fParticleSpeedMin" "0.0" "fParticleSpeedMax" "0.0" "fParticleWeight" "0.0" "iStartType" "0" "iMovementType" "0" "vDirection" "0 0 0" "fScale" "1.0" "fScaleDelta" "0.25" "fFrame" "0" "fFrameRate" "15" "Color4b" "255 255 255 191" "ColorMax4b" "255 255 255 255" "ColorDelta4f" "0.0 0.0 0.0 -0.1" "iRenderMode" "5" "iDrawContents" "0" "iDoubleSided" "0" "iFlags" "272"// 16+256 "iFollowFlags" "64" "iFollowAttachment" "65535" "szTexture" "sprites/iexplo.spr" } // The real emitter system CPSCustom EmitterMainSystem { //"iDestroyContents" "0" "fParticleScaleMin" "0.03125" "fParticleScaleMax" "0.25" // If defined, particles start randomly inside this sphere relatively to host entity origin "fStartRadiusMin" "128" "fStartRadiusMax" "256" "fBounceFactor" "0" "vSpread" "0 0 0" "iParticleFlags" "4" //PM_STUDIO_IGNORE 1// Skip studio models (faster) "iTraceFlags" "1" "iMaxParticles" "192" "fParticleSpeedMin" "2" "fParticleSpeedMax" "4" "fParticleWeight" "0.1" "iStartType" "4"// PSSTARTTYPE_ENTITYBBOX "iMovementType" "1"// PSMOVTYPE_OUTWARDS,// explosion // For movement type 0 "vDirection" "0 0 1" // Offset from host entity origin (rotated according to entity orientation) "vOffset" "0 0 -24" "fScale" "1.0"// Relative scale "fScaleDelta" "10.0"// Added every frame "fFrameRate" "20" "Color4b" "0 0 0 255" "ColorMax4b" "255 255 255 255" //"ColorDelta4f" "0.25 0.25 0.25 -0.25" "ColorDelta4f" "1 1 1 -0.25"// Added every frame // Standard HL render mode "iRenderMode" "5" "iDoubleSided" "0" "iFlags" "280"// 8+16+256 "iFollowFlags" "52"// 32+16+4 // Studio model attachment if host entity has it "iFollowAttachment" "65535" "szTexture" "sprites/eshock.spr" // old method: change texture "szTextureHitLiquid" "sprites/flat_ring1.spr" "szSystemOnHitSurface" "SurfHitSystem" } // Platform effect, just for fun CRenderSystem PlatformSurfaceEffect { "vAngles" "-90 0 0" "vOffset" "0 -18 0" "fSizeX" "64" "fSizeY" "64" "fFrameRate" "20" "iRenderMode" "5" "iFlags" "2056"// 8 + 2048 "iFollowFlags" "52"// 32+16+4 "iRenderMode" "5" "iRenderEffects" "4" "szTexture" "sprites/xflare1.spr" }