Difference between revisions of "TrainCarts/Signs/Mutex"

From BergerHealer Wiki
Jump to navigation Jump to search
(Prepared the page for translation)
(Marked this version for translation)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
 +
<!--T:1-->
 
[[Special:MyLanguage/TrainCarts/Signs|« Go back]]
 
[[Special:MyLanguage/TrainCarts/Signs|« Go back]]
  
  
== Introduction ==
+
== Introduction == <!--T:2-->
  
 +
<!--T:3-->
 
The mutex sign handles mutual exclusion: it blocks trains from entering while another train is already inside the zone. Once the zone is freed up again, the waiting trains are allowed to continue movement. This sign is useful in combination with switcher signs to avoid crashing trains. Levers attached to the base block are toggled while a train is inside the mutex zone.
 
The mutex sign handles mutual exclusion: it blocks trains from entering while another train is already inside the zone. Once the zone is freed up again, the waiting trains are allowed to continue movement. This sign is useful in combination with switcher signs to avoid crashing trains. Levers attached to the base block are toggled while a train is inside the mutex zone.
  
 +
<!--T:4-->
 
Multiple mutex signs can be combined by naming them the same, combining the cuboid areas of effect they occupy. This way more complex zones can be created.
 
Multiple mutex signs can be combined by naming them the same, combining the cuboid areas of effect they occupy. This way more complex zones can be created.
  
  
== Syntax ==
+
== Syntax == <!--T:5-->
  
 
</translate>
 
</translate>
Line 38: Line 41:
  
  
 +
<!--T:6-->
 
* First line: [train]. The sign does not have to be powered.
 
* First line: [train]. The sign does not have to be powered.
 
* Second line: ''mutex'', which without further arguments will create a cuboid zone around the sign of 1x2x1 (x/y/z). When followed by one number, the number sets all cuboid x/y/z-radius values at once. When followed by a second number, the first number sets the x/z-radius and the second number the y-radius. With 3 parameters, each x/y/z radius can be specified.
 
* Second line: ''mutex'', which without further arguments will create a cuboid zone around the sign of 1x2x1 (x/y/z). When followed by one number, the number sets all cuboid x/y/z-radius values at once. When followed by a second number, the first number sets the x/z-radius and the second number the y-radius. With 3 parameters, each x/y/z radius can be specified.

Revision as of 17:35, 8 February 2021

Other languages:
English • ‎中文 • ‎中文(中国大陆)‎

« Go back


Introduction

The mutex sign handles mutual exclusion: it blocks trains from entering while another train is already inside the zone. Once the zone is freed up again, the waiting trains are allowed to continue movement. This sign is useful in combination with switcher signs to avoid crashing trains. Levers attached to the base block are toggled while a train is inside the mutex zone.

Multiple mutex signs can be combined by naming them the same, combining the cuboid areas of effect they occupy. This way more complex zones can be created.


Syntax

Signtemplate.png
[train]
mutex


Signtemplate.png
[train]
mutex 1/2/1


Signtemplate.png
[train]
mutex 1/2


Signtemplate.png
[train]
mutex 2


Signtemplate.png
[train]
mutex 2
name
d@Station 12


  • First line: [train]. The sign does not have to be powered.
  • Second line: mutex, which without further arguments will create a cuboid zone around the sign of 1x2x1 (x/y/z). When followed by one number, the number sets all cuboid x/y/z-radius values at once. When followed by a second number, the first number sets the x/z-radius and the second number the y-radius. With 3 parameters, each x/y/z radius can be specified.
  • Third line: Name (optional), multiple mutex signs with the same name form a single combined mutex zone
  • Fourth line: Statement (optional), each sign with the same name adds to a list of statements. Prepend & or | to switch between AND and OR logic.