#how to add an xml to a Flag Decal

20 messages · Page 1 of 1 (latest)

marble kelp
#

may have done something wrong here idk

#

ok i found one typo the <flag_button path= is in the magma/ironpiston xmls

#

i tried going in the level and it crashed

#

@waxen cedar can you help?

waxen cedar
#

Flag Decal XML is a separate entity

marble kelp
#

ok so what do i do next
idk where to put the xml

waxen cedar
#

Hm, your sprite XML doesn't seem valid ohnoshiro do you want multiple flag decals?

#

From the tooltip:

The sprites should have the following animations:

  • enabled: played when the flag is enabled
  • disabled: played when the flag is disabled, the decal will be hidden if not specified
  • appear: played when the flag gets enabled (disabled -> enabled transition), can be omitted to switch directly to the "enabled" animation
  • disappear: played when the flag gets disabled (enabled -> disabled transition), can be omitted to switch directly to the "disabled" animation
marble kelp
#

i want to have 2 flag decals atm

#

also what do i write in the <flag_button at the beginning of the xml

#

is this right?

#

it didnt work

waxen cedar
#

Where is your Sprites.xml located?

marble kelp
waxen cedar
#

is it set in your map metadata?

marble kelp
#

yes

waxen cedar
#

what do you see in-game? thinkeline

marble kelp
waxen cedar
#

Ah, add a / at the end of the path (after IronPiston)

marble kelp
#

it worked!