CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on How to make default UI
    Quote from ElBushido: Go

    Yes since its a tower deffense map units are totally different.

    Well that shouldn't matter for picking the race in the lobby or using dialogs. You can simply run the required trigger on a player basis by checking their race. It also allows them to pick random to get a random race set for them.

    Posted in: UI Development
  • 0

    posted a message on How to make default UI
    Quote from ElBushido: Go

    HI!

    In my td map I have the 3 races, but the UI skin is randomly selected and it looks wierd when a player is terran and the UI is zerg or protoss, or player is zerg but UI is protoss and so on.

    How do i make the UI to be the same as the race selected?

    Race selection is done via dialog buttons( this might be obvious but want to give the precise details...)

    Let the player pick the race in the lobby. Then read out his picked race and use that as the race selected, the UI should match then.
    Or is there a reason why you would need them to choose the race using dialog buttons?

    Posted in: UI Development
  • 0

    posted a message on How to make a hero display more than one weapon?

    Best thing I can think off is making a panel which displays that info instead of trying to do it with layout changes. Because layout changes will only allow you to change what is already there.

    Posted in: UI Development
  • 0

    posted a message on Move item bar to top
    Quote from ShadowDancer93: Go

    Hello, I've encountered serious problem. I wan't to move my item buttons to top of screen, and that's nearly works. Problem is that inventory button i clickable only from half of its height (top part of button is unclickable, bottom is clickable).

    try adding the following bit to the InventoryButtons Layout:

    <RenderPriority val="510"/>
    

    increase the value in case the top half still isn't clickable.

    There is probably another panel at that position which intercepts the mouse clicks, so the button won't receive it. By raising the inventory button panel above that one it should be able to receive the clicks.

    Concerning your other question, I haven't looked into it. But have you tried changing the anchor of the InventoryPanel itself so that it is at a lower position?

    (ps. I haven't tested any of these answers, but as far as I know they should work.)

    Posted in: UI Development
  • 0

    posted a message on Custom Menu Bar Button

    @soulzek: Go

    you cannot catch mouse click events with SC2Layout files, SC2Layout files are pure for changing the actual UI, and reusing existing elements.

    You could ofcourse try to make a screen button with the same look and feel as a menu button on the menu bar, and then position it next to the menu.

    Posted in: UI Development
  • 0

    posted a message on What am I doing wrong?

    @Lightforgerr: Go

    Please create a new thread instead of hijacking someone else his thread.

    Also to answer your question, you need to refer to the frame. You can not override the existing UI frames anymore, see the 2nd post.

    Posted in: UI Development
  • 0

    posted a message on Custom UI Inventory (similar to Aiur Chef)

    @xHydrAx74: Go

    That one should work. Using the UI xml editor of the sc2editor you can copy/paste the contents of the file. Instead of importing it using the import functionality.

    Posted in: UI Development
  • 0

    posted a message on What am I doing wrong?

    Removing the help button does not require you to adjust any layout files.
    Just add the following trigger action to the game initialization trigger:

    Show/Hide UI Frame
        Show/Hide: Hide
        UI Frame: Help Menu Button
        Players: All Players
    

    Also when applying changes using layout files, you only need to mention the changes that you want to apply in the file, you do not have to repeat the default values that it already has.

    Posted in: UI Development
  • 0

    posted a message on Custom UI Inventory (similar to Aiur Chef)

    @xHydrAx74: Go

    Sorry for the slow response, but could you add the layout file that you used to your post so that we can better help you with the problem?

    Posted in: UI Development
  • 0

    posted a message on Click behind inventory

    @KratsAU: Go

    Why not use only the inventory area?

    as to how to fix your problem:
    I assume you're using a layout file to adjust the position etc.
    You need to position the commandcard before the inventory panel.

    <RenderPriority val='510'/>
    

    add that renderpriority line to the commandcard panel and adjust the value to make it so that the user accesses it before the inventory panel.
    or add it to the inventory panel and adjust it to make it so that the inventory panel is accessed after the command card panel.

    Posted in: UI Development
  • 0

    posted a message on move mission objectives?

    @Selfcreation: Go

    Have you taken a look at the UI tutorials? It explains how to adjust the existing layout.

    Summary:

    1. create a new layout file.
    2. add the frame reference of the layout item you want to adjust.
    3. add the changed lines, no need to add the stuff it already has unless you change something in it.
    Posted in: UI Development
  • 0

    posted a message on move mission objectives?

    @Selfcreation: Go

    what reference are you using in the top frame?
    You can lookup the frame references here

    Posted in: UI Development
  • 0

    posted a message on Help! Converting a dialog to an integer?

    @crucial99: Go

    I knew what I said was possible, see attached map.

    Posted in: UI Development
  • 0

    posted a message on Help! Converting a dialog to an integer?

    @crucial99: Go

    if I remember correctly you can set a custom value for your dialog items, which you can use to store an integer as a string value. and when retrieving it you can convert it back to an integer. think it was something like "Set Dialog Item (Custom) Value" and "Get Dialog Item (Custom) Value".

    Posted in: UI Development
  • 0

    posted a message on When did you join curse.com?

    Curse Client for WoW addons ;p joined at Sep 01, 2009 (apparently ;p)

    yes I did not join at 26 May 2010, I already had an account back then but with an old nick that I don't use anymore.

    Posted in: Off-Topic
  • To post a comment, please or register a new account.