CCG/Example: Fixed Track (Junction)
(New page: ==Fixed Track (Junction)== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_fixedtrack_junction_dir1.jpg ===Required Fi...) |
|||
| Line 26: | Line 26: | ||
===Config.txt File Listing=== | ===Config.txt File Listing=== | ||
| − | kuid | + | kuid <kuid:56113:1018> |
| − | trainz-build | + | trainz-build 2.5 |
| − | category-class | + | category-class "TF" |
| − | category-region | + | category-region "AU" |
| − | category-era | + | category-era "1980s;1990s;2000s;2010s" |
| − | username | + | username "testFixedTrack (Junction)" |
| − | kind | + | kind "fixedtrack" |
| − | description | + | description "Test fixed track asset (Junction)." |
| − | height-range | + | height-range -50,50 |
| − | preview-mesh-kuid | + | preview-mesh-kuid <kuid:171456:60563> |
| − | use-gradient-track | + | use-gradient-track 1 |
mesh-table | mesh-table | ||
{ | { | ||
default | default | ||
{ | { | ||
| − | mesh | + | mesh "turnout8l.im" |
| − | auto-create | + | auto-create 1 |
effects | effects | ||
{ | { | ||
arrow0 | arrow0 | ||
{ | { | ||
| − | kind | + | kind "attachment" |
| − | att | + | att "a.track0a" |
| − | default-mesh | + | default-mesh <kuid:-3:10092> |
| − | surveyor-only | + | surveyor-only 1 |
} | } | ||
arrow1 | arrow1 | ||
{ | { | ||
| − | kind | + | kind "attachment" |
| − | att | + | att "a.track0e" |
| − | default-mesh | + | default-mesh <kuid:-3:10092> |
| − | surveyor-only | + | surveyor-only 1 |
} | } | ||
arrow2 | arrow2 | ||
{ | { | ||
| − | kind | + | kind "attachment" |
| − | att | + | att "a.track1b" |
| − | default-mesh | + | default-mesh <kuid:-3:10092> |
| − | surveyor-only | + | surveyor-only 1 |
} | } | ||
} | } | ||
| Line 70: | Line 70: | ||
blades | blades | ||
{ | { | ||
| − | mesh | + | mesh "Blades/blades.im" |
| − | anim | + | anim "Blades/anim.kin" |
| − | auto-create | + | auto-create 1 |
} | } | ||
lever1 | lever1 | ||
{ | { | ||
| − | mesh | + | mesh "Lever/lever.im" |
| − | anim | + | anim "Lever/anim.kin" |
| − | auto-create | + | auto-create 1 |
| − | att-parent | + | att-parent "default" |
| − | att | + | att "a.lever1" |
} | } | ||
} | } | ||
| Line 87: | Line 87: | ||
track0 | track0 | ||
{ | { | ||
| − | track | + | track <kuid:67598:38001> |
| − | useadjoiningtracktype 0 | + | useadjoiningtracktype 0 |
vertices | vertices | ||
{ | { | ||
| − | 0 | + | 0 "a.track0a" |
| − | 1 | + | 1 "a.track0b" |
| − | 2 | + | 2 "a.track0c" |
| − | 3 | + | 3 "a.track0d" |
| − | 4 | + | 4 "a.track0e" |
} | } | ||
} | } | ||
track1 | track1 | ||
{ | { | ||
| − | track | + | track <kuid:67598:38001> |
| − | useadjoiningtracktype 0 | + | useadjoiningtracktype 0 |
vertices | vertices | ||
{ | { | ||
| − | 0 | + | 0 "a.track0b" |
| − | 1 | + | 1 "a.track1a" |
| − | 2 | + | 2 "a.track1b" |
} | } | ||
| − | junction-vertices | + | junction-vertices |
| − | + | { | |
| − | + | 0 | |
| − | + | { | |
| − | + | junction-lever-mesh "lever0" | |
| − | + | junction-vertex "a.track0b" | |
| − | + | } | |
| − | + | 1 | |
| − | + | { | |
| − | + | junction-lever-mesh "lever1" | |
| − | + | junction-vertex "a.track0b" | |
| − | + | } | |
| − | + | 2 | |
| + | { | ||
| + | junction-lever-mesh "blades" | ||
| + | junction-vertex "a.track0b" | ||
| + | } | ||
| + | } | ||
} | } | ||
} | } | ||
kuid-table | kuid-table | ||
{ | { | ||
| − | 0 | + | 0 <kuid:-3:10092> |
| − | 1 | + | 1 <kuid:67598:38001> |
| − | 2 | + | 2 <kuid:171456:60563> |
} | } | ||
thumbnails | thumbnails | ||
| Line 133: | Line 138: | ||
0 | 0 | ||
{ | { | ||
| − | image | + | image "thumb.jpg" |
| − | width | + | width 240 |
| − | height | + | height 180 |
} | } | ||
} | } | ||
Latest revision as of 14:49, 9 June 2011
Contents |
[edit] Fixed Track (Junction)
[edit] Directory Structure
A typical asset of this kind has the following File\Directory Structure:
[edit] Required Files
config.txt - The config file for the asset.
thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.
rail_oz.texture.txt, rail-oz.tga, railsection_ger_sleepersa.tga, railsection-sleepersa.texture.txt, arrows.tga, arrows-arrows.texture.txt, switch_lever.texture.txt, switch_lever.tga - The texture files used in the indexed meshes of this asset.
See the section on Texture.txt files on Page 96 for more information.
turnout8.iml, blades.im, lever.im - The indexed meshes used to build this asset.
anim.kin - The animation files used for both the moving track blades, and the animating lever.
[edit] Config.txt File Listing
kuid <kuid:56113:1018>
trainz-build 2.5
category-class "TF"
category-region "AU"
category-era "1980s;1990s;2000s;2010s"
username "testFixedTrack (Junction)"
kind "fixedtrack"
description "Test fixed track asset (Junction)."
height-range -50,50
preview-mesh-kuid <kuid:171456:60563>
use-gradient-track 1
mesh-table
{
default
{
mesh "turnout8l.im"
auto-create 1
effects
{
arrow0
{
kind "attachment"
att "a.track0a"
default-mesh <kuid:-3:10092>
surveyor-only 1
}
arrow1
{
kind "attachment"
att "a.track0e"
default-mesh <kuid:-3:10092>
surveyor-only 1
}
arrow2
{
kind "attachment"
att "a.track1b"
default-mesh <kuid:-3:10092>
surveyor-only 1
}
}
}
blades
{
mesh "Blades/blades.im"
anim "Blades/anim.kin"
auto-create 1
}
lever1
{
mesh "Lever/lever.im"
anim "Lever/anim.kin"
auto-create 1
att-parent "default"
att "a.lever1"
}
}
attached-track
{
track0
{
track <kuid:67598:38001>
useadjoiningtracktype 0
vertices
{
0 "a.track0a"
1 "a.track0b"
2 "a.track0c"
3 "a.track0d"
4 "a.track0e"
}
}
track1
{
track <kuid:67598:38001>
useadjoiningtracktype 0
vertices
{
0 "a.track0b"
1 "a.track1a"
2 "a.track1b"
}
junction-vertices
{
0
{
junction-lever-mesh "lever0"
junction-vertex "a.track0b"
}
1
{
junction-lever-mesh "lever1"
junction-vertex "a.track0b"
}
2
{
junction-lever-mesh "blades"
junction-vertex "a.track0b"
}
}
}
}
kuid-table
{
0 <kuid:-3:10092>
1 <kuid:67598:38001>
2 <kuid:171456:60563>
}
thumbnails
{
0
{
image "thumb.jpg"
width 240
height 180
}
}
[edit] Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip
