I've noticed that normally, active abilities have a border that gives them a slightly different look than passives. I thought this would be in the data editor, under buttons, but I can't find it anywhere. I don't think it's the texture itself, since opening the textures in the editor shows that they don't have borders... how do I add borders to buttons I've created? o.O
Borders are added automatically by the SC2 engine for buttons that are clickable (non-passive), the engine also modifies the button's graphics depending on charges, cooldown, etc.
If it's done automatically, how come when I test the map I've created, the borders aren't applied? Is there some flag you need? Or does the edge of the button have to be transparent or something?
If it's done automatically, how come when I test the map I've created, the borders aren't applied? Is there some flag you need? Or does the edge of the button have to be transparent or something?
Are you sure the button you've made is assigned with an ability, clickable, and is not passive?
Most of SC2's buttons have large transparent areas in their icons, so I would guess that would be the case if you've checked everything else.
I've noticed that normally, active abilities have a border that gives them a slightly different look than passives. I thought this would be in the data editor, under buttons, but I can't find it anywhere. I don't think it's the texture itself, since opening the textures in the editor shows that they don't have borders... how do I add borders to buttons I've created? o.O
Borders are added automatically by the SC2 engine for buttons that are clickable (non-passive), the engine also modifies the button's graphics depending on charges, cooldown, etc.
@StragusMapster: Go
If it's done automatically, how come when I test the map I've created, the borders aren't applied? Is there some flag you need? Or does the edge of the button have to be transparent or something?
Are you sure the button you've made is assigned with an ability, clickable, and is not passive?
Most of SC2's buttons have large transparent areas in their icons, so I would guess that would be the case if you've checked everything else.
@Zolstice: Go
Yep. The abilities work. Some are effect-instant, some are effect-target.
So... how much of a transparent area do I need?