Difference between revisions of "TrainCarts/Signs/Animate"

From BergerHealer Wiki
Jump to navigation Jump to search
m (1 revision imported)
(Add note about reverse playback)
Line 18: Line 18:
 
* Second line: ''animate'', optionally followed up by ''looped'' (to loop it) or ''reset'' (to reset to the start of the animation). To do both, use ''l r''
 
* Second line: ''animate'', optionally followed up by ''looped'' (to loop it) or ''reset'' (to reset to the start of the animation). To do both, use ''l r''
 
* Third line: animation name. By default animations ''rotate'', ''roll'' and ''pitch'' can be used to animate the entire Minecart
 
* 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.
+
* 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.

Revision as of 00:08, 29 November 2021

« Go back

Introduction

The animate sign plays animations stored inside the train's attachments. It can override certain properties of the animation, such as speed and whether to loop it. Animations can be played for all minecarts in the train, for a single minecart, or for a remote train using remote control.

Syntax

Signtemplate.png
[train]
animate
rotate


Signtemplate.png
[train]
animate looped
roll
0.5


Signtemplate.png
[train]
animate 1
rotate
0.5 0.4


  • First line: [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 looped (to loop it) or reset (to reset to the start of the animation). To do both, use l r
  • 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.