Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Trainz/containers/member-of-groups container

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

member kuid-table mesh-table C Trainz Config Container The member-of-groups container is a top-level config.txt file entry which can be used by any Content_Configuration Content_Types content type. This container was introduced in trainz-build 3.5 as a result of lobbying by user-content creators to provide better sorting and selection capabilities in Content Managers and TrainzUtil and is not valid in older-version Config.txt files. This means if an asset with such a container tag name is detected when an asset is retrograded, it will generate a fault message in the older version of Trainz. The container holds a regular list of KD KIND Asset-group KUIDs. This asset will be considered as a member of each listed asset group. If no entries are specified for a given "member-of-groups" container, or if the asset omits the "member-of-groups" container, then the simulator may specify some default asset groups based on the asset's Config.txt file. The exact behavior may change between different versions of the simulator, however the current logic is described on the N3V Wiki at KIND_Asset-group#Known_Asset-Groups Known Asset-Groups. The actual interpretation of what membership of a given asset-group means is documented KIND_Asset-group#Interpretation here. "member-of-groups" Example The following is an example of a simple member-of-groups container. This example declares the asset as a member of the 'Bridge Spline Group' and the 'Road Spline Group' (not necessarily a sensible combination.) member-of-groups { 0 <kuid:30501:100046> 1 <kuid:30501:100045> } Members http://online.ts2009.com/mediaWiki/index.php/%22Member-of-groups%22_container member