Difference between revisions of "HPL2/Particle Systems"

From Frictional Wiki
Jump to navigation Jump to search
(Upload from wiki)
 
m (Mudbill moved page Hpl2:Tools:editors:particle systems to HPL2/Particle Systems without leaving a redirect)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{merge2|Hpl3:Tools:maineditors:common:particle_systems}}
 
= Particle Systems =
 
= Particle Systems =
 
  
 
General Parameters:
 
General Parameters:
Line 14: Line 14:
 
* '''Fade at distance''': if active, the particles will be faded if the camera is either too close or too far away according to the following parameters.
 
* '''Fade at distance''': if active, the particles will be faded if the camera is either too close or too far away according to the following parameters.
 
                                
 
                                
<syntaxhighlight lang="">                              Fading          Full Color          Fading
+
<pre>                              Fading          Full Color          Fading
 
               <)          |----------|-------------------------|-----------|
 
               <)          |----------|-------------------------|-----------|
 
             Camera    Min End    Min Start                Max Start  Max End
 
             Camera    Min End    Min Start                Max Start  Max End
</syntaxhighlight>             
+
</pre>             
  
'''''' '''Min End''': close distance in which the particles will be completely faded out.
+
*'''Min End''': close distance in which the particles will be completely faded out.
'''''' '''Min Start''': close distance in which the particles will start to fade.
+
*'''Min Start''': close distance in which the particles will start to fade.
'''''' '''Max Start''': far distance in which the particles will start to fade.
+
*'''Max Start''': far distance in which the particles will start to fade.
'''''' '''Max End''': far distance in which the particles will be completely faded out.
+
*'''Max End''': far distance in which the particles will be completely faded out.

Latest revision as of 20:36, 15 August 2020

Particle Systems

General Parameters:

  • Name: Name for the PS. Should be unique for all objects in map.
  • Active
  • Position: 3D Vector storing the position in world.
  • Rotation: 3D Vector storing the rotation. Will only be used if the Particle System uses local coordinates.
  • Scale

Specific Parameters:

  • Particle System file: .ps file to be spawned.
  • Color: color that the PS will be tinted with.
  • Fade at distance: if active, the particles will be faded if the camera is either too close or too far away according to the following parameters.
                              Fading          Full Color           Fading
               <)          |----------|-------------------------|-----------|
             Camera     Min End    Min Start                 Max Start   Max End
  • Min End: close distance in which the particles will be completely faded out.
  • Min Start: close distance in which the particles will start to fade.
  • Max Start: far distance in which the particles will start to fade.
  • Max End: far distance in which the particles will be completely faded out.