"Mass" container: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


The Mass container supports the following tags. Each tag is show here with its default value.
The Mass container supports the following tags. Each tag is show here with its default value.
-> According to the CCG for Trainz Classic it is related to the '''Mass'''.


  mass
  mass
  {
  {
     scale 1.0
     scale   1.0
     fuel 6.215e+066
     fuel     6.215e+066
  }
  }


====scale====
====scale====
:Type: Decimal
:Type: Decimal
:Desc: Multiplies fuel mass by given value, not currently in use, generally leave this setting.
: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: Fuel level, not currently in use, generally leave this setting.
:Desc: The mass of the fuel for a locomotive. Generally unused, and best left alone.
 
==Example mass container==


''TBD''


[[Category:Config Container]]
[[Category:Config Container|M]]

Latest revision as of 07:06, 8 September 2025

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

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
}

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.

fuel

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