SC2Mapster Forums

General > General Chat

Just another video for 1.5 UI stuff

  • 11 posts
    #1 Jun 04, 2012 at 14:50 UTC - 4 likes

    In 1.5 you can use triggers to control almost all built-in UI elements. It also allows you to make your owner unit status bar, and control it with your trigger.

    But the latter one (Unit Status Bar) is a a little harder than just control the UI layer with triggers - it crashed my game and editor thousands of times before I finally figure out the keys of this system...

    Here is just a video which I recorded during my test. Of course, this one is done by customized unit status frame, which means its a part of the UI, not some "create a dialog and attach it to the unit" trick. (Still I used a very few trigger to control some part of its logic though)

    Plan to write a tutorial about the UI stuff when I get enough time.

    Last edited Jun 04, 2012 by Renee2islga
    #2 Jun 04, 2012 at 15:04 UTC - 0 likes

    Wait a second!

    You hooked your unitstatus dialog item to an specific unit status bar? Does this mean we can fiddle with Item COntainer UIs too?

    #3 Jun 04, 2012 at 15:51 UTC - 1 like

    As the video - It's actually a custom unit status layout frame which I created with the UI editor and then used triggers to control it dynamicly. But yea, I can also attach trigger dialog items into this frame (or the default unit status frame) if I want.

    And as the Item Containers... Actually, controling them dynamicly with trigger is much easier than controling the unit status bar. Because the Item Containers are in the Game UI layer, while the unit status bar are per unit things.

    The word "controling Item Containers by trigger" means you can truly control almost every thing of it.

    For example, the most basic usage: You can use the triggers to force show/hide an specific inventory container panel frame at any time.

    I think many people here want a true EVER-STAYS-OPEN INVENTORY? Now you can get it!

    http://www.sc2mapster.com/media/attachments/27/789/.jpg

    Last edited Jun 04, 2012 by Renee2islga
    • .jpg
    #4 Jun 04, 2012 at 16:18 UTC - 0 likes

    Marry me.

    #5 Jun 09, 2012 at 03:05 UTC - 0 likes

    Here is probably a dumb question. How does the paint lighting work? I know I can paint lighting regiosn, but how do I set each lighting to a given region?

    #6 Jun 09, 2012 at 04:21 UTC - 0 likes

    Are you able to go over what you did in a little more detail?
    I'm just Curious if your able to have multiple bars over the unit.
    Or are they just for Health Energy and Shield?
    I would love it if its possible to have 4 or 5 status bars.
    Anyways just curious how you accomplished this.

    Thanks

    #7 Jun 09, 2012 at 06:37 UTC - 0 likes
    Quote from zaysite: Go

    Are you able to go over what you did in a little more detail? I'm just Curious if your able to have multiple bars over the unit. Or are they just for Health Energy and Shield? I would love it if its possible to have 4 or 5 status bars. Anyways just curious how you accomplished this.

    Thanks

    Soon (TM), currently I just have too much things to do, so I will make the tutorial after I finish them

    #8 Jun 09, 2012 at 10:38 UTC - 0 likes

    very nice

    My youtube channel: Here!

    Project "Magic RPG" - Enter the Magic

    Project "Goku Firebat" - Kaaameeehaaameee...

    #9 Jun 09, 2012 at 17:20 UTC - 1 like

    Awesome job! Would you be able to upload your demo map so that we could figure it out for ourselves until you have time to make a proper tutorial?

    Developer at Kitchensoft

    #10 Nov 05, 2012 at 07:48 UTC - 0 likes

    LOL.. I really eager to see tutorial :D

    #11 Nov 05, 2012 at 17:03 UTC - 0 likes

    Ah, very cool. This could have some really interesting applications.

  • 11 posts

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