CCG/Example: Interior (Diesel)
Contents |
Interior (Diesel)
Directory Structure
A typical asset of this kind has the following File\Directory Structure:
Required Files
config.txt - The config file for the asset.
thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.
various.tga, various.bmp, various texture.txt - Various graphic files used by the asset - The texture files used by the indexed meshes of this interior.
See the section on Texture.txt files on Page 96 for more information.
f7interior_ampmeter.im, f7interior_ampmeter_needle.im, f7interior_bpflow_needle.im, f7interior_bploco.im, f7interior_bplocoequaliser_needle.im, f7interior_bplocomain_needle.im, f7interior_bptrain.im, f7interior_bptrainbrakecylinder_needle.im, f7interior_bptrainbrakepipe_needle.im, f7interior_brakepressure.im, f7interior_chair.im, f7interior_controlstand.im, f7interior_controlstand.im, f7interior_horizblinds.im, f7interior_horn.im, f7interior_locobrake_lever.im, f7interior_main.im, f7interior_reverser_lever.im, f7interior_speedo.im, f7interior_speedo_needle.im, f7interior_switch.im, f7interior_throttle_lever.im, f7interior_trainbrake_lever.im, f7interior_westinghouse.im, f7interior_windows.im, wheelslip.im - The progressive mesh components used to create the interior asset. More information on modelling interior assets can be found on Page 358 of this document.
attpoints.txt - A text file stating which attachment points relate to which assets. For reference purposes only. This file may be deleted.
Config.txt File Listing
kuid <kuid:56113:1014> trainz-build 2.9 category-class "ZI" category-region "US" category-era "1960s;1970s;1980s" username "testInteriorDiesel" kind "interior" cameradefault 2 description "Test interor asset (based on the F7A interior)." mesh-table { default { mesh "f7interior_main.im" auto-create 1 } ampmeter_needle } kind "needle" mesh "f7interior_ampmeter_needle.im" att "a.ampmeter_needle" limits 0,1500 angles 0,2.12058 att-parent "default" } flow_needle { kind "needle" mesh "f7interior_bpflow_needle.im" att "a.bpflow_needle" limits 0,100 att-parent "default" } bploco_equaliser { kind "needle" mesh "f7interior_bplocoequaliser_needle.im" att "a.bplocoequaliser_needle" limits 0,1000 att-parent "default" } bplocomain_needle { kind "needle" mesh "f7interior_bplocomain_needle.im" att "a.bplocomain_needle" limits 0,1000 att-parent "default" } bptrainbrakecylinder_needle { kind "needle" mesh "f7interior_bptrainbrakecylinder_needle.im" att "a.bptrainbrakecylinder_needle" limits 0,1000 att-parent "default" } bptrainbrakepipe_needle { kind "needle" mesh "f7interior_bptrainbrakepipe_needle.im" att "a.bptrainbrakepipe_needle" limits 0,1000 att-parent "default" } speedo_needle { kind "needle" mesh "f7interior_speedo_needle.im" att "a.speedo_needle" limits 0,58 att-parent "default" } dynamicbrake_lever { kind "lever" mesh "f7interior_dynamicbrake_lever.im" att "a.dynamicbrake_lever" limits 0,2 angles 0,0.94 notches 0,0.5,1 notchheight 1,1,1 att-parent "default" } independantbrake_lever { kind "lever" mesh "f7interior_locobrake_lever.im" att "a.locobrake_lever" limits 0,32 angles 0.94,0 notches 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1 notchheight 1,2,2,2,2,2,2,2,2,2,1 mousespeed -1 att-parent "default" } reverser_lever { kind "lever" mesh "f7interior_reverser_lever.im" att "a.reverser_lever" limits 0,2 angles 0,-0.471239 notches 0,0.5,1 notchheight 1,1,1 att-parent "default" } throttle_lever { kind "lever" mesh "f7interior_throttle_lever.im" att "a.throttle_lever" limits 0,8 angles -0.471,0 notches 0,0.125,0.25,0.375,0.5,0.625,0.75,0.875,1 notchheight 1,1,1,1,1,1,1,1,1 mousespeed -1 att-parent "default" } trainbrakelap_lever { kind "lever" mesh "f7interior_trainbrake_lever.im" att "a.trainbrake_lever" limits 0,4 angles 0.94,0 notches 0,0.25,0.5,0.75,1 notchheight 1,1,1,1,1 mousespeed -1 att-parent "default" } horn { kind "pullrope" mesh "f7interior_horn.im" att "a.horn" limits 0,1 angles 0.1,0 notches 0,1 notchheight 0,0 mousespeed -1 att-parent "default" } 1 { kind "lever" mesh "f7interior_switch.im" att "a.switch0" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } 2 { kind "lever" mesh "f7interior_switch.im" att "a.switch1" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } 3 { kind "lever" mesh "f7interior_switch.im" att "a.switch2" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } 4 { kind "lever" mesh "f7interior_switch.im" att "a.switch3" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } 5 { kind "lever" mesh "f7interior_switch.im" att "a.switch4" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } 6 { kind "lever" mesh "f7interior_switch.im" att "a.switch5" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } light_switch { kind "lever" mesh "f7interior_switch.im" att "a.switch6" limits 0,1 angles 0,2 notches 0,1 notchheight 0,0 mousespeed -1 radius 0.2 att-parent "default" } 8 { kind "lever" mesh "f7interior_switch.im" att "a.switch7" limits 0,1 angles 0,2 mousespeed -1 radius 0.2 att-parent "default" } ampmeter { mesh "f7interior_ampmeter.im" auto-create 1 } bploco { mesh "f7interior_bploco.im" auto-create 1 } bptrain mesh "f7interior_bptrain.im" auto-create 1 } brakepressure { mesh "f7interior_brakepressure.im" auto-create 1 } chair { mesh "f7interior_chair.im" auto-create 1 } controlstand { mesh "f7interior_controlstand.im" auto-create 1 } horizblinds { mesh "f7interior_horizblinds.im" auto-create 1 } interior_main { mesh "f7interior_main.im" auto-create 1 } speedo { mesh "f7interior_speedo.im" autocreate 1 } westinghouse { mesh "f7interior_westinghouse.im" auto-create 1 } windows { mesh "f7interior_windows.im" opacity 0 check this } wheelslip_light { kind "light" mesh "wheelslip.im" att "none" att-parent "default" } } cameralist { camera0 -0.797,0.476,0.547,0.057,-0.085 camera1 -1.027,1.076,0.48,-6.149,-0.264 camera2 -1.018,1.039,0.48,-5.364,-0.117 camera3 0.832,0.521,0.592,-12.548,-0.098 camera4 0.859,0.662,0.434,-1.05,-0.255 camera5 -0.797,0.476,0.547,0,0 } thumbnails { 0 { image "thumb.jpg" width 240 height 180 } }
Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip