CPSCustom { // Brush contents in which particles cannot exist. Calculate as follows: m_iDrawContents |= (1 << abs(CONTENTS_WATER)); //"iDestroyContents" "0" // Particle start scale range "fParticleScaleMin" "0.015625" "fParticleScaleMax" "0.125" // If defined, particles start randomly inside this sphere relatively to host entity origin "fStartRadiusMin" "0" "fStartRadiusMax" "0" // If defined (and no radius), particles start randomly inside this box relatively to host entity origin //"vStartMins" "-4096 -4096 -4096" //"vStartMaxs" "4096 4096 4096" // Velocity after reflection is multiplied by this value "fBounceFactor" "0" // Spread vector (for directed movement) "vSpread" "1 1 1" // Destination point (absolute coordinates) // vDestination "0 0 0" // Acceleration range //"vAccelMin" "-10 -10 -10" //"vAccelMax" "10 10 10" // Particle velocity.x = vDirection.x*RANDOM_FLOAT(fParticleSpeedMin, fParticleSpeedMax) + vSinVel.x*sin(t+i) + vCosVel.x*cos(t+i); "vSinVel" "4 0 0" "vCosVel" "0 4 0" // Particle acceleration.x += vSinAccel.x*sin(t+i) + vCosAccel.x*cos(t+i); //"vSinAccel" "10 0 0" //"vCosAccel" "0 10 0" // Custom Particle flags "iParticleFlags" "0" // Trace flags (defines clipping behavior), 0 is the slowest option. "iTraceFlags" "1" "iMaxParticles" "2048" // Linear speed range "fParticleSpeedMin" "1" "fParticleSpeedMax" "2" "fParticleWeight" "0.0" // Particle start type: "iStartType" "4" // Particle movement type: "iMovementType" "4" // For movement type 0 "vDirection" "0 0 1" // Overrides internal value. With (0,0,0) bounding box coordinates become absolute. //"vOrigin" "0 0 0" // System velocity (ignored because system moves with its host entity) "vVelocity" "0 0 -100" // Useless for now //"vAngles" "0 0 0" // Added every frame //"anglesdelta" // Offset from host entity origin (rotated according to entity orientation) "vOffset" "0 0 0" // Relative scale "fScale" "1.0" // Added every frame "fScaleDelta" "-1.0" // Same as "a" in color //"brightness" "1.0" // Added every frame OBSOLETE: use "a" of colordelta //"brightnessdelta" "0.0" // Starting frame (useful with frame rate 0) //"fFrame" "0" // Can be 0 to use specific frame of a sprite "fFrameRate" "20" // Initial color (range minimum) "Color4b" "255 127 0 127" // Initial color (range maximum) Particle color = RANDOM(Color4b, ColorMax4b) "ColorMax4b" "255 143 31 255" // Added every frame "ColorDelta4f" "0.0 0.0 0.5 -0.1" // Particle dimensions (taken from sprite if == 0) //"fSizeX" "0" //"fSizeY" "0" // Standard HL render mode "iRenderMode" "5" // Standard HL render fx (unused) //"rendereffects" "0" // Brush contents in which particles can exist. Calculate as follows: m_iDrawContents |= (1 << abs(CONTENTS_WATER)); "iDrawContents" "0" // If true, faces are drawn double-sided "iDoubleSided" "0" // System flags (sum of all desired flags) "iFlags" "10" // CRenderSystem follow flags (sum of all desired flags), ICNF == "if cannot follow" "iFollowFlags" "193" // Studio model attachment if host entity has it //no"iFollowAttachment" "0" // Sprite path relative to game mod directory in forward slash (URL/UNIX) format "szTexture" "sprites/p_sparks.spr" //"szTextureHitLiquid" "sprites/rain_s.spr" //"szTextureHitSurface" "sprites/iexplo.spr" "fLifeTime" "10.0" }