CCG/Region

From TrainzOnline
< CCG
Jump to: navigation, search

Contents

KIND: REGION

Description

A region is chosen in Surveyor to create a new map or route. This Kind creates a new region in addition to the in-built regions such as Australia or USA for example. The region can define geographical location, road traffic and weather conditions.


Container Structure

A well formed region kind has the following container structure:

CCG region dir.jpg

See Chapter 7 for an example asset of this kind.


A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:

kind                  "region"
kuid                  kuid
trainz-build          data
category-class        data
category-region       data
category-era          data
username              data
watercolor            data
defaultjunction       data
ontheright            data
longitude             data
latitude              data
altitude              data
car0                  kuid
thumbnails
0
image                 file
width                 data
height                data


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 "YM" - Map. See the "Maps and Scenarios" section 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 "region".


Additional Tags

watercolor
RGB colour value of the water for the region.
defaultjunction
Default type of junction in this region.
ontheright
Cars drive on the right side of the road.
longitude
Longitude of this region, in degrees and minutes, the third data entry is 1 or -1 indicating East or West of Greenwich.
latitude
Latitude of this region, in degrees and minutes, the third data entry is 1 or -1 indicating North or South of the equator.
altitude
Altitude of this region.
car0, car1, car2, car3, car4, car5, car6, car7, car8,
car9,car10, car11, car12, car13, car14, car15
Each of these tags stores the kuid of a car to be used on the roads. See HowTo/Add Carz Traffic to a Route for a method to populate the car list.


THIS KIND SUPPORTS THE FOLLOWING:

CONTAINERS
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, watercolor, defaultjunction, ontheright, longitude, latitude, altitude, author, car0, car1, car10, car11, car12, car13, car14, car15, car2, car3, car4, car5, car6, car7, car8, car9, category-keyword, contact-email, contact-website, description, description-cn, description-cz, description-de, description-es, description-fr, description-it, description-pl, description-nl, description-ru, license, organisation, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.


Return to CCG Index

Content Creator's Guide

Personal tools