• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Help with using Dialogs Created within Dialog Designer & Hiding UI Pieces

Status
Not open for further replies.
Level 4
Joined
Jan 14, 2005
Messages
73
So i found an awsome map called Dialog Designer, That allows you to create dialogs in the game actively viewing the changes made its in a language other then english but its not too hard to figure it out.

Anyway Im wondering if anyone knows what to do with the "scripts" it outputs... They look like this

ALL in one
Dialog|UnitStatData|7|220|-7|300|260|0|Assets\Textures\ui_frame_default_protoss.dds|True|True|###|Label|"Strength"|UnitStatData|#None#|0|-1|50|50|512|105|20|0|True|###|Label|Dexterity|UnitStatData|"Strength"|0|0|0|20|512|105|20|0|True|###|Label|Intelligence|UnitStatData|Dexterity|0|0|0|20|512|125|20|0|True|###|Label|StrStat|UnitStatData|"Strength"|0|0|120|0|512|90|20|0|True|###|Label|DexStat|UnitStatData|Dexterity|0|0|120|0|512|90|20|0|True|###|Label|IntStat|UnitStatData|Intelligence|0|0|120|0|512|90|20|0|True|###|Button|StrPointButton|UnitStatData|"Strength"|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|###|Button|DexPointButton|UnitStatData|Dexterity|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|###|Button|IntPointButton|UnitStatData|Intelligence|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|###|Button|LukPointButton|UnitStatData|Luck|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|###|Label|Luck|UnitStatData|Intelligence|0|0|0|20|512|125|20|0|True|###|Label|LuckStat|UnitStatData|Luck|0|0|120|0|512|90|20|0|True|###|Label|CurrentStatPointsLabel|UnitStatData|"Strength"|0|0|0|-20|512|120|20|0|True|###|Label|UnspentStatPoints|UnitStatData|CurrentStatPointsLabel|0|0|120|0|512|90|20|0|True|###|Button|StatDialogMinimize|UnitStatData|CurrentStatPointsLabel|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|###|Label|MinimizeButtonLabel|UnitStatData|StatDialogMinimize|0|0|10|2|512|50|20|0|True|###|Label|STRButtonLabel|UnitStatData|StrPointButton|0|0|6|3|512|50|20|0|True|###|Label|DEXButtonLabel|UnitStatData|DexPointButton|0|0|6|3|512|50|20|0|True|###|Label|INTButtonLabel|UnitStatData|IntPointButton|0|0|6|3|512|50|20|0|True|###|Label|LUKButtonLabel|UnitStatData|LukPointButton|0|0|6|3|512|50|20|0|True|###|Progressbar|EXPBar|UnitStatData|#None#|6|-1|30|23|0|1000|1000|512|241|25|50|True|###|Label|ExperiencePercent|UnitStatData|EXPBar|0|0|70|3|512|125|50|25|True|###|Label|Damage|UnitStatData|ExperiencePercent|5|0|30|-15|512|100|20|0|True|###|Label|ActDamage|UnitStatData|Damage|0|0|85|0|512|200|20|0|True|###|Label|AttackSpeed|UnitStatData|Damage|0|5|0|-17|512|200|20|0|True|###|Label|ActAttackSpeed|UnitStatData|AttackSpeed|0|0|135|0|512|200|20|0|True|###|Progressbar|HPBar|UnitStatData|#None#|4|-1|-60|23|0|1000|1000|512|120|40|50|True|###|Progressbar|MPBar|UnitStatData|#None#|4|-1|60|23|0|1000|1000|512|120|40|50|True|###|Label|HpBarStatus|UnitStatData|HPBar|4|0|0|0|512|80|20|50|True|###|Label|MPBarStatus|UnitStatData|MPBar|4|4|0|0|512|80|20|50|True|###|

Im not sure hot too implement that into my map, You can also have it output a single line for each Different Part of the created dialog.

Dialog|UnitStatData|7|220|-7|300|260|0|Assets\Textures\ui_frame_default_protoss.dds|True|True|

Label|"Strength"|UnitStatData|#None#|0|-1|50|50|512|105|20|0|True|

Label|Dexterity|UnitStatData|"Strength"|0|0|0|20|512|105|20|0|True|

Label|Intelligence|UnitStatData|Dexterity|0|0|0|20|512|125|20|0|True|

Label|StrStat|UnitStatData|"Strength"|0|0|120|0|512|90|20|0|True|

Label|DexStat|UnitStatData|Dexterity|0|0|120|0|512|90|20|0|True|

Label|IntStat|UnitStatData|Intelligence|0|0|120|0|512|90|20|0|True|

Button|StrPointButton|UnitStatData|"Strength"|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|

Button|DexPointButton|UnitStatData|Dexterity|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|

Button|IntPointButton|UnitStatData|Intelligence|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|

Button|LukPointButton|UnitStatData|Luck|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|

Label|Luck|UnitStatData|Intelligence|0|0|0|20|512|125|20|0|True|

Label|LuckStat|UnitStatData|Luck|0|0|120|0|512|90|20|0|True|

Label|CurrentStatPointsLabel|UnitStatData|"Strength"|0|0|0|-20|512|120|20|0|True|

Label|UnspentStatPoints|UnitStatData|CurrentStatPointsLabel|0|0|120|0|512|90|20|0|True|

Button|StatDialogMinimize|UnitStatData|CurrentStatPointsLabel|0|0|-23|-3|512|25|25|2|Assets\Textures\ui_button_generic_normalpressed_protoss.dds|Assets\Textures\ui_button_generic_normaloverpressedover_protoss.dds|False|255,255,255|0|True|True|

Label|MinimizeButtonLabel|UnitStatData|StatDialogMinimize|0|0|10|2|512|50|20|0|True|

Label|STRButtonLabel|UnitStatData|StrPointButton|0|0|6|3|512|50|20|0|True|

Label|DEXButtonLabel|UnitStatData|DexPointButton|0|0|6|3|512|50|20|0|True|

Label|INTButtonLabel|UnitStatData|IntPointButton|0|0|6|3|512|50|20|0|True|

Label|LUKButtonLabel|UnitStatData|LukPointButton|0|0|6|3|512|50|20|0|True|

Progressbar|EXPBar|UnitStatData|#None#|6|-1|30|23|0|1000|1000|512|241|25|50|True|

Label|ExperiencePercent|UnitStatData|EXPBar|0|0|70|3|512|125|50|25|True|


Label|Damage|UnitStatData|ExperiencePercent|5|0|30|-15|512|100|20|0|True|

Label|ActDamage|UnitStatData|Damage|0|0|85|0|512|200|20|0|True|

Label|AttackSpeed|UnitStatData|Damage|0|5|0|-17|512|200|20|0|True|

Label|ActAttackSpeed|UnitStatData|AttackSpeed|0|0|135|0|512|200|20|0|True|

Progressbar|HPBar|UnitStatData|#None#|4|-1|-60|23|0|1000|1000|512|120|40|50|True|

Progressbar|MPBar|UnitStatData|#None#|4|-1|60|23|0|1000|1000|512|120|40|50|True|

Label|HpBarStatus|UnitStatData|HPBar|4|0|0|0|512|80|20|50|True|

Label|MPBarStatus|UnitStatData|MPBar|4|4|0|0|512|80|20|50|True|

If anyone has any ideas or knows what im supposed to do with these to make them show up in game please let me know. Im wondering if the outputted code is for a mod that the mapmaker released But since i cant read whatever language it was done in I cant find out.


Anyway My other question is much simpler, How can I hide Parts of the UserInterface/HUD, I would like to make the portrait Disappear or better yet look like a blank space but still have the rest of the ui there. (so basically where the selected units show up The portrait to the right of them I dont want there to be an ugly hole between the unit selection list and the unit commands I just want to hide the portrait or replace it maybe with black)

EDIT: I found theres a library to use with dialogs created by the dialog http://www.sc2mapster.com/assets/assisted-dialogs/files/4-assisted-dialogs-r110-en-gb-en-us/ . Now I have to ask if anyone knows how to use a library?... Thanks

Thank you :D.
 
Last edited:
Level 4
Joined
Jan 14, 2005
Messages
73
Couldnt find them Muhahahahaaa. I actually just found sc2mapster in google lol saw the dialog maker on youtube and then couldnt figure out how to make them work, and im able to semi understand the dialog designer noticed it did have a sentance relating to a library or some other thing he released that was required. thats how i found sc2mapster.

Anyway Im reposting Because I REALLY need to know how to get a Library file to work?

I imported it, and yet it doesnt add anything (I was assuming and hoping it added GUI triggers but im guess im wrong) If someone could tell me how to call the Functions added by the library I posted a link to above. Heres the link to the Documentation for the Functions http://www.sc2mapster.com/assets/assisted-dialogs/pages/documentation/

Please If you have any idea let me know (I just need to call it from within a single Custom Script)
 
Status
Not open for further replies.
Top