CCG/Mesh-Reducing-Track
Note: This page describes obsolete asset formats (trainz-build prior to 2.9) and should be removed. The current equivalent of this format is KIND Track.
Contents |
KIND:MESH-REDUCING-TRACK
Description
Mesh-Reducing-Track is used to create poly efficient splines. The asset consists of a short high detailed mesh and a longer less detailed mesh based on the same object. The short mesh is displayed when the camera is close to the asset whilst the long mesh is shown when less detail is required, and the camera is further from the asset.
Container Structure
A well formed mesh-reducing-track kind has the following container structure:
See Chapter 7 for an example asset of this kind.
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:
mesh-reducing-track carrate data casts_shadows data endlength data grounded data isroad data istrack data length data repeats data rgb data shadows data upright data visible-on-minimap data width data kuid kuid trainz-build data category-class data category-region data category-era data username data kind data unit_mesh data bendy data thumbnails 0 image file width data height data
TAGS AND CONTAINERS
The following tags are further defined in Chapter 5:
- kuid
- Generated automatically by Content Manager.
- trainz-build
- Automatically set to 2.9 for 2009 assets.
- category-class
- Should be "TR" - Rails. See the "Rails" section of Category Class.
- category-region
- See Category Region for a list of valid category-region values.
- category-era
- See Category Era for a list of valid category-era values.
- username
- Asset username. This will be the name that appears in the surveyor menu.
- kind
- Must be "Track".
- rgb
- This value should be left as default.
- grounded
- Height in metres for the road to be offset from terrain, eg. 0.4.
- length
- Length of track segment in meters, eg. 4.
- repeats
- The number of times the mesh is placed between spline points, eg. 4.
- width
- Width of track mesh in meters, eg. 0.5.
Additional Tags
Kind mesh-reducing-track is derived from kind track and shares most of the same tags which are detailed in the KIND TRACK section of this chapter.
- unit_mesh
- The filename of the long mesh, which must be placed in a subdirectory of the same name as the mesh.Only the file name is entered, not the directory name nor the file extension. For example, if the full pathname and extension is "rockwall/rockwall.im". Enter only "rockwall" in the text input box.
- bendy
- Switches how track is bent on corners, set as 1 allows the mesh to be deformed as the spline is bent around corners.
- carrate
- Defines traffic density on road (minimum seconds between each car generated). 0 = No traffic. Number must be greater than 3, for traffic to flow.
- casts_shadows
- Toggles whether the shadow model is displayed or not.
- endlength
- Length in metres of the initiator and terminator models.
- isroad
- Specifies track is a road with cars, set to 1 for cars to appear on road.
- istrack
- 0 = This is not rail tracks.
- shadows
- Leave as default 0 (unticked box).
- upright
- Specifies whether the bridge "legs" point vertically, or perpendicular to the spline.
- visible-on-minimap
- Specifies whether the object\track is displayed on the minimap.
THIS KIND SUPPORTS THE FOLLOWING:
- CONTAINERS
- Track Sound, String Table, Chinese String Table, Czech String Table, Dutch String Table, French String Table, German String Table, Italian String Table, Polish String Table, Russian String Table, Spanish String Table, KUID Table, Obsolete Table, Thumbnails, Privileges, Extensions.
- TAGS
- bendy, carrate, casts_shadows, endlength, grounded, isroad, istrack, length, repeats, rgb, shadows, upright, visible-on-minimap, width, kuid, trainz-build, category- class, category-region, category-era, username, kind, unit_mesh, alias, author, category-keyword, contact- email, contact-website, description, description-cn, description-cz, description-de, description-es, description-fr, description-it, description-pl, description-nl, description-ru, divider, dont-flip-terminator, hidden, initiator, invisible, license, light, organisation, terminator, uncached_alphas, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.