CCG/Example: Scenery
(New page: ==Scenery== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_scenery_dir1.jpg ===Required Files=== '''config.txt''' -...) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <font color=red>'''Note: This page describes describes only a small subset of the possible tags for a Scenery asset. The up-to-date documentation of this format is [[KIND Scenery]]. Discussion of LOD, seasons and other important topics is missing from this example.'''</font> | ||
+ | |||
+ | |||
+ | |||
==Scenery== | ==Scenery== | ||
Line 5: | Line 9: | ||
A typical asset of this kind has the following File\Directory Structure: | A typical asset of this kind has the following File\Directory Structure: | ||
+ | |||
[[Image:CCG_scenery_dir1.jpg]] | [[Image:CCG_scenery_dir1.jpg]] | ||
Latest revision as of 17:30, 15 June 2011
Note: This page describes describes only a small subset of the possible tags for a Scenery asset. The up-to-date documentation of this format is KIND Scenery. Discussion of LOD, seasons and other important topics is missing from this example.
Contents |
[edit] Scenery
[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.
various.tga, various.texture.txt - The texture files used for this scenery object. See the section on Texture.txt files on Page 96 for more information.
factory_3.wav - The sound file.
ger_warehouse.im - The mesh file for the main model.
ger_warehouse_nightwindows.im - The nightwindows mesh file, in a subdirectory.
[edit] Config.txt File Listing
kind "scenery" username "testScenery" light 1 nightmode "lamp" kuid <kuid:171456:100068> trainz-build 2.5 description "Test Scenery object based on the inbuilt German Factory." category-class "BI" category-region "00" category-era "1970s;1980s;1990s;2000s" smoke0 { attachment "a.smoke0" mode "timeofday" color 100,100,100,250 accel 1,0.3,0 start 0.25,0.5 period 0 rate 4 velocity 1.25 lifetime 2 minsize 0.5 maxsize 1 } soundscript { daysingle { repeat-delay 0,0 distance 2,150 sound { 0 "factory_3.wav" } } } mesh-table { default { auto-create 1 mesh "ger_warehouse.im" effects { 0 { kind "name" att "a.name0" fontcolor 0,0,0 fontsize 0.28 name "name" } } } night { mesh "ger_warehouse_nightwindows/ger_warehouse_nightwindows.im" night-mesh-base "default" } } thumbnails { 0 { image "thumb.jpg" width 240 height 180 } }
If animation were to be included, the animation file anim.kin would be placed in the directory, and the mesh table entries would be as below, with the animation playing immediately the asset is placed in Surveyor.
mesh-table { default { auto-create 1 mesh "ger_warehouse.im" anim "anim.kin" animation-loop-speed 1 } } etc
[edit] Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip