Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Train Junction Map
   
奖励
收藏
已收藏
取消收藏
标签: v1.4.10
文件大小
发表于
更新日期
41.612 KB
2019 年 11 月 5 日 下午 5:13
2022 年 3 月 1 日 下午 4:10
3 项改动说明 ( 查看 )

订阅以下载
Train Junction Map

描述
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1907151392

The map view is a modified version of this item
4 条留言
5head55 2024 年 5 月 6 日 下午 3:25 
mine dosen't work, it shows the map but not what state or how to change the junctions.
*Prometheus* 2023 年 1 月 2 日 上午 9:45 
it does
*Prometheus* 2023 年 1 月 2 日 上午 9:44 
nevermind just tested it
*Prometheus* 2023 年 1 月 2 日 上午 9:41 
is it compatible on a 1x3 monitor?