Rail3D*


 

Model Syntax


Rail3D models use a text file definition.

List of terms in Rail3D model scripts

 

 Keyword

   

Type of model 

   

Function 

 

 Description

   
#     all types     Comment   The '#' and anything following is ignored by the compiler    
[end]     all types     End of a model definition   Ends the model definition (a new model definition may follow)    
<CONTROL>     rolling stock models     Control block   introduces a block of control settings    
<HEADLAMP>     rolling stock     Headlamp Block    introduces a block of headlamp settings     
<INDEXEDTRIANGLELIST>      Rolling stock, Scenery      Indexed Triangle List   Defines  a triangle set linked to a vertex buffer declaration.  Usually used in models exported from other tools (eg 3DS, Sketchup)    
<LIGHTING>           Lighting Block    Defines lighting charterstics    
<LOADING>     Rolling Stock     Loading positions   Defines loading positions for vehicles that can take a load (eg car transporter) New in V  
<NAMES>     Rolling Stock     Names of locos   Defines names for specific loco numbers    
<PHYSICS>     Rolling Stock     Physics parameters   Defines physics parameters of rolling stock    
<SIGNALBOX>     Scenery         Position of frame, views etc for signalbox    
<SOUND>     Rolling Stock     Sound   Defines sound for a rolling stock item    
<STEAM>     Rolling Stock     Steam   Specifies parameters for steam loco's, eg chimney position.    
<SWITCH>     Track     Switch   Parameters for track switches, eg checkrails, gap etc    
<TRACK>     Track     Track        
<VERTEXBUFFER>     Rolling Stock, Scenery     Vertex Buffer   Defines vertices for an indexed triangle set.  Usually used in models exported from other tools (eg 3DS, Sketchup)    
ARM     Signals     Signal Arm   Defines an arm component for semaphore signals    
BILLBOARD               Obsolete    
BOGIE     Rolling Stock     Bogie   Includes a bogie sub-component    
BOGIE1 / BOGIE2     Rolling Stock     Bogie   Includes a bogie sub-component and supports asymetric bogies New in V  
BRAKERATE     Rolling Stock     Brake rate   Defines the rate at which the vehicle brakes, ie higher numbers for trams etc    
CAB     Rolling Stock     Cab position   Defines driving position in locomotive    
CAB2     Rolling Stock     Asymetric cab position   Defines second cab position if position is different in reverse direction    
CABLE               For cable car type models    
CLEAR                    
COMPONENT     All types     Component   Sets the current model or component as a "component" type.  Components do not appear in the library in Rail3D    
CREDIT     All types     Credit   Name of model author (etc) appears in library    
DEFAULTSKIN           Default Skin   Defines a default skin setting.  Usually used in sub-components where the skin is specified by the parent model.  See SKIN    
DESCRIPTION     All types     Description   Descirption of the model. Appears in the library.    
DOOR     Rolling Stock     Door   Defines an opening door    
DRIVER                    
FILL     All types     Fill   Defines a four cornered panel in a model    
                     
                     

 

 

 

FITSLOPE

FITTOCURVE

FOOTPLATE

FLATSHADING

FLOAT

GAUGE

HANG

HEAD

HEADLIT

HEADOBJECT

HOTSPOT

ID

IMPERIAL

IMPERIALFLOAT

INCLUDE

INCLUDELIT

INCLUDESCRIPT

INTERIORLIGHTING

LAMP

LENGTH

LINEAR

LINKFILL

LOCO

MAX

METRIC

MILLIMETRIC

MOTION1

MOTION2

MOTION2B

MOTION3

MOTION4

NAME

NUMBER

OFFSET

PANARM

PANHEAD

PANTOGRAPH

PIPE

POWER

PULLOFF

PULLOFFSPACE

RACK

RAIL

ROAD

SET

SKIN

STATE

STRIP

SUBUNIT

SUPPORTWIRE

SUSPEND

TAILLIT

TAILOBJECT

TE

TENDER

THREEPHASE

TILT

TRACK2

TRACK3D

TRACKCLIP

TREE

TROLLEYPOLE

TROLLEYUNIT

UNFITTED

UNIT

UNITNUMBER

VECTSUSPEND

VECTTILT

VISIBILITY

WEIGHT

WHEEL

 

 

 


MRG 06/02/2015 12:48:37