Corona Effect

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
Line 25: Line 25:
 
mul-distance:  
 
mul-distance:  
  
min-distance:
+
min-distance: closest distance at which the corona disappears.
  
max-distance:
+
max-distance: farthest distance at which corona will be visible
  
 
max-intensity
 
max-intensity
Line 33: Line 33:
 
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: 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.   
  
distance-fade: boolean value
+
distance-fade: boolean value; 0 = does not fade with distance, 1 = fades with distance
  
directional: boolean value
+
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.
 
+
frequency: boolean value
+
  
 +
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.
 
wave-shift: boolean value
 
wave-shift: boolean value
  
 
[[Category:Config Container]]
 
[[Category:Config Container]]
 +
 +
 +
<!-- mul-distance = distance at which corona will start growing larger; maintains visibility of a light source, mimics signal light behavior
 +
max-size-mul = Essentially, the maximum size of corona at a long distance, it shrinks as you get closer
 +
 +
wave shift = not sure, probably allows occulting (on more than off) or quick flashing (off more than on) -->

Revision as of 16:17, 12 January 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.

object-size: size of the corona in meters; default is 0.15.

max-size-mul:

mul-distance:

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

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

max-intensity

texture-KUID: allows user to specify the a user defined texture for the corona by identifying the KUID of a " KIND_Texture" asset. If the texture-kuid tag is not present, the corona will use the default yellow/orange texture.

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

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.

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. wave-shift: boolean value

Personal tools