Trainz/containers/member-of-groups container

The member-of-groups container is a top-level config.txt file entry which can be used by any 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 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.

The actual interpretation of what membership of a given asset-group means is documented.

="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  1  }