TrainCarts/Signs/Animate [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "''animate''。続けて、追加でアニメーションのオプションフラグを書き込むことも可能です。 * reset('r'):アニメーションの再生を頭に強制的にリセットします。 * looped('l'):アニメーションを永遠にループさせます。 * queue('q'):アニメーションを順番待ちのキューに追加し、現在のアニメーションが再生し終わった後に再生させます。複数のアニ...")
(Created page with "これは、アニメーション『doors』のシーン『open』を再生します。また''animation[scenestart:sceneend]''や''animation[:scene]''を用いて最初からそのアニメーションまでを再生したり、''animation[scene:]''を利用してそのアニメーションから最後までを再生することができます。")
 
(5 intermediate revisions by the same user not shown)
Line 29: Line 29:
* move('m'):ムーブアニメーションモード。アタッチメントや列車の移動速度に応じて、アニメーションの再生速度も変化させます。
* move('m'):ムーブアニメーションモード。アタッチメントや列車の移動速度に応じて、アニメーションの再生速度も変化させます。


<div lang="en" dir="ltr" class="mw-content-ltr">
複数のフラグを選択することもできます。
Multiple flags can be specified like so:
</div>
{{sign|[train]|animate lm|rotate|1}}
{{sign|[train]|animate lm|rotate|1}}




<div lang="en" dir="ltr" class="mw-content-ltr">
=== 三行目 ===
=== Third Line ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
アニメーション名。デフォルトでは''rotate''''roll''''pitch''のアニメーションがトロッコに利用可能です。
animation name. By default animations ''rotate'', ''roll'' and ''pitch'' can be used to animate the entire Minecart
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
=== 四行目 ===
=== Fourth Line ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
入力は任意です。アニメーションを再生する速度と遅延を設定できます。速度はアニメーションの再生速度に乗算され、遅延は加算されます。最初の数字が速度で、ふたつめの数字が遅延です。アニメーションを逆から再生したいときには、負の値を速度に指定してください。
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.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
== シーン ==
== Scenes ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
1.17.1のV2以降、列車のアニメーションでシーンを作成することができるようになりました。サインを用いて特定のシーンを再生することができます。
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:
</div>
{{sign|[train]|animate|doors[open]|1.0}}
{{sign|[train]|animate|doors[open]|1.0}}


<div lang="en" dir="ltr" class="mw-content-ltr">
これは、アニメーション『doors』のシーン『open』を再生します。また''animation[scenestart:sceneend]''''animation[:scene]''を用いて最初からそのアニメーションまでを再生したり、''animation[scene:]''を利用してそのアニメーションから最後までを再生することができます。
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.
</div>

Latest revision as of 03:26, 25 August 2026

Other languages:

概要

Animateサインは、列車のアタッチメントに保存されたアニメーションを再生します。再生速度やループなどのアニメーションのプロパティを上書きして再生することもできます。アニメーションを再生する対象には、列車のすべてのトロッコ、単一のトロッコ、もしくは遠隔操作による遠くの列車を取ることができます。


記法

Signtemplate.png
[train]
animate
rotate


Signtemplate.png
[train]
animate looped
roll
0.5


Signtemplate.png
[train]
animate lr
rotate
0.5 0.4


一行目

[train]で列車に含まれるすべてのトロッコ、[cart]でサイン看板の上を通った単一のトロッコを対象に取ります。遠隔操作も対応しています。


二行目

animate。続けて、追加でアニメーションのオプションフラグを書き込むことも可能です。

  • reset('r'):アニメーションの再生を頭に強制的にリセットします。
  • looped('l'):アニメーションを永遠にループさせます。
  • queue('q'):アニメーションを順番待ちのキューに追加し、現在のアニメーションが再生し終わった後に再生させます。複数のアニメーションを連続して再生したい場合に使えます。
  • move('m'):ムーブアニメーションモード。アタッチメントや列車の移動速度に応じて、アニメーションの再生速度も変化させます。

複数のフラグを選択することもできます。

Signtemplate.png
[train]
animate lm
rotate
1


三行目

アニメーション名。デフォルトではrotaterollpitchのアニメーションがトロッコに利用可能です。


四行目

入力は任意です。アニメーションを再生する速度と遅延を設定できます。速度はアニメーションの再生速度に乗算され、遅延は加算されます。最初の数字が速度で、ふたつめの数字が遅延です。アニメーションを逆から再生したいときには、負の値を速度に指定してください。


シーン

1.17.1のV2以降、列車のアニメーションでシーンを作成することができるようになりました。サインを用いて特定のシーンを再生することができます。

Signtemplate.png
[train]
animate
doors[open]
1.0


これは、アニメーション『doors』のシーン『open』を再生します。またanimation[scenestart:sceneend]animation[:scene]を用いて最初からそのアニメーションまでを再生したり、animation[scene:]を利用してそのアニメーションから最後までを再生することができます。