Getting Started (Railcraft - Signaling)/zh-cn

From Feed The Beast Wiki
Jump to: navigation, search

或许Railcraft最复杂的附加成分莫过于信号的概念。信号是非常强大的,它可以让我们通过复杂的逻辑与无线连接来指挥矿车的行进。这份指南将会向你解释如何来创造一个你自己的基础信号系统。

词汇表[edit | edit source]

我们将会从这些术语开始,有些跟铁路很相似,你或许可以认出其中的一些术语。

信号域

两个配对了的信号域之间的长度可以很长,它们甚至可以延伸到区块边界处。现在你仅可以定义直线段的信号域,任何轨道的转弯或断裂都会让信号域失效。斜坡是可以接受的,但是需要考虑其他的一些因素。这在后面会讲到。

信号的概念

基本上是信号当前的状态。可能的状态从最低限制性至最高限制性排列:绿色、闪烁黄色、黄色、闪烁红色、红色。闪烁的状态被用来显示一个信号方块当前的状态(分别是配对或没有配对)。绿色表示信号方块之间没有矿车;黄色表示矿车正在远离信号方块;红色表示矿车正在接近信号方块或矿车停止在信号方块之间。

控制器

A device capable of transmitting a Signal Aspect to a Receiver. All Block Signals function as Controllers.

接收器

A device that can be paired to a Controller in order to trigger different behavior on different Signal Aspects. These would be Distant Signals, Switch Motors, and Receiver Boxes.

信号灯

A Signal that can paired with another Block Signal to define a Signal Block. It also functions as a Controller. They only function is pairs, and every 4 minutes check the validity of the Signal Block they define. In the case of a failure, it will wait another 4 minutes before checking the Signal Block again. If the Signal Block is still invalid, the pairing will be cleared and they will revert to the Red Blink state.

远程信号

A Signal that functions as a Receiver to display the state of the paired Controller. This can be used to display the status of Block Signals you could not normally see, such as the status of a Diverging Line or the status of the Signal Block after the current one.

主线

The primary track, for our uses it will usually refer to a straight section of track.

支线

A track that splits from the main line and travels in a new direction.

物品[edit | edit source]

现在我们来看看需要用来创建一个信号系统的两个物品。要使用这两个物品,先右击一个方块,然后右击你希望配对的方块。这非常简单。你将会用屏幕左下角的信息来判断你是否由成功配对。

物品 描述
信号域监测仪 用来配对两个信号方块以形成信号域
信号调谐器 用来连接控制器与接收器

设备(方块)[edit | edit source]

现在我们到了信号系统的主要部分,信号和设备是由这些东西进行管理的。

物品 描述
信号盒 The most basic Signal, both a Block Signal and a Controller. This signal will form the heart of your Signalling System. It must be placed near a rail in order to form a valid Signal Block. The exact distance it can be from the rail is somewhat hard to define, but it must be within two tiles horizontally, and four tiles vertically. You need not place the signal on both ends in the same configuration relative to the rail, all that matters is that the rail forms a straight line between the two signals. When searching for a rail, it will look below it first, then one tile to either side, and then finally two tiles to either side. If two rails are equidistant to the signal, the exact rail picked will vary on the implementation of the search algorithm and will not be defined here. Best to avoid such configurations as there is no guarantee they will remain valid between updates.
远程信号 A simple Receiver that can be paired to a Controller. When paired it will display the same Aspect as the paired Controller. As stated before, this is used to display the aspect of another signal. Useful for indicating the status of the next Signal Block or a Diverging Line. Can also be used in Stations or CTC centers if you are creative.
双头信号 Combining a Block Signal and a Distant Signal, it possess two lights. The top light is a Block Signal and can be paired with any other Block Signal and functions as the Controller. The bottom light is basically a Receiver that can be paired to any Controller.
转辙马达 Powered by either Redstone or a Controller, this block is placed across the main line from the diverging line (replacing the traditional lever). Powered or unpowered carts from the top of the main line or from the diverging line always travel towards the "open" side of the switch. When unpowered, the Main Line allows the cart to travel straight. When powered, the cart will shift onto the Diverging Line. Once the switch is on the ground, the direction of the switch can be adjusted with a Crowbar.
信号接受盒 This box can be paired with any Controller. When paired, you can open a GUI to pick which Aspects should emit a Redstone current from the Box. If placed next to a Signal Controller Box it will transmit the Aspect to it as well.
信号控制盒 This box can be placed next to a Signal Receiver Box and will then send the Signal Aspect from the Receiver Box to a paired Receiver. Multiple Controller Boxes can be placed next to a single Receiver Box. This enables a single Block Signal to control multiple Switch Motors or Distant Signals. Placing two Receiver Boxes next to a Controller Box will cause the Controller Box to send the most restrictive Signal Aspect between the two. Additionally it can be powered via Redstone to emit an Aspect chosen via a GUI. It will not activate on the Redstone current emitted directly from a Signal Receiver Box. It will however always emit the most restrictive Aspect between the one chosen in the GUI and one received from a Receiver Box.

Signal Capacitor Box
This box will trigger when an adjacent box emits a Redstone signal. Upon that trigger it will emit Redstone for predetermined length of time, similar to a RedPower State Cell.

Signal Block Relay Box
This box can act as the Signal Block anchor, it can be paired to up to two other Signal Block anchors. This allows you extend Signal Blocks around corners or over greater distances. It can be paired to a Receiver and will emit redstone. It will also send its Aspect to adjacent Controller Boxes and can trigger Capacitor Boxes.

See also[edit | edit source]