Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Zizo Directional Rail Switcher
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
147.015 KB
2 Jul, 2022 @ 3:18am
6 Sep, 2023 @ 9:23am
4 Change Notes ( view )

Subscribe to download
Zizo Directional Rail Switcher

Description
This is a custom railroad signal switcher that works with both default signals operating on channel 440 and requiring a boolean (on/off) signal on composite channel 1, and with directional signals used on the Naval Yard Gaming server.

Installation:
Simply copy and pase the subassembly on your vehicle.

Usage:
  • The arrow buttons allow to switch signals to the left or to the right.*
  • The flip switch is used to control either the signal facing the opposite direction your train is (off position) or the signal facing the same direction as your train is (on position). This is used for example when going backwards.
  • The "Legacy switch" button changes the state on all signals in range no matter their direction or current state.

* this feature only works with the directional signals.
2 Comments
Zizo  [author] 7 Aug, 2023 @ 1:37am 
Hello superosh, that is an interesting idea you got there. LUA does not sync well in multiplayer tho, so I think your version with the logic blocks is way better for reliability.
superosh 7 Aug, 2023 @ 12:51am 
I am using your rail-switcher system on all my trains. It's a perfect system, and makes driving a train much more chilled.

I have increased the functionality a bit, maybe you could implement this into your MC ?:
The idea is, to pre-select all signals before starting to drive:

A LUA table with stored datasets: "x-coordinate, y-coordinate, actiion to perform"
So I go to the map and select a waypoint close before a track-switcher, then I set the action "left" or "right" or "stop".
Then while the train is moving, it will work-down the list and set the pre-selecetions automaticly: do action--->>>increment waypoint---->>do next action--->>increment waypoint...etc

However, I have miserably failed to-do this in LUA (just a basic table), I am using 30 memory-registers to have a limited ability of 10 pre-select waypoints. (10x3 = 30..."GPS-x/GPS-y/action).

My non-LUA "solution" works fine so far.

However, many thanks for sharing this.