Skip to content

TFO's Point section documentation #1310

@ginga81

Description

@ginga81

The Point section is a crucial element for switching tracks and changing speed while the train is running, but I couldn't find it documented in the help section.
I tried to implement it myself, so I was hoping you could correct my oversight and add it to the documentation.

<h2 id="-12-the-train-attribute">■ 1.4 The Point attribute</h2>
<p>The Point section allows you to change the speed of a moving object without stopping it, or to change the track it's moving on.</p>
<div id="command">
<strong>&lt;Position&gt;</strong> <em>Position</em> <strong>&lt;/Position&gt;</strong>
</div>
<p><strong>Position</strong> sets the in-game distance where the object passes. The unit is <strong>meter</strong>.</p>
<hr>
<div id="command">
<strong>&lt;Decelerate&gt;</strong> <em>Value</em> <strong>&lt;/Decelerate&gt;</strong>
</div>
<p><strong>Value</strong> sets the deceleration of the object before reaches the <strong>&lt;Position&gt;</strong>. The unit is <strong>km/h/s</strong>.</p>
<hr>
<div id="command">
<strong>&lt;Accelerate&gt;</strong> <em>Value</em> <strong>&lt;/Accelerate&gt;</strong>
</div>
<p><strong>Value</strong> sets the acceleration of the object after the <strong>&lt;Position&gt;</strong>. The unit is <strong>km/h/s</strong>.</p>
<hr>
<div id="command">
<strong>&lt;PassingSpeed&gt;</strong> <em>Value</em> <strong>&lt;/PassingSpeed&gt;</strong>
</div>
<p><strong>Value</strong> The speed will change to the <em>Value</em>'s speed before reaching this distance.</p>
<hr>
<div id="command">
<strong>&lt;TargetSpeed&gt;</strong> <em>Value</em> <strong>&lt;/TargetSpeed&gt;</strong>
</div>
<p><strong>Value</strong> After passing the position of specified for <strong>&lt;Position&gt;</strong>, the speed changes to that of <em>Value</em>.</p>
<hr>
<div id="command">
<strong>&lt;Rail&gt;</strong> <em>RailIndex</em> <strong>&lt;/Rail&gt;</strong>
</div>
<p><strong>RailIndex</strong> sets the trajectory on which the object will run. It is necessary to define the trajectory by the <strong>Track.Rail</strong> command of the route file.</p>
<p><em>Note:</em> To ensure a smooth track switch, you should leave at least two units of clearance before and after the <strong>&lt;Point&gt;</strong> command of the route file.</p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions