"Mass" container

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
  mass
 
  mass
 
  {
 
  {
     scale 1.0
+
     scale   1.0
     fuel 6.215e+066
+
     fuel     6.215e+066
 
  }
 
  }
  
 
====scale====
 
====scale====
 
:Type: Decimal
 
:Type: Decimal
:Desc:  
+
:Desc: Sets the scale for the given mass values. This allows an engine asset to provide mass values in imperial units, and then rescale them to metric.
  
 
====fuel====
 
====fuel====
 
:Type: Decimal
 
:Type: Decimal
:Desc:
+
:Desc: The mass of the fuel for a locomotive. Generally unused, and best left alone.
  
==Example mass container==
 
  
''TBD''
+
[[Category:Config Container|M]]
 
+
[[Category:Config Container]]
+

Latest revision as of 17:06, 8 September 2025

The Mass container is a top-level config.txt file entry used by Enginespec and Steam Enginespec assets.

[edit] Supported Tags

The Mass container supports the following tags. Each tag is show here with its default value.

mass
{
    scale    1.0
    fuel     6.215e+066
}

[edit] scale

Type: Decimal
Desc: Sets the scale for the given mass values. This allows an engine asset to provide mass values in imperial units, and then rescale them to metric.

[edit] fuel

Type: Decimal
Desc: The mass of the fuel for a locomotive. Generally unused, and best left alone.
Personal tools