Hey guys, just got back to mapping and I'm wondering how you guys go about creating dialogues.
Do you guys use something like the dialogue designer? I can't seem to make it work.
I'll be using a tool like the dialogue designer to create things like transmission ui. Like say a bubble pops up on the screen with a portrait and text.
Rollback Post to RevisionRollBack
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.
I believe pretty much everyone does it by hand. I like to use a lot of custom functions when working with dialogs though; it really saves time and helps with the overall clarity of your code.
I believe pretty much everyone does it by hand. I like to use a lot of custom functions when working with dialogs though; it really saves time and helps with the overall clarity of your code.
This is key. Using custom definition as "templates" helps to an extreme amount.
I assume everyone above uses trigger editor to build dialogs?
The best approach is to get familiar with the scheme of UI editor, which is based on XML. Then build dialog templates in there. Besides few annoying things it's much faster than using triggers. Also there are things you can do that you couldn't do using only triggers.
Once you have a template done you just call native to insert template in desired place:
This is list of probably all existing elements in the UI structure: http://www.sc2mapster.com/paste/7445/
Also you can look up how the builtin UI templates look like and learn basing on this.
Hey guys, just got back to mapping and I'm wondering how you guys go about creating dialogues.
Do you guys use something like the dialogue designer? I can't seem to make it work.
I'll be using a tool like the dialogue designer to create things like transmission ui. Like say a bubble pops up on the screen with a portrait and text.
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.
Do it by hand.
I think almost everyone create their dialog by hand.
You can really speed up the process if you use variables for multiple entries that always have the same value.
I believe pretty much everyone does it by hand. I like to use a lot of custom functions when working with dialogs though; it really saves time and helps with the overall clarity of your code.
This is key. Using custom definition as "templates" helps to an extreme amount.
I assume everyone above uses trigger editor to build dialogs?
The best approach is to get familiar with the scheme of UI editor, which is based on XML. Then build dialog templates in there. Besides few annoying things it's much faster than using triggers. Also there are things you can do that you couldn't do using only triggers.
Once you have a template done you just call native to insert template in desired place:
And then hookup desired element of the dialog. Like a label which text you would like to change dynamically:
This is list of probably all existing elements in the UI structure: http://www.sc2mapster.com/paste/7445/
Also you can look up how the builtin UI templates look like and learn basing on this.
Thanks for all your help guys.
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.