"Mass" container
From TrainzOnline
		(Difference between revisions)
		
		
| m (Added sort criterion) | |||
| 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. | ||
| − | |||
| − | |||
|   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. | 
| − | + | ||
| − | + | ||
| − | |||
| [[Category:Config Container|M]] | [[Category:Config Container|M]] | ||
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.
