Corona Effect

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
('distance-fade' is not supported.)
Line 18: Line 18:
  
 
att: Name of attachment point.
 
att: Name of attachment point.
 +
:Compulsory (3.4)
  
object-size: size of the corona in meters; default is 0.15.
+
object-size: size of the corona in meters.
 +
:Optional. Default 0.15.
  
 
max-size-mul:
 
max-size-mul:
 +
:Optional. Default 2.0.
  
mul-distance:  
+
mul-distance:
 +
:Optional. Default 60. 
  
 
min-distance: closest distance at which the corona disappears.  
 
min-distance: closest distance at which the corona disappears.  
 +
:Optional. Default 1.0.
  
 
max-distance: farthest distance at which corona will be visible
 
max-distance: farthest distance at which corona will be visible
 +
:Optional. Default 315.
  
 
max-intensity
 
max-intensity
 +
:Optional. Default 1.
  
texture-KUID: allows user to specify the a user defined texture for the corona by identifying the KUID of a "[[KIND_Texture | KIND_Texture]]" asset. If the  texture-kuid tag is not present, the corona will use the default yellow/orange texture.  
+
texture-KUID: specifies a user-defined texture for the corona by identifying the KUID of a "[[KIND_Texture | KIND_Texture]]" asset.
 +
:Optional. Default <kuid:-1:6349> (yellow/orange texture)  
  
distance-fade: boolean value; 0 = does not fade with distance, 1 = fades with distance
+
distance-fade: boolean value; 0 = does not fade with distance, 1 = fades with distance.
 +
:OBSOLETE - Do not use.
  
directional: boolean value indicating whether the corona effect has direction. A value of 0 means the corona is omnidirectional; a value of 1 indicated that the corona is visible along the z axis. Default value is 1.
+
directional: boolean value indicating whether the corona effect has direction. A value of 0 means the corona is omnidirectional; a value of 1 indicated that the corona is visible along the z axis.
 +
:Optional. Default 1.
  
frequency: frequency of flashing in flashes per second. .2 is one flash every 5 seconds; .5 is one flash every 2 seconds; 2 is one flash every half second.
+
frequency: frequency of flashing in flashes per second. 0.2 is one flash every 5 seconds; 0.5 is one flash every 2 seconds; 2 is one flash every half second.
wave-shift: boolean value
+
:Optional. Default 2.
 +
 
 +
wave-shift: a floating-point value ranging from 0 to 1
 +
:Optional. Default 0 (no shift).
  
 
[[Category:Config Container]]
 
[[Category:Config Container]]

Revision as of 10:40, 18 June 2016

The Corona effect kind is a "mesh-table" Container effect container. The following tags are supported:

kind "corona"
att ""
object-size 0.15
max-size-mul 2.0
mul-distance 60.0
min-distance 1.0
max-distance 315.0
max-intensity 1.0
texture-KUID <KUID:-1:6349>
distance-fade 1
directional 1
frequency 0
wave-shift 0

Explanations and default values

att: Name of attachment point.

Compulsory (3.4)

object-size: size of the corona in meters.

Optional. Default 0.15.

max-size-mul:

Optional. Default 2.0.

mul-distance:

Optional. Default 60.

min-distance: closest distance at which the corona disappears.

Optional. Default 1.0.

max-distance: farthest distance at which corona will be visible

Optional. Default 315.

max-intensity

Optional. Default 1.

texture-KUID: specifies a user-defined texture for the corona by identifying the KUID of a " KIND_Texture" asset.

Optional. Default <kuid:-1:6349> (yellow/orange texture)

distance-fade: boolean value; 0 = does not fade with distance, 1 = fades with distance.

OBSOLETE - Do not use.

directional: boolean value indicating whether the corona effect has direction. A value of 0 means the corona is omnidirectional; a value of 1 indicated that the corona is visible along the z axis.

Optional. Default 1.

frequency: frequency of flashing in flashes per second. 0.2 is one flash every 5 seconds; 0.5 is one flash every 2 seconds; 2 is one flash every half second.

Optional. Default 2.

wave-shift: a floating-point value ranging from 0 to 1

Optional. Default 0 (no shift).
Personal tools