Add signals_style_lookahead_single_signal_only signal style property
This commit is contained in:
@@ -508,10 +508,21 @@ item (FEAT_GLOBALVARS) {
|
||||
Set the look-ahead extra aspects for the most recently defined style (defined using the <span class="code">define_style</span> property).<br />
|
||||
This property only makes a difference when the "limit train lookahead to signal aspect" game setting is enabled.<br />
|
||||
This limits the signal aspect which the hypothetical train driver can "read" from the signal without affecting signal aspect propagation to other signals, or variable <span class="code">extra_callback_info2</span>.<br />
|
||||
Example values could include: 1 for traditional banner repeater signals, or 0 for shunt signals.<br />
|
||||
Example values could include: 1 for traditional banner repeater signals.<br />
|
||||
Shunt signals should use <span class="code">style_lookahead_single_signal_only</span> instead.<br />
|
||||
The value is clamped to be less than or equal to the value set in the <span class="code">extra_aspects</span> property.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>style_lookahead_single_signal_only</td><td>0 or 1</td>
|
||||
<td>
|
||||
Set the look-ahead to single signal only mode for the most recently defined style (defined using the <span class="code">define_style</span> property).<br />
|
||||
This property only makes a difference when the "limit train lookahead to signal aspect" game setting is enabled.<br />
|
||||
This is similar to <span class="code">style_lookahead_extra_aspects</span> with a value of 0, except the lookahead always ends at the
|
||||
next signal, even if that signal type sets <span class="code">style_no_aspect_increase</span>.<br />
|
||||
If enabled, this property overrides <span class="code">style_lookahead_extra_aspects</span>.<br />
|
||||
This can be used for shunt signals.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>style_opposite_side</td><td>0 or 1</td>
|
||||
<td>
|
||||
Set whether signals should be drawn on the opposite side of the track for the most recently defined style (defined using the <span class="code">define_style</span> property).
|
||||
|
@@ -475,11 +475,23 @@
|
||||
<p>This applies to the most recent custom signal style defined using the <a href="#signals_define_style">signals_define_style</a> property.<br />
|
||||
This property only makes a difference when the "limit train lookahead to signal aspect" game setting is enabled.<br />
|
||||
This limits the signal aspect which the hypothetical train driver can "read" from the signal without affecting signal aspect propagation to other signals, or variable 0x18.<br />
|
||||
Example values could include: 1 for traditional banner repeater signals, or 0 for shunt signals.</p>
|
||||
Example values could include: 1 for traditional banner repeater signals.<br />
|
||||
Shunt signals should use <a href="#signals_style_lookahead_single_signal_only#">signals_style_lookahead_single_signal_only</a> instead.</p>
|
||||
<p>The property length is 1 byte. The value is clamped to be less than or equal to the value set in the <a href="#signals_extra_aspects">signals_extra_aspects</a> property.<br />
|
||||
The Action 0 Id field is not used, the value is ignored.
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">action0_signals_style</font>, version 1</p>
|
||||
<h4 id="signals_style_lookahead_single_signal_only">Set custom signal style train look-ahead to single signal only mode (mappable property: signals_style_lookahead_single_signal_only)</h4>
|
||||
<p>This applies to the most recent custom signal style defined using the <a href="#signals_define_style">signals_define_style</a> property.<br />
|
||||
This property only makes a difference when the "limit train lookahead to signal aspect" game setting is enabled.<br />
|
||||
This is similar to <a href="#signals_style_lookahead_extra_aspects">signals_style_lookahead_extra_aspects</a> with a value of 0, except the lookahead always ends at the
|
||||
next signal, even if that signal type sets <a href="#signals_style_no_aspect_increase">signals_style_no_aspect_increase</a>.<br />
|
||||
If enabled, this property overrides <a href="#signals_style_lookahead_extra_aspects">signals_style_lookahead_extra_aspects</a>.<br />
|
||||
This can be used for shunt signals.</p>
|
||||
<p>The property length is 1 byte. 0 is disabled (default). 1 is enabled.<br />
|
||||
The Action 0 Id field is not used, the value is ignored.
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">action0_signals_style</font>, version 1</p>
|
||||
<h4 id="signals_style_opposite_side">Set custom signal style signal drawn on opposite side (mappable property: signals_style_opposite_side)</h4>
|
||||
<p>This applies to the most recent custom signal style defined using the <a href="#signals_define_style">signals_define_style</a> property.<br />
|
||||
When enabled, signals using this style are drawn on the opposite side of the track.</p>
|
||||
|
Reference in New Issue
Block a user