Difference between revisions of "Particle"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Created page with "==Object== An object that creates a particle on the floor. Uses the same particles as the various particle opcodes. ==Parameters== ==== Generic Arguments ==== * '''Skin''' -...")
(No difference)

Revision as of 01:57, 6 October 2022

Object

An object that creates a particle on the floor. Uses the same particles as the various particle opcodes.


Parameters

Generic Arguments

  • Skin - Value = 1, object ID.

Unique Arguments

  • (1) Particle Type - The type of particle.
  • (2) Unused - Unused
  • (3) Unknown - Unknown effect. Four valid values: any negative, 2, 3, any other positive value. Leave set to 0 or 1.
  • (4) Increased Draw Distance - If set to 1, the particle's draw distance is increased from 200 units to 1500 units.
  • (5) Unknown - Unknown effect but seems to break the particle by changing how the client renders it. Renders it at the same layer as map geometry opposed to the default particle and HUD layer. Leave set to 0.
  • (6) Persist - If set to 1, the particle's lifetime radius is increased to 100,000,000. The particle will never be destroyed.

Rendering and Lifetime

Particle objects have two implicit radius values on the XZ plane that affect their rendering and lifetime. Both of these consider the distance between the camera and the particle--the player position is irrelevant.

The first radius is the draw distance where the particle will be rendered. By default, this value is 200 units but can be increased to 1500 units by setting parameter 4 to 1. If the floor is the Dark Falz arena, this parameter is implicitly set.

The other radius is the lifetime distance. If parameter 6 is 0 and if the map is not the Dark Falz arena, then the lifetime distance is equal to the draw distance. When the camera goes beyond this range, the particle is destroyed and will not reappear. If parameter 6 is 1, then the lifetime distance is always 100,000,000 units.