Difference between revisions of "TrainCarts/Signs/Effect"

From BergerHealer Wiki
Jump to navigation Jump to search
(Marked this version for translation)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<!--T:1-->
 
<!--T:1-->
 
[[Special:MyLanguage/TrainCarts/Signs|« Go back]]
 
[[Special:MyLanguage/TrainCarts/Signs|« Go back]]
 
  
 
== Description == <!--T:2-->
 
== Description == <!--T:2-->
Line 9: Line 8:
 
<!--T:3-->
 
<!--T:3-->
 
This sign can be used to activate an effect configured in the train's [[Special:MyLanguage/TrainCarts/Attachments|attachments]] when a train enters or redstone power is supplied.
 
This sign can be used to activate an effect configured in the train's [[Special:MyLanguage/TrainCarts/Attachments|attachments]] when a train enters or redstone power is supplied.
 
  
 
== Syntax == <!--T:4-->
 
== Syntax == <!--T:4-->
Line 16: Line 14:
 
{{sign|[+train]/[+cart]|effect|<name>|<name>}}
 
{{sign|[+train]/[+cart]|effect|<name>|<name>}}
 
<translate>
 
<translate>
 
  
 
=== First line === <!--T:5-->
 
=== First line === <!--T:5-->
Line 22: Line 19:
 
<!--T:6-->
 
<!--T:6-->
 
When [train] is used, the effect is played in all the minecarts of the train. When [cart] is used, the effect is only played at the minecart that is currently above the sign. When no minecarts are near when the sign is powered, the effect is played above the sign. (at the rails)
 
When [train] is used, the effect is played in all the minecarts of the train. When [cart] is used, the effect is only played at the minecart that is currently above the sign. When no minecarts are near when the sign is powered, the effect is played above the sign. (at the rails)
 
  
 
=== Second line === <!--T:7-->
 
=== Second line === <!--T:7-->
Line 28: Line 24:
 
<!--T:8-->
 
<!--T:8-->
 
''effect'', followed up by an optional '''playback speed''' (''pitch'') and '''intensity''' (''volume''). Values of 1.0 are the defaults. Specifying '''effect stop''' will abort playback of the effect if possible.
 
''effect'', followed up by an optional '''playback speed''' (''pitch'') and '''intensity''' (''volume''). Values of 1.0 are the defaults. Specifying '''effect stop''' will abort playback of the effect if possible.
 
  
 
=== Third and fourth lines === <!--T:9-->
 
=== Third and fourth lines === <!--T:9-->
  
 
<!--T:10-->
 
<!--T:10-->
One or two '''names''' of effect attachments to activate. In the Attachment Editor, go to the general menu (''hamburger'') and name the effect attachment. You can then put that name here to activate it.
+
One or two '''names''' of effect [[Special:MyLanguage/TrainCarts/Attachments|attachments]] to activate. In the Attachment Editor, go to the [[Special:MyLanguage/TrainCarts/Attachments/General|general menu]] (''hamburger'') and name the effect attachment. You can then put that name here to activate it.
  
 
<!--T:11-->
 
<!--T:11-->
 
Examples of supported attachments:
 
Examples of supported attachments:
* Sound Attachment
+
* [[Special:MyLanguage/TrainCarts/Attachments/Sound|Sound Attachment]]
 
* Particle Attachment
 
* Particle Attachment
* Effect Loop Attachment
+
* [[Special:MyLanguage/TrainCarts/Attachments/Sequencer|Sequencer Attachment]]
 
 
  
 
== Legacy == <!--T:12-->
 
== Legacy == <!--T:12-->

Latest revision as of 15:18, 23 September 2024

Other languages:

« Go back

Description

This sign can be used to activate an effect configured in the train's attachments when a train enters or redstone power is supplied.

Syntax

Signtemplate.png
[+train]/[+cart]
effect
<name>
<name>

First line

When [train] is used, the effect is played in all the minecarts of the train. When [cart] is used, the effect is only played at the minecart that is currently above the sign. When no minecarts are near when the sign is powered, the effect is played above the sign. (at the rails)

Second line

effect, followed up by an optional playback speed (pitch) and intensity (volume). Values of 1.0 are the defaults. Specifying effect stop will abort playback of the effect if possible.

Third and fourth lines

One or two names of effect attachments to activate. In the Attachment Editor, go to the general menu (hamburger) and name the effect attachment. You can then put that name here to activate it.

Examples of supported attachments:

Legacy

An old version of this sign still exists which can only play (some) Bukkit effects. For this, use beffect on the second line. peffect plays the effect at the player, and meffect every tick as a train drives over the sign.

Signtemplate.png
[+train]/[+cart]
beffect
note

These effects can be played: