#how to add an xml to a Flag Decal
20 messages · Page 1 of 1 (latest)
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?
Flag Decal XML is a separate entity
ok so what do i do next
idk where to put the xml
Hm, your sprite XML doesn't seem valid
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
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
Where is your Sprites.xml located?
here
is it set in your map metadata?
yes
what do you see in-game? 
Ah, add a / at the end of the path (after IronPiston)
it worked!