Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Zizo Directional Rail Switcher
   
奖励
收藏
已收藏
取消收藏
标签: v1.8.8
文件大小
发表于
更新日期
147.015 KB
2022 年 7 月 2 日 上午 3:18
2023 年 9 月 6 日 上午 9:23
4 项改动说明 ( 查看 )

订阅以下载
Zizo Directional Rail Switcher

描述
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.
3 条留言
Wolves Hero 6 月 15 日 下午 1:32 
Any replace rail signal mod don't worked, only one button Legacy Switch worked track switch but Left/Right switch don't worked. Only work on Zizo Railroad Signals Enhanced. Can't find Left/Right indicator with track switch on workshop for any replace rail signal mod.
Zizo  [作者] 2023 年 8 月 7 日 上午 1:37 
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 2023 年 8 月 7 日 上午 12:51 
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.