CCG/Kind: Activity

From TrainzOnline
< CCG
Revision as of 17:53, 5 June 2011 by Pev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

KIND: ACTIVITY

An activity is a scripted scenario.

Config.txt :

kind activity
kuid <KUID:-14:160>
username Highland Valley (DCC)
scriptlibrary SP3S1DCC
scriptclass SP3S1DCC
driver-settings
{
  autopilotmode 0
  startingtime 0.4
  timerate 1
  deraillevel 0
  showhelp 0
  controlmethod 0
  weather 3
  changeability 1
}
kuid-table
{
  highland_valley <KUID:-12:132>
   f7_sfred <KUID:-1:1>
   atsf_chair <KUID:-1:100160>
   atsf_pullman_pine <KUID:-1:100163>
   atsf_baggage <KUID:-1:100159>
   cflow_fert <KUID:-1:100012>
   prr_fm_tuscan <KUID:-1:100017>
   40ft_boxcar <KUID:-1:100085>
   pdhc_babyruth <KUID:-1:100066>
   4bhopper_il <KUID:-1:100929>
   50ft_boxcar <KUID:-1:100086>
   gatx_pennsalt <KUID:-1:100092>
   60ft_boxcar <KUID:-1:100087>
   sd40_2_santafe <KUID:-1:100871>
   4bhopper_il_coal_full <KUID:-1:101224>
   foundry_car <KUID:-1:101220>
}
description "Take contol of the morning
passenger service to Highland Valley stopping
at all stations and return to Greenwood. Bad
weather is forecast so drive with care.
 
  
Service : Highland Valley Passenger
Train No. : 7528
Consist : F7A + 5 cars
  
  
Weight in Tow : 300t
Total Length : 490'"

Breakdown:

username
Name of scenario displayed in TRS.
scriptlibrary
The name of the .gsl (compiled script) library on disk, without the ".gsl" extension.
scriptclass
The name of the scenario class within the script file.
driver-settings{}
Specify the settings of this scenario, similar to Driver's `settings' screen. Allows you to set the weather, control method (0 ­ dcc, 1 ­ cabin controlled) etc.
autopilotmode
0=off,
1=on
startingtime
0..1 (0.5=midday)
timerate
1=real-time
deraillevel
0=none,
1=arcade,
2=realistic
showhelp
0=off,
1=on
controlmethod
0=dcc,
1=cabin
weather
0=clear,
1=cloudy,
2=drizzle,
3=rain,
4=stormy,
5=light snow,
6=medium snow,
7=heavy snow
changeability
0=none,
1=periodic,
2=extreme
kuid-table{}
A list of named assets used in the scenario. Any scripts refer to assets (eg trains) by the names in this table.


Return to CCG Index

Content Creator's Guide

Personal tools