Custom category identifier
(Created page with "The "custom-category-list" tag of KIND TrainzBaseSpec provides a mechanism by which additional machine-visible category tags may be applied to an asset. These custom addit...") |
|||
Line 2: | Line 2: | ||
Builtin category list codes and custom category identifiers do not share the same namespace, and thus it is not possible to use the "custom-category-list" tag to modify the builtin asset categorisation. In effect, every custom category identifier is prepended with a hash ("#") character to indicate that it is not a builtin code. This character should not be included in the "custom-category-list" tag, but must be used in any other scenario where you are using an asset's [[Category List]] but wish to refer to a custom code. | Builtin category list codes and custom category identifiers do not share the same namespace, and thus it is not possible to use the "custom-category-list" tag to modify the builtin asset categorisation. In effect, every custom category identifier is prepended with a hash ("#") character to indicate that it is not a builtin code. This character should not be included in the "custom-category-list" tag, but must be used in any other scenario where you are using an asset's [[Category List]] but wish to refer to a custom code. | ||
+ | |||
+ | |||
+ | |||
+ | == Known Custom-Category-List items == | ||
+ | |||
+ | '''Clutter Effect Layer Assets''' | ||
+ | |||
+ | Identifies KIND scenery assets to be used in [[Clutter Effect Layer|clutter effect layers.]] | ||
+ | |||
+ | Assets identified using this tag will not be visible in the [[KIND Scenery|Scenery assets]] tab in Trainz. | ||
+ | |||
+ | <pre>custom-category-list "FXCLT"</pre> |
Latest revision as of 09:13, 26 April 2025
The "custom-category-list" tag of KIND TrainzBaseSpec provides a mechanism by which additional machine-visible category tags may be applied to an asset. These custom additions are combined with the builtin asset categorisation to form the asset's Category List. Due to the limited use-cases and high potential for naming conflicts, it is recommended that new custom categories are introduced only after discussion with N3V Games. Other options such as KIND Asset-group are often more flexible and do not suffer from the same concerns.
Builtin category list codes and custom category identifiers do not share the same namespace, and thus it is not possible to use the "custom-category-list" tag to modify the builtin asset categorisation. In effect, every custom category identifier is prepended with a hash ("#") character to indicate that it is not a builtin code. This character should not be included in the "custom-category-list" tag, but must be used in any other scenario where you are using an asset's Category List but wish to refer to a custom code.
[edit] Known Custom-Category-List items
Clutter Effect Layer Assets
Identifies KIND scenery assets to be used in clutter effect layers.
Assets identified using this tag will not be visible in the Scenery assets tab in Trainz.
custom-category-list "FXCLT"