Variable:List

From TTWiki
Jump to navigationJump to search

All Known Variables


basecostfact/buildcostfact - The cost of a bridge/track
bridge[0] - Array of bridges compatible for the track
cargo - The cargo the vehicle can carry
class - What does it run on, 0=rail, 1=road, 2=air, 3=water, only for vehicles
compatible[0] - Array of all compatible objects
costfact - Purchase cost factor (final cost = basecost[costind]*costfact)
costind - Purchase cost index (index into a table of base costs), lower means higher final costs
curvespeed - Speed of vehicles in curves of track (not mph)
description language - The description of the object in various languages.
designed - Year vehicle is designed, 0 if available from the begining
disabledtrackcfg - Decides what types of corners and slopes the bridge can be used for
displayoffset - Unknown, only in tracks
field_0[0] - Unknown
field_10E - Unknown
field_11A[0] - Unknown
field_1E[0] - Unknown
field_3 - Controls in which tab the vehicle is when you want to buy it
field_4 - Unknown
field_6 - Unknown
field_9 - The space between the bridge columns (153 Steel 2550 Brick 24 Suspension 255 Wood Bridge )
field_24 - Unknown
field_B4[0] - Unknown
field_E - Unknown
flags - Flags for the object
heightcostfact - Cost factor for bridge height
maxheight - Maximum height for the bridge
maxspeed - Maximum speed for the bridge
numbridges - Amount of bridge objects for the track
numcompat - Number of compatible objects, 0 if compatible with all
nummods - Number of mods required (vehicles) or buildable (for track)
numsignals - Amount of signal objects for the track
numsnd - Number of sound effects (the kinds are set in the required object list)
numstations - Amount of stations objects for track
obsolete - Year vehicle becomes obsolete, 65535 if never
power - Amount of power the vehicles supplies
rackspeed - Top speed while on rack rail, or holding pattern speed for planes
reliability - Reliability of the vehicle, higher means long life time of vehicles
runcostfact - Running cost factor (final cost = basecost[runcostind]*runcostfact)
runcostind - Running cost index (index into a table of base costs), lower means higher final costs
salecostfact/sellcostfact - sale/sell cost factor of bridge/track (final cost = basecost[costind]*salecostfact)
signal[0] - Array of signals available for the track
soundeffect[0] - Array of soundeffects of the vehicle
spanlength - Unknown
speed - Top speed in mph.
sprites - Sprite properties
sprite - Inividual sprites
startsnd - The sound the vehicle makes when it starts
startsndtype - How to play the starting sound (what kind is set in the required object list)
station[0] - Array of station objects for track
trackmod[0] - Array of trackmods required for vehicle to run, or trackmods available in the case of tracks/roads
tracktype - Track object required for the vehicle to run
tunnel - Tunnel object for track
tunnelcostfact - Tunnel cost factor (final cost = basecost[costind]*tunnelcostfact)
visfxtype - How to draw the visual effect 'visualeffect'
visualeffect - The object used as visualeffect
wakefxtype - How to draw the wake effect 'wakeeffect' (doesn't exist in locotool 0.2)
weight - Weight in tonage