Trainz/tags/category-region tag
Appearance
(Redirected from Trainz/tags/category-region tags)
|
|||
|
Glossary |
HKeys-CM |
HKeys-DVR |
HKeys-SUR |
HKeys-WIN |
Mouse use |
Notations |
Operations Note: Clicking on a footnote ([2]) or note tag ([note 12]) in the main body of text will navigate you (position the page) to the exact text for the entry. • Then: Clicking there on the ? symbol, will return you back to read on from where you started. |
About Category-region codes
[edit | edit source]Template:Parent Category-region codes are a single ("UK") or multiple codes ("AU;DE;UK;US") in a quoted string that is included in the config.txt file for user defined filters. In this work, this later form is sometimes referred to as a string array—it's logical effect.
- Assets with narrow single country scope would contain a single code after the tagname.
- Assets which were widely found in many regions (e.g. 'Caterpillar D7 bulldozer', will list the series of country codes of the region.)
- The codes have only a minor importance in Trainz and are primarily used in Trainz as a sort and selection criteria in user defined filters.
- Some Kind specifications will generate an error if the tag is undefined
- These codes do show up under the region column in Content Manager where they can be included in defining filters one can also use in Surveyor. This eliminates looking at undesired assets when focuses on developing your routes.
- For content that exists in multiple areas, when creating new assets, select appropriate codes in Content Creator Plus (CCP) or hand edit them into the config.txt ini files.
- For example
- a locomotive that was available in the United States and Canada would be specified as follows:
category-region "US;CA"
- One that was available in Australia, Canada, the United States and in the United Kingdom would be specified as follows:
category-region "AU;CA;UK;US"
Tables of codes
[edit | edit source]The category-region codes below are in alphabetical order by sort criteria.
Legal codes that are recognized by Trainz are as follows:
by region code order
[edit | edit source]AD-EE | EG-LI | LK-SC | SD-ZZ |
---|---|---|---|
|
|
|
|
by country name order
[edit | edit source]Aa—Ear | Eas— Ecu | Les—Lib | San—Sau |
|
|
|
|
Notes
[edit | edit source]Categories
[edit | edit source]This reference page is adapted from the TrainzOnline Wiki under the CC-BY-SA 3.0 License. This page will likely include more textual explanations, exposition, history, and/or examples than the source page on the same topic. The TrainzOnline Wiki is for the most part maintained by the programmers or knowledgeable content creators and may have newer more up-to-date information on the current trainz-build code standards, which have some tendency to change as features are added to the software. |