Difference between revisions of "HPL2/Particle Systems"

From Frictional Wiki
Jump to navigation Jump to search
(Upload from wiki)
 
(Formatting)
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.

Revision as of 23:37, 22 July 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.