SC2Mapster Forums

General > General Chat

[UI]A sample map for Customized Hearth Bar

    #21 Mar 17, 2013 at 21:45 UTC - 0 likes

    Is there a bar for just the shields? I got everything working but I just cannot find out a shield one, only a health/shield combo. Any help?

    #22 Mar 17, 2013 at 22:12 UTC - 0 likes

    @composure19d: Go Sadly it does not seem like that there is one.

    Would be awesome if they make a separate shield bar (just like life, just for shields) and add the possibility to make the shielded health bar to integrate the lost shield amount into the bar's percentage. Then you would have an awesome hero bar for an Archon hero.
    There is a strange field with "addToTotal" or something like that, but I wasn't able to make much sense out of it. Maybe that one can do the latter and it is just bugged right now. At least it caused the shieldbar to extend across the whole screen with low shield values.

    http://img42.imageshack.us/img42/7586/signaturemj.jpg

    #23 Mar 19, 2013 at 16:36 UTC - 0 likes

    Nothing happens when I press CTRL+ALT+F12?

    EDIT: It's now under the UI module.

    EDIT2: Is there still no way to display a shield bar?

    Last edited Mar 19, 2013 by Demtrod
    #24 Mar 24, 2013 at 14:33 UTC - 0 likes
    Quote from Ahli634: Go

    @composure19d: Go Sadly it does not seem like that there is one.

    Would be awesome if they make a separate shield bar (just like life, just for shields) and add the possibility to make the shielded health bar to integrate the lost shield amount into the bar's percentage. Then you would have an awesome hero bar for an Archon hero. There is a strange field with "addToTotal" or something like that, but I wasn't able to make much sense out of it. Maybe that one can do the latter and it is just bugged right now. At least it caused the shieldbar to extend across the whole screen with low shield values.

    Can you post the code for that? Maybe I can get it working.

    Also, how do I find out all of the functions for the UI? I need like a list of functions to really do anything. Or are you changing it in the trigger editor?

    #25 Mar 25, 2013 at 23:45 UTC - 0 likes
    Quote from composure19d: Go

    @Ahli634: Go

    Can you post the code for that? Maybe I can get it working.

    Also, how do I find out all of the functions for the UI? I need like a list of functions to really do anything. Or are you changing it in the trigger editor?

    Link to my testmap is in my post earlier in this thread: http://www.sc2mapster.com/forums/general/general-chat/46214-ui-a-sample-map-for-customized-hearth-bar/?post=20

    I'm changing it in the UI editor's code. I used the ingame UI editor to find out a few value names.
    But JademusSrag made a list after string dumps from the sc2.exe and a few tests (afaIk): http://www.sc2mapster.com/forums/development/gui/50450-layout-frame-element-support-list/?post=1

You must login to post a comment. Don't have an account? Register to get one!