• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

How to make a ability button?

Status
Not open for further replies.
Level 2
Joined
Jul 14, 2022
Messages
4
i want make a ability button with FDF, custom UI like WOW(single hero)
but i donno how to control CD mask layer
can anyone teach me? thanks verymuch :psmile::psmile::psmile:

version 1.27
 
this‘s my FDF,
the "ActionButtonCDMask" is invisible,:pcry::pcry:

i confuse how to made CDMask of ability button


JASS:
Frame "FRAME" "ActionButton" 
{
    Width 0.0224,
    Height 0.0224,
    Frame "BACKDROP" "ActionButtonIcon" 
    {
        Width 0.03,
        Height 0.03,
        SetAllPoints,
        UseActiveContext,
        BackdropBackground "ReplaceableTextures\CommandButtons\BTNPolymorph.blp",
    }
    Frame "SPRITE" "ActionButtonCDMask"
    {
        Width 0.001,
        Height 0.001,
        SetPoint CENTER, "ActionButtonIcon", CENTER ,0,0,
        BackgroundArt "UI\Feedback\Cooldown\UI-Cooldown-Indicator.mdl",
    }
    Frame "BACKDROP" "ActionButtonBorder" 
    {
        Width 0.05,
        Height 0.05,
        UseActiveContext,
        SetPoint CENTER, "ActionButton", CENTER ,0,0,
        BackdropBackground "texture\actionbutton-border.blp",
        BackdropBlendAll,
    }
}
 
i want make a ability button with FDF, custom UI like WOW(single hero)
but i donno how to control CD mask layer
can anyone teach me? thanks verymuch :psmile::psmile::psmile:

version 1.27
You can't do that on version 1.27. Custom UI was added in 1.31.

Maybe you can use one of the older methods. Search around Hive for older threads on UI.

Edit:
Here's everything you need to know about custom UI:
 
Last edited:
Status
Not open for further replies.
Back
Top