CCG/MOSpeedBoard config: Difference between revisions

From TrainzOnline
< CCG
Jump to navigationJump to search
mNo edit summary
Pev (talk | contribs)
No edit summary
Line 1: Line 1:
<font color=red>This should be merged into [[KIND MOSpeedboard]].</font>
<font color=red>This should be merged into [[KIND MOSpeedboard]].</font>


==Chapter 2: Introduction to Kinds, Containers, Tags, and Config.txt files==
==KIND: MOSPEEDBOARD===
 
'''KIND: MOSPEEDBOARD'''


This is a speed limit sign.
This is a speed limit sign.


Config.txt:
===Config.txt:===
  kuid <KUID2:####:#####:1>
  kuid                   <KUID2:####:#####:1>
  kind mospeedboard
  kind                   "mospeedboard'
  trackside -2.5
  trackside               -2.5
  speedlimit 5.56
  speedlimit             5.56
  username
  username               "my speedboard"
  description " "
  description             "blah blah"
  trainz-build 2.5
  trainz-build           2.5
  category-class “WS”
  category-class         “WS”
  category-region “AU”
  category-region         “AU”
  category-era “2000s”
  category-era           “2000s”


'''Breakdown:'''
===Breakdown:===


;trackside
;trackside
Line 29: Line 27:


''To convert kilometers per hour to meters per second multiply by a conversion factor of 0.278.<br>e.g. 10kph is 2.78m/s.''
''To convert kilometers per hour to meters per second multiply by a conversion factor of 0.278.<br>e.g. 10kph is 2.78m/s.''
==Return to CCG Index==
[[Content Creator's Guide]]

Revision as of 06:24, 5 June 2011

This should be merged into KIND MOSpeedboard.

KIND: MOSPEEDBOARD=

This is a speed limit sign.

Config.txt:

kuid                    <KUID2:####:#####:1>
kind                    "mospeedboard'
trackside               -2.5
speedlimit              5.56
username                "my speedboard"
description             "blah blah"
trainz-build            2.5
category-class          “WS”
category-region         “AU”
category-era            “2000s”

Breakdown:

trackside
This is a value that is the distance in meters the object is placed relative to the center of the track. Negative values will put the object on the left side of the track, and positive values will appear on the right.
Speedlimit
This value is the maximum speed allowed in meters per seconds.

To convert miles per hour to meters per second multiply by a conversion factor of 0.447.
e.g. 10mph is 4.47 m/s.

To convert kilometers per hour to meters per second multiply by a conversion factor of 0.278.
e.g. 10kph is 2.78m/s.


Return to CCG Index

Content Creator's Guide