//Animate
Saihou-Heiki (talk | contribs) (Created page with "TrainCarts/サイン/Animate") |
Saihou-Heiki (talk | contribs) (Created page with "=== 一行目 ===") |
||
| Line 2: | Line 2: | ||
== 概要 == | == 概要 == | ||
Animateサインは、列車のアタッチメントに保存されたアニメーションを再生します。再生速度やループなどのアニメーションのプロパティを上書きして再生することもできます。アニメーションを再生する対象には、列車のすべてのトロッコ、単一のトロッコ、もしくは[[Special:MyLanguage/TrainCarts/Signs#Remote Control|遠隔操作]]による遠くの列車を取ることができます。 | |||
== 記法 == | |||
= | |||
{{sign|[train]|animate|rotate}} | {{sign|[train]|animate|rotate}} | ||
| Line 20: | Line 16: | ||
=== 一行目 === | |||
=== | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Revision as of 03:56, 30 July 2026
概要
Animateサインは、列車のアタッチメントに保存されたアニメーションを再生します。再生速度やループなどのアニメーションのプロパティを上書きして再生することもできます。アニメーションを再生する対象には、列車のすべてのトロッコ、単一のトロッコ、もしくは遠隔操作による遠くの列車を取ることができます。
記法
一行目
[train] to play the animation in all Minecarts, [cart] to only play it for the Minecart that is above the sign right now. Remote control can also be used.
Second Line
animate, optionally followed up by any of the following option flags:
- reset (or: 'r') - Hard-resets playback of the animation to the beginning
- looped (or: 'l') - Loops the animation forever
- queue (or: 'q') - Queues up the animation to be played after the current animation finished. This can be used to play multiple animations in a timed sequence
- move (or: 'm') - Move animation mode. Makes playback speed depend on how fast the attachment/train is moving
Multiple flags can be specified like so:
Third Line
animation name. By default animations rotate, roll and pitch can be used to animate the entire Minecart
Fourth Line
Can be left empty, otherwise the speed and delay for playing the animation can be specified. The speed is multiplied with the speed(s) of the animations played, and the delay is added. First number is speed, if a second number is specified with a space between it, that is the delay. To play an animation in reverse, use a negative speed.
Scenes
As of version 1.17.1-v2 it is possible to create scenes in the animations of trains. To play a specific scene with a sign, put it on the sign as such:
Which will play scene 'open' of animation 'doors'. You can also specify a range of scenes to play using animation[scenestart:sceneend], or animation[:scene] to play from the beginning of the animation to this scene, or animation[scene:] to play from the scene to the end of the animation.
