• 0

    posted a message on Unit icon blue/missing in build queue (screenshot)
    Quote from TyaArcade: Go

    Happens if a button isn't linked to the unit doing the training. Just make a new command card, and stick the train ability for your hellion in there. This will fix it. It doesn't matter if the command card is accessible or not.

    Thanks, I'll try that.

    Posted in: Data
  • 0

    posted a message on Unit icon blue/missing in build queue (screenshot)

    The build Hellion button is unchanged. The icon path also checks out. I tried readding the same value and showing me related/view the object and it always turns out good. What now? Duplicate Hellion button and try that? It's really weired.

    Posted in: Data
  • 0

    posted a message on Unit icon blue/missing in build queue (screenshot)
    Quote from SoulFilcher: Go

    Check the hellion's actor, unit icon.

    Hellion Actor

    Well that looks alright doesn't it? What am I missing?

    Posted in: Data
  • 0

    posted a message on Unit icon blue/missing in build queue (screenshot)

    Hi people,

    I have recently added the LOTV campaign dependencies to my map. One of the bugs is now that a factory producing Hellions shows a blue square instead of the Hellion icon. Where do I need to set/verify which icon to fix this? Thanks.

    Regards, BlacKcuD

    Posted in: Data
  • 0

    posted a message on Minimap Template not working since 3.0

    Bomb Blizzard HQ for their stupid patch. They have ccompletely wrecked many things with their latest patch. The UI section did suffer a lot.

    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)

    Fucking shit doesn't work. What did Blizzard not break with their fucking patch? "HotS_UnitStatus/HeroUnitStatusFrameTemplate" is centered, but way too small. Also you can't edit those, so if you rename them and duplicate I have the old problems like before.

    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)
    Quote from TyaArcade: Go

    I don't know what status bar you're using or if there's some special requirement you're wanting for it that I can't see, but;

    HotS_UnitStatus/HeroUnitStatusFrameTemplate

    Looks identical and has the name centrally justified and works post 3.0. At least, it does for me!

    I think the one in the picture is HotS_UnitStatus/HeroUnitStatusFrameTemplateWide. I have tried a couple other ones at random but with the same results. Either I haven't tried HotS_UnitStatus/HeroUnitStatusFrameTemplate yet or something else in my frames messes with that. Thanks for the tip, I'll try those.

    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)
    Quote from RPS333: Go

    Do you want the bar style to look exactly like the pic in your first post? I took a look at your map and got the name to move.

    In part. I want it to be as not-bugged as it was before patch 3.0.0 which means that the text is alligned to the left of the bar (similar to your screenshot) and the health bar centered on top of the unit. Currently I can't get the name to move and the healthbar is where ever it likes, depending on unit type, e.g. works for most buildings, but not for the Odins. I interpret this as that they changed the anchor points or their algorithm on how to resolve these frame layouts without bothering if it would kill old content. The amount of interface bugs in the wol and hots campaign are also astounding. *end rant*

    Can you copy/paste your code from the left-offset code here please so that I have a starting point? Thank you.

    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)
    Quote from RPS333: Go

    Change the left side anchor offset number in the label frame

        <!-- name of player -->
            <Frame type="UnitStatusUnitName" name="PlayerName">
                <Anchor side="Top" relative="$parent" pos="Min" offset="-20"/>
                <Anchor side="Left" relative="$parent/AttachPointFrame" pos="Min" offset="-50"/>
                <Height val="60"/>
                <Width val="300"/>
                <VisibleToAlly val="true"/>
                <VisibleToOwner val="true"/>
                <VisibleToEnemy val="true"/>
    
                <Frame type="Label" name="Label">
                    <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                    <Anchor side="Left" relative="$parent" pos="Min" offset="0"/>  // Left anchor adjusts name position
                    <Height val="60"/>
                    <Width val="300"/>
    

    Sorry, that didn't fix the problem. The health bar is still offset to the right on Odins and the text where he wants to be. In addition I still have the problem of the label not showing if I duplicate a previous status bar.

    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)

    I duplicated everything and made the neccessary adjustments. However, now my name is not showing up at all. I get the error:

    UI: Frame [Label] not able to be hooked up in [UnitNameLabel].

    Here is my code:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
        <!-- Wider Hero Health/Energy Bar -->
        <Frame type="UnitStatusFrame" name="ARPHeroUnit">
            <Height val="50"/>
            <Width val="450"/>
            <OwnerRenderPriority val="812"/>
            <AllyRenderPriority val="712"/>
            <EnemyRenderPriority val="612"/>
    
            <Frame type="Frame" name="AttachPointFrame">
                <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="135"/>
                <Height val="0"/>
                <Width val="0"/>
            </Frame>
    
            <Frame type="UnitStatusUnitName" name="UnitNameLabel" template="Test/ARPName">
                <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="40"/>
                <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
            </Frame>
    
            <Frame type="UnitStatusShieldedHealthBar" name="HealthBar" template="HotS_UnitStatus/UnitStatusSegmentedHealthBarTemplateWide">
                <Anchor side="Top" relative="$parent" pos="Min" offset="18"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="39"/>
            </Frame>
    
            <Frame type="UnitStatusEnergyBar" name="EnergyBar" template="HotS_UnitStatus/UnitStatusSegmentedEnergyTemplateWide">
                <Anchor side="Top" relative="$parent/HealthBar" pos="Max" offset="-1"/>
                <Anchor side="Left" relative="$parent/HealthBar" pos="Min" offset="0"/>
                <CollapseLayout val="true"/>
            </Frame>
    
            <Frame type="UnitStatusProgressBar" name="ProgressBar" template="HotS_UnitStatus/UnitStatusProgressBarTemplateWide">
                <Anchor side="Top" relative="$parent/EnergyBar" pos="Max" offset="-1"/>
                <Anchor side="Left" relative="$parent/EnergyBar" pos="Min" offset="0"/>
                <CollapseLayout val="true"/>
            </Frame>
    
            <Frame type="UnitStatusDurationBar" name="DurationBar" template="HotS_UnitStatus/UnitStatusDurationBarTemplateWide">
                <Anchor side="Top" relative="$parent/ProgressBar" pos="Max" offset="-1"/>
                <Anchor side="Left" relative="$parent/ProgressBar" pos="Min" offset="0"/>
                <CollapseLayout val="true"/>
            </Frame>
        </Frame>
    
       <!-- Unit Name Templates -->
        <Frame type="UnitStatusUnitName" name="ARPName">
            <Frame type="Label" name="Label">
                <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
                <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
                <Style val="ARPheroname"/>
                <RenderType val="HDR"/>
            </Frame>
        </Frame>
    </Desc>
    
    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)
    Quote from ArcaneDurandel: Go

    Check the style being applied to the element. The style controls alignment. It should look like

    <Style val ="SomeStyleNameHere" />

    OK, what do I change it to? I believe I have found what you are talking about:

        <!-- Unit Name Templates -->
        <Frame type="UnitStatusUnitName" name="UnitStatusUnitNameTemplate">
            <Frame type="Label" name="Label">
                <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
                <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
                <Style val="HotS_UnitStatusNameLabel"/>
                <RenderType val="HDR"/>
            </Frame>
        </Frame>
    

    The odd thing is just, that it worked before patch 3.0.0 and I can't spot any difference.

    • edit

    I found the style in the font styles, but is can't edit those and their values look actually correct. Is this some kind of anchor problem blizzard introduced into their own campaign?

    Posted in: UI Development
  • 0

    posted a message on Blizzard Name on Status Bar missalligned since 3.0? (screenshot included)

    Hey Guys,

    I was using the HotS_UnitStatus/HeroUnitStatusFrameTemplatesomething custom status bar on some of my bosses. I didn't modify it and it worked out nicely until patch 3.0 went live. Now the name of the unis is missalligned (centered at the right end of the bar). I have tried duplicating the frame and fiddeled with the numbers for the labels positioning and such, but I couldn't get it to move. Anyone any ideas?

    Posted in: UI Development
  • 0

    posted a message on Fancy Image Borders for Custom UI Status Bar
    Quote from Ahli634: Go

    You only have to create an image frame within the status bar.

    You should anchor it to the health bar and alter the anchor's offsets and the width and height properties.

    Eventually, you need to alter the RenderPriority to a value higher or lower than 512 to make it appear above/below the health bar. Its property is: <RenderPriority val="520"/>

    I know about image frames. Sorry for the misunderstanding. I am looking for a very specific image, somebody has already made and posted here. I am not a very good 2d artist :)

    Also thanks for pointing out the render priority. This will save some headaches later on.

    Finally, how exactly do I specify the path to the dds asset? The image paths look something like this: "@UI/HotS_HeroUnit_Status_LevelBG_Owner". Is that defined in the XML somewhere? How can I use a different dds? For example: ui_multiplayerload_avatarborder_platinum.dds? I tried making my own Assets.txt, but it doesn't find it.

    Posted in: UI Development
  • 0

    posted a message on Pre Game Lobby

    If you want to do it with colors, you'll probably want to do something like this:

            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Current player 1 color) == (Player 03) Teal
                Then
                    Unit - Change ownership of Zergling [73.78, 98.33] to player 1 and Retain Color
                Else
    
    Posted in: UI Development
  • 0

    posted a message on Fancy Image Borders for Custom UI Status Bar

    Hi everyone,

    a while ago I created a custom status ui bar for my heroes and used resources from this site. Everything worked out fine. Now I want to change the status bar of all units, but this also means that the hero status bars have to stick out more. One way to achieve this would be to add some fancy borders or images to the bar. I have seen someone do it, but couldn't find it after searching. Does anybody know where to find this? Is this already a built-in texture or do I have to create something? I think it was showcased on a screenshot with a Marauder or sth, but I can not friggn find it :(

    Here is a scetch of what I am talking about:

    status ui bar with border

    Posted in: UI Development
  • To post a comment, please or register a new account.