CCG/MOJunction
From TrainzOnline
< CCG(Difference between revisions)
(New page: ==KIND: MOJUNCTION== ===Description=== Junction control levers, which are attached to track junctions, include sound, and may be offset a specified distance from the track. They can be us...) |
m (kind mojunction fixed in sample) |
||
(One intermediate revision by one user not shown) | |||
Line 13: | Line 13: | ||
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS: | A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS: | ||
− | <font color="red">mojunction</font> | + | <font color="red">kind ''"mojunction"''</font> |
− | + | ||
kuid ''kuid'' | kuid ''kuid'' | ||
trainz-build ''data'' | trainz-build ''data'' | ||
Line 21: | Line 20: | ||
category-era ''data'' | category-era ''data'' | ||
username ''data'' | username ''data'' | ||
− | |||
trackside ''data'' | trackside ''data'' | ||
<font color="red">mesh-table</font> | <font color="red">mesh-table</font> |
Latest revision as of 16:56, 10 November 2012
Contents |
[edit] KIND: MOJUNCTION
[edit] Description
Junction control levers, which are attached to track junctions, include sound, and may be offset a specified distance from the track. They can be used to replace the default junction lever.
[edit] Container Structure
A well formed mojunction 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:
kind "mojunction" kuid kuid trainz-build data category-class data category-region data category-era data username data trackside data mesh-table lever1 mesh file auto-create data lever2 mesh file soundscript toggle trigger data distance data nostartdelay data repeat-delay data sound 0 data thumbnails 0 image file width data height data
[edit] 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 "WX" - Accessories. See the "Wayside" 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 "mojunction".
- trackside
- This is a value that is the distance in meters the object is placed relative to the center of the track. Negative values will put the object on the left side of the track, and positive values will appear on the right.
- mesh-table
- Default - Contains the default mesh. Auto-create should be set to true (1) in order to make the mesh visible.
- lever1, lever2
- These are the alternate mesh positions of the lever model for the junctions. The object toggles between the two meshes.
[edit] Additional Containers
[edit] Soundscript Container
Controls the looping sound made by the object.
- Notes
Repeat-delay now has two values rather than one. When upgrading old assets, make sure there is a repeat delay for both values or the sound will loop endlessly when triggered.
[edit] THIS KIND SUPPORTS THE FOLLOWING:
- CONTAINERS
- queues Container, Smoke Container, SoundScript Container, Mesh Table, 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
- kuid, trainz-build, category-class, category-region, category-era, username, kind, alias, author, autoname, buffer-speed, category-keyword, class, contact-email, contact-website, description, description-cn, description-cz, description-de, description-es, description-fr, description-it, description-pl, description-nl, description-ru, dighole, floating, height-range, icon-texture, icon0, icon1, icon2, icon3, license, light, nightmode, organisation, passenger-height, preview-mesh-kuid, preview-scale, rgb, rollstep, rotate, rotate-yz-range, rotstep, script, snapgrid, snapmode, speedlimit, surveyor-name-label, surveyor-only, trackmark, trackside, trigger, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.