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.
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.
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.
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.
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.
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.
Change the left side anchor offset number in the label frame
<!--nameofplayer--><Frametype="UnitStatusUnitName"name="PlayerName"><Anchorside="Top"relative="$parent"pos="Min"offset="-20"/><Anchorside="Left"relative="$parent/AttachPointFrame"pos="Min"offset="-50"/><Heightval="60"/><Widthval="300"/><VisibleToAllyval="true"/><VisibleToOwnerval="true"/><VisibleToEnemyval="true"/><Frametype="Label"name="Label"><Anchorside="Top"relative="$parent"pos="Min"offset="0"/><Anchorside="Left"relative="$parent"pos="Min"offset="0"/>// Left anchor adjusts name position<Heightval="60"/><Widthval="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.
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 --><Frametype="UnitStatusFrame"name="ARPHeroUnit"><Heightval="50"/><Widthval="450"/><OwnerRenderPriorityval="812"/><AllyRenderPriorityval="712"/><EnemyRenderPriorityval="612"/><Frametype="Frame"name="AttachPointFrame"><Anchorside="Top"relative="$parent"pos="Min"offset="0"/><Anchorside="Left"relative="$parent"pos="Min"offset="135"/><Heightval="0"/><Widthval="0"/></Frame><Frametype="UnitStatusUnitName"name="UnitNameLabel"template="Test/ARPName"><Anchorside="Top"relative="$parent"pos="Min"offset="0"/><Anchorside="Left"relative="$parent"pos="Min"offset="40"/><Anchorside="Right"relative="$parent"pos="Max"offset="0"/></Frame><Frametype="UnitStatusShieldedHealthBar"name="HealthBar"template="HotS_UnitStatus/UnitStatusSegmentedHealthBarTemplateWide"><Anchorside="Top"relative="$parent"pos="Min"offset="18"/><Anchorside="Left"relative="$parent"pos="Min"offset="39"/></Frame><Frametype="UnitStatusEnergyBar"name="EnergyBar"template="HotS_UnitStatus/UnitStatusSegmentedEnergyTemplateWide"><Anchorside="Top"relative="$parent/HealthBar"pos="Max"offset="-1"/><Anchorside="Left"relative="$parent/HealthBar"pos="Min"offset="0"/><CollapseLayoutval="true"/></Frame><Frametype="UnitStatusProgressBar"name="ProgressBar"template="HotS_UnitStatus/UnitStatusProgressBarTemplateWide"><Anchorside="Top"relative="$parent/EnergyBar"pos="Max"offset="-1"/><Anchorside="Left"relative="$parent/EnergyBar"pos="Min"offset="0"/><CollapseLayoutval="true"/></Frame><Frametype="UnitStatusDurationBar"name="DurationBar"template="HotS_UnitStatus/UnitStatusDurationBarTemplateWide"><Anchorside="Top"relative="$parent/ProgressBar"pos="Max"offset="-1"/><Anchorside="Left"relative="$parent/ProgressBar"pos="Min"offset="0"/><CollapseLayoutval="true"/></Frame></Frame><!-- Unit Name Templates --><Frametype="UnitStatusUnitName"name="ARPName"><Frametype="Label"name="Label"><Anchorside="Top"relative="$parent"pos="Min"offset="0"/><Anchorside="Left"relative="$parent"pos="Min"offset="0"/><Anchorside="Bottom"relative="$parent"pos="Max"offset="0"/><Anchorside="Right"relative="$parent"pos="Max"offset="0"/><Styleval="ARPheroname"/><RenderTypeval="HDR"/></Frame></Frame></Desc>
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 --><Frametype="UnitStatusUnitName"name="UnitStatusUnitNameTemplate"><Frametype="Label"name="Label"><Anchorside="Top"relative="$parent"pos="Min"offset="0"/><Anchorside="Left"relative="$parent"pos="Min"offset="0"/><Anchorside="Bottom"relative="$parent"pos="Max"offset="0"/><Anchorside="Right"relative="$parent"pos="Max"offset="0"/><Styleval="HotS_UnitStatusNameLabel"/><RenderTypeval="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?
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?
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.
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 :(
0
Thanks, I'll try that.
0
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.
0
Well that looks alright doesn't it? What am I missing?
0
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
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.
0
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.
0
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.
0
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.
0
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.
0
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:
0
OK, what do I change it to? I believe I have found what you are talking about:
The odd thing is just, that it worked before patch 3.0.0 and I can't spot any difference.
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?
0
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?
0
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.
0
If you want to do it with colors, you'll probably want to do something like this:
0
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: