Difference between revisions of "Hpl3:Tools:maineditors:common:particle systems"

From Frictional Wiki
Jump to navigation Jump to search
(Upload from wiki)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Particle Systems =
+
{{merge2|HPL2/Particle Systems}}
 +
=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'''
  
General Parameters:
+
Specific 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.
* '''Particle System file''': .ps file to be spawned.
+
*'''Color''': color that the PS will be tinted with.
* '''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.
* '''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 19: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.