Attributes room to small?

X-maul

AKA: Demtrod
Reaction score
201
Are there any way to increase the size of the room where attributes are located on a unit?
attributesroom.png

This is how it looks right now, but I want to increase the room, eg remove the 3D / 2D image of the unit, is that possible?

This unit could possibly recieve 3000 bonus HP and Bonus Spell Damage, and I want the player to be able to see it.

EDIT: I got this screenshot which shows another persons Starcraft UI with much more room? :eek:
massiveroom.png
 

Dave312

Censored for your safe viewing
Reaction score
269
You should be able to do it by modifying SC2 Layout Files. The files can be found by opening up the console and typing browse. Then go to the path UI/Layout/. There are quite a lot of files there and I have never tried to modify them so that is about all the help I can provide.
 

X-maul

AKA: Demtrod
Reaction score
201
I can't seem to be able to locate UI/Layout?

I updated main thread with a screenshot. The screenshot was taken from a tutorial where he starts a map from scratch, so it seems to be some kind of option ingame, which I can't seem to locate?
 

Dave312

Censored for your safe viewing
Reaction score
269
I think it just depends on the resolution of your screen.
 

X-maul

AKA: Demtrod
Reaction score
201
I dont know how high the resoluton is on the second screenshot, but I tried to choose the lowest resolution and it was the same with 800x600 as with 1280x1024

Doesnt any of you guys know of a way to scale the UI?
 

Dave312

Censored for your safe viewing
Reaction score
269
It is probably more of a widescreen thing. My screen is widescreen and my interface looks like the second screenshot.
 

X-maul

AKA: Demtrod
Reaction score
201
hm, ok - mine isnt a widescreen - that might be the case - thank you anyway for trying :)
 

X-maul

AKA: Demtrod
Reaction score
201
Purchased a new monitor, wth 23.5" and widescreen, and this is what it does now....
uierror.png
 

Dave312

Censored for your safe viewing
Reaction score
269
Well it is a bit disappointing to see that it still gets cut off despite you having the extra room. You should be able to solve this by modifying the layout files. I took a look through and found one called InfoPanel.SC2Layout (contents in spoiler tags below). Scroll down halfway and you should see this:

<Frame type="InfoPaneHero" name="InfoPaneHero" template="InfoPaneHero/InfoPaneHeroTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
<Width val="402"/>
</Frame>

Try increasing the width value and see whether that solves your problem. You will need to save this and import it and set the path to replace the path of the default file (path is "UI/Layout/UI/InfoPanel.SC2Layout")

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Desc>
<Constant name="InfoPaneUnitNameStyleNormal" val="@@InfoPaneUnitName"/>
<Constant name="InfoPaneUnitNameStyleCondensed" val="@@InfoPaneUnitNameCondensed"/>

<Frame type="InfoPanel" name="InfoPanelTemplate">
<Frame type="Frame" name="UnitPanel">
<Anchor relative="$parent"/>
<Frame type="BehaviorBar" name="BehaviorBar" template="BehaviorBar/BehaviorBarTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="6"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="10"/>
<RenderPriority val="520"/>
</Frame>

<Frame type="UnitWireframe" name="UnitWireframe" template="UnitWireframe/UnitWireframeTemplate">
<Anchor side="Top" relative="$parent/BehaviorBar" pos="Min" offset="0"/>
<Anchor side="Left" relative="$parent/BehaviorBar" pos="Max" offset="-10"/>
<Width val="140"/>
<Height val="140"/>
</Frame>

<Frame type="Label" name="ShieldLabel">
<Style val="UnitWireframeVital"/>
<Anchor side="Top" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
<Anchor side="Left" relative="$parent/UnitWireframe" pos="Min" offset="0"/>
<Anchor side="Right" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
</Frame>

<Frame type="Label" name="LifeLabel">
<Style val="UnitWireframeVital"/>
<Anchor side="Top" relative="$parent/ShieldLabel" pos="Max" offset="0"/>
<Anchor side="Left" relative="$parent/UnitWireframe" pos="Min" offset="0"/>
<Anchor side="Right" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
</Frame>

<Frame type="Label" name="EnergyLabel">
<Style val="UnitWireframeVital"/>
<Anchor side="Top" relative="$parent/LifeLabel" pos="Max" offset="0"/>
<Anchor side="Left" relative="$parent/UnitWireframe" pos="Min" offset="0"/>
<Anchor side="Right" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
</Frame>
</Frame>

<Frame type="InfoPaneAIGroup" name="InfoPaneAIGroup" template="AIFrames/InfoPaneAIGroupTemplate">
<Anchor relative="$parent"/>
</Frame>

<Frame type="InfoPaneAIPlayer" name="InfoPaneAIPlayer" template="AIFrames/InfoPaneAIPlayerTemplate">
<Anchor relative="$parent"/>
</Frame>

<Frame type="InfoPaneUnit" name="InfoPaneUnit" template="InfoPaneUnit/InfoPaneUnitTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
<Width val="402"/>
</Frame>

<Frame type="InfoPaneHero" name="InfoPaneHero" template="InfoPaneHero/InfoPaneHeroTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
<Width val="402"/>
</Frame>

<Frame type="InfoPaneQueue" name="InfoPaneQueue" template="InfoPaneQueue/InfoPaneQueueTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
<Width val="402"/>
</Frame>

<Frame type="InfoPaneProgress" name="InfoPaneProgress" template="InfoPaneProgress/InfoPaneProgressTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
<Width val="402"/>
</Frame>

<Frame type="InfoPaneCargo" name="InfoPaneCargo" template="InfoPaneCargo/InfoPaneCargoTemplate">
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
<Width val="402"/>
</Frame>

<Frame type="InfoPaneGroup" name="InfoPaneGroup" template="InfoPaneGroup/InfoPaneGroupTemplate">
<Anchor relative="$parent"/>
</Frame>
</Frame>
</Desc>
 

X-maul

AKA: Demtrod
Reaction score
201
Sigh, I feel like a total noob :banghead: how do I modify the file? I am able to find it, but I can't modify it, it seems.
 

Dave312

Censored for your safe viewing
Reaction score
269
Sorry I sort of just glossed over it a bit because I haven't actually done it myself. You will need to export the file (Right Click -> Export File or Crtl+E) and then make your changes using a text editor. And finally import your file using the Import Manager and set the path so it overrides the existing file (Use Right Click -> Move File... or Crtl+M to change the path).

Also just something to be aware of, if someone tries to play your map who doesn't have a widescreen, they will still have the issue of not being able to read the attributes. You may want to consider making some other changes to the layout files to avoid this issue.
 

X-maul

AKA: Demtrod
Reaction score
201
sigh, I can't seem to be able to export it, it let's me click on the "save" button but nothing happens /:
 

Dave312

Censored for your safe viewing
Reaction score
269
Just copy and paste from my previous post into a text file and change the extension to match.
 

X-maul

AKA: Demtrod
Reaction score
201
I got it imported and changed it to 620, but it didnt work, or it was the wrong filetype, I was not able to change filetype to InfoPanel.SC2Layout..* so it got to be InfoPanel.SC2Layout.txt
 

Dave312

Censored for your safe viewing
Reaction score
269
If the extensions don't match, I doubt the imported file will override the existing file. Have you tried changing the extension of the file prior to importing it?
 

X-maul

AKA: Demtrod
Reaction score
201
no, my computer won't allow me to save it as the file I export from Galaxy Editor
 

Dave312

Censored for your safe viewing
Reaction score
269
I don't think we are on the same page. When you export the file, change the filename to "InfoPanel.txt". Then do your editing of the file with your favourite text editor and hit save. Now before you import the file into the SC2 Editor, change the filename from "InfoPanel.txt" to "InfoPanel.SC2Layout" (make sure you have the file extensions shown otherwise it won't work). Now you should be able to import it without any problems.
 

X-maul

AKA: Demtrod
Reaction score
201
I'm as sure as I can be, that I've done it as you said, but it does not work /:
changed the things in the document to this:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Desc>
    <Constant name="InfoPaneUnitNameStyleNormal" val="@@InfoPaneUnitName"/>
    <Constant name="InfoPaneUnitNameStyleCondensed" val="@@InfoPaneUnitNameCondensed"/>
    
    <Frame type="InfoPanel" name="InfoPanelTemplate">        
        <Frame type="Frame" name="UnitPanel">
            <Anchor relative="$parent"/>
            <Frame type="BehaviorBar" name="BehaviorBar" template="BehaviorBar/BehaviorBarTemplate">
                <Anchor side="Top" relative="$parent" pos="Min" offset="6"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="10"/>
                <RenderPriority val="520"/>
            </Frame>

            <Frame type="UnitWireframe" name="UnitWireframe" template="UnitWireframe/UnitWireframeTemplate">
                <Anchor side="Top" relative="$parent/BehaviorBar" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent/BehaviorBar" pos="Max" offset="-10"/>
                <Width val="140"/>
                <Height val="140"/>
            </Frame>

            <Frame type="Label" name="ShieldLabel">
                <Style val="UnitWireframeVital"/>
                <Anchor side="Top" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
                <Anchor side="Left" relative="$parent/UnitWireframe" pos="Min" offset="0"/>
                <Anchor side="Right" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
            </Frame>

            <Frame type="Label" name="LifeLabel">
                <Style val="UnitWireframeVital"/>
                <Anchor side="Top" relative="$parent/ShieldLabel" pos="Max" offset="0"/>
                <Anchor side="Left" relative="$parent/UnitWireframe" pos="Min" offset="0"/>
                <Anchor side="Right" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
            </Frame>

            <Frame type="Label" name="EnergyLabel">
                <Style val="UnitWireframeVital"/>
                <Anchor side="Top" relative="$parent/LifeLabel" pos="Max" offset="0"/>
                <Anchor side="Left" relative="$parent/UnitWireframe" pos="Min" offset="0"/>
                <Anchor side="Right" relative="$parent/UnitWireframe" pos="Max" offset="0"/>
            </Frame>
        </Frame>

        <Frame type="InfoPaneAIGroup" name="InfoPaneAIGroup" template="AIFrames/InfoPaneAIGroupTemplate">
            <Anchor relative="$parent"/>
        </Frame>

        <Frame type="InfoPaneAIPlayer" name="InfoPaneAIPlayer" template="AIFrames/InfoPaneAIPlayerTemplate">
            <Anchor relative="$parent"/>
        </Frame>

        <Frame type="InfoPaneUnit" name="InfoPaneUnit" template="InfoPaneUnit/InfoPaneUnitTemplate">
            <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
            <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
            <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
            <Width val="502"/>
        </Frame>

        <Frame type="InfoPaneHero" name="InfoPaneHero" template="InfoPaneHero/InfoPaneHeroTemplate">
            <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
            <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
            <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
            <Width val="502"/>
        </Frame>

        <Frame type="InfoPaneQueue" name="InfoPaneQueue" template="InfoPaneQueue/InfoPaneQueueTemplate">
            <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
            <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
            <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
            <Width val="502"/>
        </Frame>

        <Frame type="InfoPaneProgress" name="InfoPaneProgress" template="InfoPaneProgress/InfoPaneProgressTemplate">
            <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
            <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
            <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
            <Width val="502"/>
        </Frame>

        <Frame type="InfoPaneCargo" name="InfoPaneCargo" template="InfoPaneCargo/InfoPaneCargoTemplate">
            <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
            <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
            <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
            <Width val="502"/>
        </Frame>

        <Frame type="InfoPaneGroup" name="InfoPaneGroup" template="InfoPaneGroup/InfoPaneGroupTemplate">
            <Anchor relative="$parent"/>
        </Frame>
    </Frame>
</Desc>
And I did set the extension to the right thing as you instructed, imported it like this:
pathc.png

And it still does the thing with the borders /:
I guess it's a thing that needs to be patched to work
 

Dave312

Censored for your safe viewing
Reaction score
269
It looks like trying to replace the existing file using the import manager doesn't work.

Open up the Data Editor and select the data type Game UI Data. Now select the Default SC2 UI Settings and add your custom layout file to the UI - Custom Layout Files property. The file will be located in the path specified in the import manager. Also you may need to save, close and re-open your map after you have imported your file if you can't find it. Now test and see if that works. (Note that the filename and path may not need to be the same as the existing file)

EDIT: The method works for getting the game to read the custom layout file, however I'm getting errors about reading items with duplicate names.

EDIT2: Ok now I think I have it. You only need to override what you want to change. Create a new text file and paste this into it:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Desc>
	<Frame tyep="InfoPanel" name="GameUI/UIContainer/ConsoleUIContainer/InfoPanel" file="GameUI">
		<Frame type="InfoPaneHero" name="InfoPaneHero">
			<Width val="402"/>
		</Frame>
	</Frame>
</Desc>
Change the value of the width property and set it to whatever you want it to be. Then save and import the file as before and add it via the data editor.
 

X-maul

AKA: Demtrod
Reaction score
201
It's not working /: sigh - that sucks - I'll request Blizzard to fix it in later patches :) (or atleast try to request)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top