TrainCarts/Signs/Launcher [zh-cn]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "TrainCarts/控制牌/启动器")
 
(Updating to match new version of source page)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
== 介绍 ==
[[Special:MyLanguage/TrainCarts/Signs|« Go back]]
</div>
 


<div lang="en" dir="ltr" class="mw-content-ltr">
启动器类似于[[Special:MyLanguage/TrainCarts/Signs/Station|车站]],可以启动列车并让它们达到一定的速度。可以指定列车减速/加速的距离和启动方向。目标速度为0会使列车慢慢完全停止,类似于车站停止列车的方式。请注意,启动完成后速度不会锁定:你仍然可以推动列车或使其完全停止。
== Introduction ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
The launcher sign, similar to the [[Special:MyLanguage/TrainCarts/Signs/Station|station]] sign, can launch trains and make them reach a certain speed. The distance over which the train slows down/speeds up and the direction to launch can all be specified. Launching at a speed of 0 will slowly put the train to a complete halt, similar to how stations stop trains. Note that the speed is not locked after launching is completed: you can still push the train around or stop it entirely.
</div>


 
== 语法 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
== Syntax ==
</div>


{{sign|[train]|launch 10|0.4|continue}}
{{sign|[train]|launch 10|0.4|continue}}




<div lang="en" dir="ltr" class="mw-content-ltr">
=== 第一行 ===
=== First line ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
使用'''[cart]'''或'''[train]'''没有区别。 [[Special:MyLanguage/TrainCarts/Signs#远程控制|远程控制]]也可以与启动器结合使用。
There is no difference between using ''[cart]'' or ''[train]''. [[Special:MyLanguage/TrainCarts/Signs#Remote Control|Remote control]] can also be used in combination with this sign.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
=== 第二行 ===
=== Second line ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
''launch'' or ''launcher'', followed up by the launch configuration. Launching can be done over a set distance, a set time, or at a constant acceleration. The launch function can be configured as [https://en.wikipedia.org/wiki/Linear_function linear] or [https://en.wikipedia.org/wiki/B%C3%A9zier_curve bezier]. A bezier curve will accelerate slower towards the beginning and end of the launch.
'''launch'''或'''launcher''',后跟启动配置。启动需要设定距离、设定时间或恒定时间。启动方法可以配置为[https://zh.wikipedia.org/wiki/Linear_function 线性函数][https://zh.wikipedia.org/wiki/B%C3%A9zier_curve 贝塞尔曲线]。贝塞尔曲线会在启动开始和结束时加速得更慢。
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{| class="wikitable"
{| class="wikitable"
|-
|-
! Syntax
! 语法
! Meaning
! 释义
|-
|-
| launch
| launch
| Automatically computes a suitable distance to launch at, by looking for the first bend in the rails up ahead.
| 寻找前方轨道的第一个弯道,自动计算合适的调整距离。
The maximum distance calculated this way is 100 blocks.
通过这种方式计算的最大距离是 100 格方块。
|-
|-
| launch 20.0
| launch 20.0
| Launches the train to the target speed over 20 blocks (meters)
| 超过 20 格方块(米)后将列车调整至目标速度。
|-
|-
| launch 20.0s
| launch 20.0s
| Launches the train to the target speed in 20 seconds
| 20 秒内将列车调整至目标速度。
|-
|-
| launch 1m
| launch 1m
| Launches the train to the target speed in 1 minute
| 1 分钟内将列车调整至目标速度。
|-
|-
| launch 500ms
| launch 500ms
| Launches the train to the target speed in 500 milliseconds
| 500 毫秒内将列车调整至目标速度。
|-
|-
| launch 100t
| launch 100t
| Launches the train to the target speed in 100 ticks (5 seconds)
| 100 刻(5 秒)内将列车调整至目标速度。
|-
|-
| launch 2.2G
| launch 2.2G
| Launches the train to the target speed at a constant acceleration based on a G-force of 2.2 (0.2406m/t<sup>2</sup>)
| 基于 2.2 倍重力加速度(0.2406 m/s<sup>2</sup>)的恒定加速度将列车调整至目标速度。
|-
|-
| launch 10km/h/s
| launch 10km/h/s
| Launches the train to the target speed at a constant acceleration. See the [[Special:MyLanguage/TrainCarts/Acceleration|TrainCarts/Acceleration]] page for more information.
| 以恒定加速度将列车调整至目标速度。详见[[Special:MyLanguage/TrainCarts/Acceleration|TrainCarts/加速度|加速度]]
Must have a slash somewhere to be considered an acceleration expression.
必须在某处有“/”才能被视为加速度表达式。
|-
|-
| launch 20l<br>launch 20sl<br>launch 10km/h/sl
| launch 20l<br>launch 20sl<br>launch 10km/h/sl
| By appending a ''l'' at the end of the expression, the launch follows a linear curve.
| 在表达式末尾添加'''l''',速度变化将遵循线性曲线(加速度恒定)。
|-
|-
| launch 20b<br>launch 20sb<br>launch 10km/h/sb
| launch 20b<br>launch 20sb<br>launch 10km/h/sb
| By appending a ''b'' at the end of the expression, the launch follows a bezier curve.
| 在表达式末尾添加'''b''',速度变化将遵循贝塞尔曲线(加速度变化)。
|}
|}
</div>


=== 第三行 ===
目标速度。如果留空,则使用配置文件中的速度(''launchForce'')。要使列车完全停止,请设置为 0。


<div lang="en" dir="ltr" class="mw-content-ltr">
绝对速度使用不带符号的正数或零:若要使列车调整到 1.25 格方块/刻(25 格方块/秒,或 90 km/h)的速度行驶,请设置为 "1.25"
=== Third line ===
相对速度使用带符号的数值(正数也要带符号):若要使列车加速到比原来高 0.5 的速度行驶,请设置为 "+0.5";若要使列车减速到比原来低 0.5 的速度行驶,请设置为 "-0.5"
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
当只有一个值时,数值单位为“格方块/刻”。有关其他支持的单位详见[[Special:MyLanguage/TrainCarts/Velocity|TrainCarts/速度]]。
The speed to launch at. If left empty, it will launch at the speed specified in the configuration (''launchForce''). To put the train to a complete halt, use 0.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Absolute speeds use a positive or zero number with no sign; to launch the train to a speed of 1.25 blocks per tick (25 blocks per second, or 90 km/h), use "1.25". Relative speeds require a sign even when positive; to launch the train to a speed 0.5 higher than it was before, write "+0.5"; to decrease the speed by 0.5, write "-0.5".
==== Speed limit ====
Normally trains will never speed up beyond what the speed limit property is set to. To overcome this, you will need to set a new speed limit, but setting the speed limit property may result in an instant speed-up. To fix this, it is possible to specify two numbers on the launcher sign to update both. It will smoothly launch to a new speed limit speed, and set the remainder as 'energy' that will slowly go down.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
When only a value is specified, the unit is blocks/tick. For all other supported units, see [[Special:MyLanguage/TrainCarts/Velocity|TrainCarts/Velocity]]
==== Speed limit syntax ====
Set a new speed limit of 2.0 and launch the train to this speed over a distance of 20 blocks. Once reached, give the train 10 'energy'.
{{sign|[train]|launch 20|2.0 10.0|}}
</div>
</div>


=== 第四行 ===


<div lang="en" dir="ltr" class="mw-content-ltr">
你可以选择在这里指定要启动的[[Special:MyLanguage/TrainCarts/Signs/Direction|方向]]。默认参数(如果为空)为 "continue" – 它将向列车原来的行驶方向发车。
=== Fourth line ===
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Optionally you can specify the [[Special:MyLanguage/TrainCarts/Signs/Direction|direction]] to launch here. The default parameter, if blank, is "continue" – it will launch the train in the same direction from which it came.
</div>

Latest revision as of 09:43, 12 October 2025

Other languages:

介绍

启动器类似于车站,可以启动列车并让它们达到一定的速度。可以指定列车减速/加速的距离和启动方向。目标速度为0会使列车慢慢完全停止,类似于车站停止列车的方式。请注意,启动完成后速度不会锁定:你仍然可以推动列车或使其完全停止。


语法

Signtemplate.png
[train]
launch 10
0.4
continue


第一行

使用[cart][train]没有区别。 远程控制也可以与启动器结合使用。


第二行

launchlauncher,后跟启动配置。启动需要设定距离、设定时间或恒定时间。启动方法可以配置为线性函数贝塞尔曲线。贝塞尔曲线会在启动开始和结束时加速得更慢。

语法 释义
launch 寻找前方轨道的第一个弯道,自动计算合适的调整距离。

通过这种方式计算的最大距离是 100 格方块。

launch 20.0 超过 20 格方块(米)后将列车调整至目标速度。
launch 20.0s 在 20 秒内将列车调整至目标速度。
launch 1m 在 1 分钟内将列车调整至目标速度。
launch 500ms 在 500 毫秒内将列车调整至目标速度。
launch 100t 在 100 刻(5 秒)内将列车调整至目标速度。
launch 2.2G 基于 2.2 倍重力加速度(0.2406 m/s2)的恒定加速度将列车调整至目标速度。
launch 10km/h/s 以恒定加速度将列车调整至目标速度。详见TrainCarts/加速度|加速度

必须在某处有“/”才能被视为加速度表达式。

launch 20l
launch 20sl
launch 10km/h/sl
在表达式末尾添加l,速度变化将遵循线性曲线(加速度恒定)。
launch 20b
launch 20sb
launch 10km/h/sb
在表达式末尾添加b,速度变化将遵循贝塞尔曲线(加速度变化)。

第三行

目标速度。如果留空,则使用配置文件中的速度(launchForce)。要使列车完全停止,请设置为 0。

绝对速度使用不带符号的正数或零:若要使列车调整到 1.25 格方块/刻(25 格方块/秒,或 90 km/h)的速度行驶,请设置为 "1.25"。 相对速度使用带符号的数值(正数也要带符号):若要使列车加速到比原来高 0.5 的速度行驶,请设置为 "+0.5";若要使列车减速到比原来低 0.5 的速度行驶,请设置为 "-0.5"。

当只有一个值时,数值单位为“格方块/刻”。有关其他支持的单位详见TrainCarts/速度

Speed limit

Normally trains will never speed up beyond what the speed limit property is set to. To overcome this, you will need to set a new speed limit, but setting the speed limit property may result in an instant speed-up. To fix this, it is possible to specify two numbers on the launcher sign to update both. It will smoothly launch to a new speed limit speed, and set the remainder as 'energy' that will slowly go down.

Speed limit syntax

Set a new speed limit of 2.0 and launch the train to this speed over a distance of 20 blocks. Once reached, give the train 10 'energy'.

Signtemplate.png
[train]
launch 20
2.0 10.0

第四行

你可以选择在这里指定要启动的方向。默认参数(如果为空)为 "continue" – 它将向列车原来的行驶方向发车。