-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commits and removed TrueType font files
- Loading branch information
1 parent
3085127
commit cf6fe63
Showing
15 changed files
with
178 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# 寻路限制 | ||
|
||
在这里我将介绍一些寻路限制在游戏中的运用实例。[^rspp] | ||
部分例子在预防冲突与节省基建时几乎是唯一解决方案。 | ||
对寻路限制与寻路限制程序的合理运用可以很大程度上提升运行的顺滑度, | ||
同时也降低阻塞的风险。虽然单一程序可能耗不起眼,但程序积少成多, | ||
最终你的网络会让在其上运行的列车快速且准确。 | ||
|
||
[^rspp]: 译注:寻路限制(Routefinding restriction)和可编程逻辑信号(Programmable pre-signal)是两个极其容易混淆的概念。 | ||
寻路限制仅适用于路径信号,可编程逻辑信号只适用于可编程逻辑信号(橙色灯牌) | ||
两者之间的差异在于可编程逻辑信号本质上来说还是逻辑信号(通过、进出口、复合), | ||
所以不需要预留一段路径。 | ||
而寻路限制本质上是给路径信号路径预留增加了限制,需要预留路径。 | ||
详细解释参见“[信号](../Features/Signalling.md)”章节。 | ||
|
||
## 如何配置 | ||
|
||
首先要介绍的就是分区功能当中的一个选项。 | ||
你可以在分区选项中设置高亮寻路限制信号,这样就可以快速找到你特别设置过的信号灯。[^remove_signal] | ||
防止你误操作删除你设置过的信号。 | ||
|
||
[^remove_signal]: 译注:实际上如果完全使用 8bpp 图像,且信号灯的灯杆是灰色或蓝灰色,在开启“寻路限制信号使用蓝色灯柱”时, | ||
游戏会自动将这些信号的灯柱替换为蓝色,所以可以不使用文中所述分区功能。不过,“启用蓝色灯柱”不适用于这些情形: | ||
灯柱不是蓝色的,或图像不是 8bpp 的(即图像为 32bpp)。 | ||
|
||
为了给信号灯编制寻路限制程序,你需要点选信号灯菜单中的齿轮图标。 | ||
点选后,点击你所需编程的信号。 | ||
|
||
这就是寻路限制菜单了。 | ||
|
||
## 简单信号路径优先 | ||
|
||
寻路限制信号编程的一大作用是确定优先级。这里是一个优先级的例子。 | ||
具体实现优先级需要这两种操作当中的一种,不过我个人认为接续预留的效果最好: | ||
|
||
* [延续预留](../Features/Signalling.md#延续预留)(Reserve through) | ||
|
||
*列车预留路径不会在这个信号处结束,就好像信号在前进方向上根本不存在一样。* | ||
*此操作在应用于有信号的隧道/桥梁入口或出口时没有效果。* | ||
|
||
* [接续预留](../Features/Signalling.md#接续预留)(Long reserve) | ||
|
||
*如果列车的预留路径在这个信号处终止,游戏会尝试从这个信号开始预留另一段路径。* | ||
*第一段路径和第二段路径无关。第二段路径预留失败不影响第一段路径。* | ||
*此操作在应用于有信号的隧道/桥梁入口或出口时没有效果。* | ||
|
||
<!--客运列车的优先级比货运列车高,因此在这种设置种--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
@font-face { | ||
font-family: "wenkai"; | ||
src: url(fonts/LXGWWenKaiMono-Regular.woff2) format("woff2"), | ||
url(fonts/LXGWWenKaiMono-Regular.woff) format("woff"), | ||
} | ||
|
||
@font-face { | ||
font-family: "sarasa"; | ||
src: url(fonts/SarasaGothicSC-Regular.woff2) format("woff2"), | ||
url(fonts/SarasaGothicSC-Regular.woff) format("woff"); | ||
/* regular */ | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
font-family: "sarasa"; | ||
src: url(fonts/SarasaGothicSC-Bold.woff2) format("woff2"), | ||
url(fonts/SarasaGothicSC-Bold.woff) format("woff"); | ||
/* bold */ | ||
font-weight: 700; | ||
} | ||
|
||
|
||
/* 斜体 - 美化 */ | ||
em, /* 预览模式下 */ | ||
span.cm-em, /* 实时预览下 */ | ||
.cm-quote.cm-quote-1.cm-em /* 实时预览的引用块下 */ { | ||
/* 不倾斜 */ | ||
font-style: normal; | ||
font-family: "wenkai"; | ||
} | ||
|
||
body, | ||
textarea, | ||
input[type="button"], | ||
input[type="reset"], | ||
input[type="week"], | ||
input[type="color"], | ||
input[type="date"], | ||
input[type="datetime-local"], | ||
input[type="datetime"], | ||
input[type="email"], | ||
input[type="month"], | ||
input[type="number"], | ||
input[type="password"], | ||
input[type="search"], | ||
input[type="tel"], | ||
input[type="text"], | ||
input[type="time"], | ||
input[type="url"], | ||
input[type="submit"], | ||
.btn { | ||
font-family: Lato,"sarasa",proxima-nova, Helvetica Neue, Arial, sans-serif; | ||
} | ||
|
||
.rst-content .sidebar .sidebar-title, | ||
.rst-content .toctree-wrapper > p.caption, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
legend { | ||
font-family: Roboto Slab,"sarasa", ff-tisa-web-pro, Georgia, Arial, sans-serif; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# 译者的话 | ||
|
||
## 下载游戏 | ||
|
||
### GitHub | ||
|
||
下载游戏的唯一官方途径为 [GitHub](https://github.com/jgrennison/openttd-patches/releases)。你也可以自己通过源码编译。 | ||
|
||
## 贡献者 | ||
|
||
感谢所有志愿者贡献的时间与精力: | ||
|
||
* JGRennison | ||
* WenSim | ||
* Mikhail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters