Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Train Junction Map
   
Award
Favorite
Favorited
Unfavorite
Tags: v1.4.10
File Size
Posted
Updated
41.612 KB
5 Nov, 2019 @ 5:13pm
1 Mar, 2022 @ 4:10pm
3 Change Notes ( view )

Subscribe to download
Train Junction Map

Description
This is a MicroController that shows Rail Junctions on a LUA map.
Note: to be practical you need to mod the signals too. There is a collection of compatible signals here


You can switch signals by touching the marker.
The marker shows the direction of the switch (black line) and the state of the switch (green)
The marker is blue when the signal is polled and red when it's state was changed.

This controller sends pings automatically, but you can press P to manually update.

Note the Unique ID of a signal is based on it's position, so dragging the dummy signal around may cause phantom signals to show up on the map display. They will time out after a while.

Radio signals on Frequency 440:
bool1: legacy/vanilla switch command
bool2: current switch state of signal
bool3: ping command (triggers reply with position, compass and state from the signal)
bool4: switch state command
num1: GPS X
num2: GPS Y
num3: compass (arrow facing away from the diverging tracks)

The ping command is sent by the map.
The switch state command should include the position of the switch to be toggled, that's how the switch knows to respond to it.

Each switch will wait replying to a ping by some random-ish time that depends on it's position so that multiple switches don't collide their radio transmissions.

This is a work in progress.

You may use the MicroController in your creations, but you must give me credit by linking to this item in your description. Copy-Paste: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1907151392

The map view is a modified version of this item
4 Comments
5head55 6 May, 2024 @ 3:25pm 
mine dosen't work, it shows the map but not what state or how to change the junctions.
*Prometheus* 2 Jan, 2023 @ 9:45am 
it does
*Prometheus* 2 Jan, 2023 @ 9:44am 
nevermind just tested it
*Prometheus* 2 Jan, 2023 @ 9:41am 
is it compatible on a 1x3 monitor?