• 0

    posted a message on [UI] SC2Layout Files: Override method (Aiurchef method)

    yes, it works, thanks! EDIT: there is no "Thanks" of "+Rep" button?

    erm... can you tell me more about the "Anchor"? I want to move the "HeroPanel", the panel that shows hero's icon F2, F3,... to top left of the screen, just below the Menu Bar, so I have this:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
    	<Frame type='HeroPanel' name='GameUI/UIContainer/FullscreenUpperContainer/HeroPanel' file='GameUI'>
    		<Anchor side="Top" relative="$parent" pos="Min" offset="40"/> <!-- MenuBar's height is 30 -->
                    <Anchor side="Left" relative="$parent" pos="Min" offset="112"/>
    	</Frame>
    </Desc>
    

    for some reasons, it's moved to the top right :(

    Posted in: Tutorials
  • 0

    posted a message on [UI] SC2Layout Files: Override method (Aiurchef method)

    I want to edit the texture of hero's XP Bar and I found this:

            <Frame type="ProgressBar" name="ExperienceBar">
                <Texture val="@@UI/ProgressQueue"/>
                <MinValue val="0.000000"/>
                <MaxValue val="1.000000"/>
                <Anchor side="Top" relative="$parent/NameLabel" pos="Max" offset="2"/>
                <Anchor side="Left" relative="$parent/NameLabel" pos="Mid" offset="0"/>
                <Anchor side="Right" relative="$parent/NameLabel" pos="Mid" offset="0"/>
                <Color val="##StandardProgressBorder"/>
                <ColorStep val="##StandardProgressFill"/>
                <Width val="300"/>
                <Height val="26"/>
            </Frame>
    

    I think have to change the line <Texture val="@@UI/ProgressQueue"/> but where is @@UI/ProgressQueue? is it defined somewhere?

    I want to change that to my texture, what should I do?

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