Usually you use dialog item - image. There are different type of images like normal, border, end cap and use different format of images, For most basic uses, you can try normal image. Just set tooltip value to "" so the image cant be clicked nor interfere with other interface
you can also change the border of buttons too, using these actions:
Set dialog item image, to change the default button image (search the word "pressed" to find all the buttons)
Set dialog item hover image, this image needs to correspond with the image you set in the first action (again, search "pressed", but look for the corresponding image with the word "highlighted" in it)
Set dialog item image type, to make the button image actually work, (you need to mess around with this option until the image looks normal)
Try to build your dialogs in a modular way. For example, you would want an action that adds a unit portrait to a dialog, rather than cramming 100 actions into a single giant trigger that builds a window. This will allow you to create dialogs more efficiently and save you valuable time that could be used to make things more pretty.
Try to use as little text as possible in your custom user interface. In addition, block as little of the game view as you can with your custom UI.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do you add cool looking borders within pre-existing dialogs? I understand the basics of dialogs, buttons and labels etc.
But for example in the Blizzard Dota Hero Selection. Around the Hero Icons and stats there's a border. How is this done please?
@Fullachain: Go
Usually you use dialog item - image. There are different type of images like normal, border, end cap and use different format of images, For most basic uses, you can try normal image. Just set tooltip value to "" so the image cant be clicked nor interfere with other interface
Ah thanks got ya.
Any recommendations where to start, for good preexisting borders/background images within the editor?
Look around in the image files. There are a lot of ui images that can be creatively used. For example:
ui_armory_console_background
ui_battlenet_loading_frame_playerbox_highlighted
ui_ingame_replay_selectionframe
and a lot of others.
@s3rius: Go
Thanks, having a good look now. I can't seem to find anything similar to the one used in Blizzard Dota thou, or that could resemble it.
@Fullachain: Go
you can also change the border of buttons too, using these actions:
Set dialog item image, to change the default button image (search the word "pressed" to find all the buttons) Set dialog item hover image, this image needs to correspond with the image you set in the first action (again, search "pressed", but look for the corresponding image with the word "highlighted" in it) Set dialog item image type, to make the button image actually work, (you need to mess around with this option until the image looks normal)
Try to build your dialogs in a modular way. For example, you would want an action that adds a unit portrait to a dialog, rather than cramming 100 actions into a single giant trigger that builds a window. This will allow you to create dialogs more efficiently and save you valuable time that could be used to make things more pretty.
Try to use as little text as possible in your custom user interface. In addition, block as little of the game view as you can with your custom UI.