<railroadObject>

<activation endDistance="50"Description: Activation end distance
Type: Float
Default: 50
Required: no
startDistance="50"Description: Activation start distance
Type: Float
Default: 50
Required: no
/>


<aiNavigationBlockers>
<blocker node="node"Description: AI navigation blocking node. Only for ai splines, which are not part of the traffic system. Use one per spline
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</aiNavigationBlockers>

<gates>
<gate closingOffset="0"Description: Closing offset (sec)
Type: Float
Default: 0
Required: no
duration="3"Description: Move duration (sec)
Type: Float
Default: 3
Required: no
endRot="x y z"Description: End rotation
Type: Rotation values (x, y, z)
Required: no
endTrans="x y z"Description: End translation
Type: Translation values (x, y, z)
Required: no
node="node"Description: Gate node
Type: Index to i3d node or i3d mapping identifier
Required: no
startRot="x y z"Description: Start rotation
Type: Rotation values (x, y, z)
Required: no
startTrans="x y z"Description: Start translation
Type: Translation values (x, y, z)
Required: no
/>

</gates>

<i3dMappings>
<i3dMapping id="string"Description: Identifier to be used in xml
Type: String
Required: no
node="string"Description: Index path to node in i3d file
Type: String
Required: no
/>

</i3dMappings>

<parentFile xmlFilename="string"Description: Parent xml filepath used as basis
Type: String
Required: no
>

<attributes>
<clearList keepIndex="integer"Description: Index of list to keep
Type: Integer
Required: no
path="string"Description: List to clear but keep one item
Type: String
Required: no
/>

<remove path="string"Description: Path to remove from parent xml
Type: String
Required: no
/>

<set path="string"Description: Path change in parent xml
Type: String
Required: no
value="string"Description: Target value to set in parent file
Type: String
Required: no
/>

</attributes>
</parentFile>

<pedestrianBlockers>
<blocker node="node"Description: Pedestrian blocking node. Use one per spline
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</pedestrianBlockers>

<signals>
<signal alternatingLights="false"Description: True if light should blink in opposite
Type: Boolean
Default: false
Required: no
node="node"Description: Signal node, can be self-illum shape, add optional real light as child
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</signals>

<sounds>
<crossing debug="false"Description: Flag to enable debug rendering
Type: Boolean
Default: false
Required: no
fadeIn="0"Description: Fade in time in seconds
Type: Float
Default: 0
Required: no
fadeOut="0"Description: Fade out time in seconds
Type: Float
Default: 0
Required: no
file="string"Description: Path to sound sample
Type: String
Required: no
innerRadius="80"Description: Inner radius
Type: Float
Default: 80
Required: no
isLocalSound="false"Description: While set for vehicle sounds it will only play for the player currently using the vehicle
Type: Boolean
Default: false
Required: no
linkNode="node"Description: Link node for 3d sound
Type: Index to i3d node or i3d mapping identifier
Required: no
linkNodeOffset="x y z"Description: Sound source will be offset by this value to the link node
Type: Translation values (x, y, z)
Required: no
loops="1"Description: Number of loops (0 = infinite)
Type: Integer
Default: 1
Required: no
loopSynthesisRPMRatio="1"Description: Ratio between rpm in the gls file and actual rpm of the motor (e.g. 0.9: max. rpm in the gls file will be reached at 90% of motor rpm)
Type: Float
Default: 1
Required: no
lowpassGainScale="1"Description: Additional lowpass gain that is applied on the volume attributes
Type: Float
Default: 1
Required: no
outerRadius="5"Description: Outer radius
Type: Float
Default: 5
Required: no
parent="string"Description: Parent sample for heredity
Type: String
Required: no
pitchScale="1"Description: Additional pitch that is applied on the volume attributes
Type: Float
Default: 1
Required: no
supportsReverb="true"Description: Flag to disable reverb
Type: Boolean
Default: true
Required: no
template="string"Description: Sound template name
Type: String
Required: no
volumeScale="1"Description: Additional scale that is applied on the volume attributes
Type: Float
Default: 1
Required: no
>

<loopSynthesisLoad>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</loopSynthesisLoad>
<loopSynthesisRpm>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</loopSynthesisRpm>
<lowpassCutoffFrequency indoor="5000"Description: Indoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
outdoor="5000"Description: Outdoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
/>

<lowpassGain indoor="0.8"Description: Indoor lowpass gain
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor lowpass gain
Type: Float
Default: 1
Required: no
>

<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</lowpassGain>
<lowpassResonance indoor="2"Description: Indoor lowpass resonance
Type: Float
Default: 2
Required: no
outdoor="2"Description: Outdoor lowpass resonance
Type: Float
Default: 2
Required: no
/>

<pitch indoor="1"Description: Indoor pitch
Type: Float
Default: 1
Required: no
outdoor="1"Description: Outdoor pitch
Type: Float
Default: 1
Required: no
>

<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</pitch>
<randomization isInside="true"Description: Randomization is applied inside
Type: Boolean
Default: true
Required: no
isOutside="true"Description: Randomization is applied outside
Type: Boolean
Default: true
Required: no
maxLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
maxPitch="float"Description: Max pitch
Type: Float
Required: no
maxVolume="float"Description: Max volume
Type: Float
Required: no
minLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
minPitch="float"Description: Max pitch
Type: Float
Required: no
minVolume="float"Description: Min volume
Type: Float
Required: no
/>

<sourceRandomization file="string"Description: Path to sound sample
Type: String
Required: no
/>

<volume indoor="0.8"Description: Indoor volume
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor volume
Type: Float
Default: 1
Required: no
>

<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</volume>
</crossing>
</sounds>

<spline node="node"Description: Node id of spline
Type: Index to i3d node or i3d mapping identifier
Required: no
/>


<splines>
<spline node="node"Description: Node id the splines connected to this switch
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</splines>

<trafficBlockers>
<blocker node="node"Description: Traffic blocking node, also works for AI if it drives on a traffic system spline. Use one per road lane
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</trafficBlockers>

<trigger node="node"Description: Node id of the trigger to switch tracks
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</railroadObject>