HowTo/Scenery

From TrainzOnline
< HowTo(Difference between revisions)
Jump to: navigation, search
(Scenery)
(Scenery)
Line 34: Line 34:
  
 
{
 
{
 +
 +
[[/mesh/]]  a_mesh.trainzmesh
 +
 +
[[/autocreate/]] 1
  
 
}
 
}

Revision as of 13:08, 6 February 2022

Scenery

Scenery is one of the most basic items you can make for Trainz. Every asset needs a config file. This is a config file that determines how Trainz uses the asset you have created. Below is the config file for a basic scenery asset. This particular config file would suit a static object with no lighting.


kuid <kuid:00000:00000>

kind "scenery"

trainz-build 1.0

light 1

type "scenery"

name "BP Large Tank"

username "the name of the asset shown in surveyor"

kuid-table

{

}

obsolete-table

{

}

mesh-table

{

mesh a_mesh.trainzmesh

autocreate 1

}

category-region-0 "AU"

category-era-0 2000s

category-class "BI"

description "Tells the user all about your asset can be as much of a description as you like"

author "who made the asset"

organisation "your organisation"

contact-email "your email"

contact-website "maybe you have a website"

license "can be how you want your asset distributed"

Personal tools