Skip to content

Commit

Permalink
Update wiki and fix some translation mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
WenSimEHRP committed Aug 24, 2024
1 parent cb3e5f2 commit c75d7f7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 32 deletions.
51 changes: 26 additions & 25 deletions Features/Network-server-administration.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,49 @@
## Network server administration
# 服务器管理功能

## 从客户端改变服务端设置

### Changing server settings from an attached network client
*可以*在客户端使用远程控制台[^rcon]修改服务器设置。
不过通过*设置菜单*修改要简单得多——使用远程控制台远比使用设置菜单困难。

The rcon mechanism can be used edit server settings from an attached network client, however it is much more cumbersome to use than the settings window.
[^rcon]: 译注:RCON,即 Remote control,指远程控制/修改/操作服务端上的内容(~~リンクスタート~~

The settings_access mechanism can be use to authorise a network client such that is is permitted to change the following on the server:
* Game settings (using the settings window or the `setting` console command)
* Cheats (using the cheats window)
* Pause/unpause game (using the pause button in the main toolbar)
* Rename engine (using the build vehicle window)
* Rename towns and change per-town settings when these are not enabled for normal multiplayer clients (using the town window)
可以通过 `settings_access` 命令授权客户端修改服务端设置。可修改的设置如下:

The `network.settings_password` setting needs to be set to a secure password (in the same way as the rcon password is set).
* 游戏设置(使用设置菜单或控制台命令 `setting`
* 沙盒选项(使用沙盒选项窗口,旧称“作弊”)
* 暂停/取消暂停(使用工具栏中的暂停与取消暂停按钮)
* 重命名载具(使用购买载具窗口)
* 重命名城镇与修改城镇设置(使用城镇窗口)[^when_open_to_all]

Run `setting network.settings_password PASSWORD` or just `settings_password PASSWORD` on the server,
[^when_open_to_all]: 译注:启用“允许联机玩家修改城镇设置”选项后所有玩家都可以修改城镇相关设置。

需要注意的是,在使用之前需要通过设置 `network.settings_password` 设置密码。 (in the same way as the rcon password is set).

Run `setting network.settings_password PASSWORD` or just `settings_password PASSWORD` on the server,
or set the `settings_password` field in the `[network]` section of secrets.cfg before starting the server.

On the network client run `settings_access PASSWORD` in the console.

To drop access if it is no longer required run `settings_access ""` in the console (i.e. an empty password).

**The settings access password should be considered just as important to keep secure as the rcon password**

## Company passwords

### Company passwords

Company passwords are stored in savegames made by the network server in an encrypted form,
and are automatically restored when loaded by the same network server (with the same configuration secrets).
Company passwords are stored in savegames made by the network server in an encrypted form,
and are automatically restored when loaded by the same network server (with the same configuration secrets).
If the save is loaded anywhere else the company passwords cannot be decrypted and are not restored.

This includes autosaves and manual saves made from the server (e.g. using a server console or rcon).
This includes autosaves and manual saves made from the server (e.g. using a server console or rcon).
This does not include savegames made from attached network clients, or the temporary savegames sent to network clients when joining.

## Merging companies

### Merging companies

The `merge_companies MAIN_COMPANY_ID TO_MERGE_COMPANY_ID` console command directly merges one company into another.
The first company ID MAIN_COMPANY_ID will be left with the combined assets of both companies.
The second company ID TO_MERGE_COMPANY_ID will be removed, with all assets transfered to the first company ID.
The `merge_companies MAIN_COMPANY_ID TO_MERGE_COMPANY_ID` console command directly merges one company into another.
The first company ID MAIN_COMPANY_ID will be left with the combined assets of both companies.
The second company ID TO_MERGE_COMPANY_ID will be removed, with all assets transfered to the first company ID.
This must be run on the network server (if necessary by using rcon), or can be used in single-player mode.

## Offering companies for sale

### Offering companies for sale

The `offer_company_sale COMPANY_ID` console command offers a company for sale to other companies/players in the same way as if it was about to go bankrupt.
The `offer_company_sale COMPANY_ID` console command offers a company for sale to other companies/players in the same way as if it was about to go bankrupt.
This must be run on the network server (if necessary by using rcon), or can be used in single-player mode.
11 changes: 7 additions & 4 deletions Features/Realistic-braking.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@

真实制动由“列车制动模型”选项控制。
“原版”模型允许列车立刻停止。
在本页面中描述的“现实”模型中,火车会有一段制动距离,并会相应地提前预留轨道,无法立刻停止。
如果使用“现实”模型,火车需要提前预留轨道以留出足够的制动距离,无法立刻停止。

真实列车制动是一项高级功能,对信号系统和轨道设计有很大影响,因此可能不适合新手。启用真实制动时将无法原版中的逻辑信号(出入口信号、复合信号、块信号),
且只能使用路径信号(块信号使用路径信号的逻辑,并被作为路径信号处理)。
真实列车制动是一项进阶功能,对信号系统和轨道设计有很大影响,因此可能不适合新手。
启用真实制动时无法使用原版中的逻辑信号(出入口信号、复合信号、通过信号),
只能使用路径信号。[^blocksig]

[^blocksig]: 在开启真实制动时,通过信号将使用路径信号的逻辑,游戏会将其作为路径信号处理。

模型可以在游戏进行时被更改,但如果地图上尚存有不兼容的信号则无法更改。
可以使用 `find_non_realistic_braking_signal` 控制台命令找到这些信号。
Expand All @@ -27,7 +30,7 @@
此外,火车还会在以下设施/命令前提前制动:

- 停靠的车站/路标
- 曲线(在现实加速模式下
- 弯道(启用“真实加速”时
- 反向信号或路点
- 预留范围的终点(包括线路终点、车库等)
- 当前指令速度限制
Expand Down
6 changes: 3 additions & 3 deletions Features/Signalling.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 信号
# 信号功能

* [**寻路限制**](#寻路限制)

在游戏中,玩家可以为任何信号设置寻路限制程序。这些程序由列车执行,可以检查列车属性、槽位与计数器。
玩家可以为任何信号设置寻路限制程序。这些程序由列车执行,可以检查列车属性、槽位与计数器。
寻路限制程序可以用来控制寻路系统、路径信号、槽位、限速、掉头与其他操作。

* [**可编程逻辑信号**](#programmable-pre-signals)
Expand Down Expand Up @@ -391,7 +391,7 @@ Programmable signals are not shown in the signal window by default, **"Show prog

## 槽位

槽位[^2]类似于现实铁路中使用的令牌系统,尤其是单线区段。
槽位[^2]类似于现实铁路中使用的路签系统,尤其是单线区段。
槽位具有最大容量。一列火车可以同时在任意多个不同槽位中。
列车可以通过信号或条件指令占用或退出槽位。
在寻路限制和与可编程逻辑信号的程序中以及条件性命令中都可以使用槽位。
Expand Down

0 comments on commit c75d7f7

Please sign in to comment.