Main Section Options

XashXT

Main Section Options

This section is not enclosed in braces, and its parameters can occur only once per definition.

particles The total number of particles that the system can handle. The number of particles consumed does not depend on this parameter—it is determined by several other factors: mean particle lifetime, particle deletion method and so on. If the number of particles is set too high, some portion of them may never come to be used. Conversely, if the number is too low, the effect will be “diluted”.
maintype Name of the primary particle emitter; its definition follows the main parameters in the first section.
attachment Attachment number on the model of the entity that the system is attached to. As mentioned elsewhere, this parameter has no effect in the current implementation.
lightmodel Particle lighting type:
  • 0 — regular
  • 1 — sample the environment lights
  • 2 — sample the environment lights and blend in the env_projector projection
killcondition Type of medium that disables the particle emitter on contact. There are three types:
  • empty — doesn't work in the open air
  • water — extinuished by water
  • solid — extinguished by the level architecture