Vaultdoor1Closed
icon = 'Vault 72.dmi'
icon_state = "vault door 1(Closed)"
density = 1
Open = 0
verb
Open()
set name = "Open/Close"
set category = null
set src in oview(1)
if(open == 0)
open = 1
flick("vault door 1(Opening)",src)
density = 0
opacity = 0
layer = 7
icon_state = "vault door 1(Open)"
else
open = 0
flick("vault door 1(Closing)",src)
density = 1
opacity = 1
icon_state = "vault door 1(Closed)"
Problem description:
So i need help cuz whenever i do the open animation it just shows black where the ground under it sposed to be. whats wrong?
look in your .dmi file and see that the parts that are supposed to be transparent are in fact transparent.
if they are, check to see if you've placed the vaultdoor correctly on the map. (using ctrl?). meaning, check if the ground tile still is underneath the vaultdoor icon. the vault door might be covering the ground when it's shut, so it would seem to be okay, but as you open it, it turns out you've replaced the ground tile with the vault door, instead of adding/placing the vaultdoor above it (using ctrl?).