• 0

    posted a message on (solved)How to add a border to portrait panel?

    Okay, just found better looking texture: @UI/MultiplayerLoadingPanelPlayerFrameBorderNormal.

    If you are interested how it looks, here is a ss: I`m happy with it now, my custom UI is almost finished now!

    Posted in: UI Development
  • 0

    posted a message on (solved)How to add a border to portrait panel?

    No one knows?

    Posted in: UI Development
  • 0

    posted a message on ( solved) How to make a Buffing beam?

    I wanted my hero to be able to cast it on his own turrets. Its working as intended unless the turrets are on full hp. I dont see any validator which is responsible for this.

    Posted in: Data
  • 0

    posted a message on ( solved) How to make a Buffing beam?

    I want to make an ability pretty similar to medic healing beam. But with the exception that instead of heal this should apply buff for as long as you are channeling. I managed to "almost" make it working using create healer effect and periodic effect applying buff, but when the unit is full on health, its impossible to cast it on an unit. Any ideas?

    Posted in: Data
  • 0

    posted a message on (solved)Auto cast ai problem

    I dont understand much from what did you write. I used Random offset on periodic event, and I`m happy with the results.

    Posted in: Data
  • 0

    posted a message on (solved)Auto cast ai problem

    Ty for answer, but i dont have HOTS :/, marking Auto cast initially on makes my unit use his abilities, but it uses now ground pound whenever its cd is off, there is no difference if my units are nearby. I have Abort On Alliance Change on in flags as well as Excluded Player, Ally, Netrual in Auto Cast Filters.

    Okay, didnt really know what Enumerate Area is here for, but it is working properly right now!

    Posted in: Data
  • 0

    posted a message on (solved)How to add a border to portrait panel?

    Uptade

    So, ive toyed around codes and ended up with:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
    <Frame type="PortraitPanel" name="GameUI/UIContainer/ConsolePanel/PortraitPanel" file="GameUI">
                <Width val="152"/>
                <Height val="152"/>
    <Anchor side="Bottom" relative="$parent" pos="Max" offset="-130"/>
    <Anchor side="Right" relative="$parent" pos="Max" offset="-676"/>
    <Frame type="Frame" name="GameUI/UIContainer/ConsoleUIContainer" file="GameUI">
    <Frame type="Image" name="PortraitPanelPanelFrame">
                  <Visible val="true"/>
                  <Anchor side="Bottom" relative="$parent" pos="Max" offset="-90"/>
    <Anchor side="Right" relative="$parent" pos="Max" offset="-646"/>
    <Width val="220"/>
    <Height val="220"/>
                  <Texture val="@@UI/TimerWindowBackground" layer="0"/>
                  <TextureType val="Border" layer="0"/>
                  <Tiled val="true" layer="0"/>
                  <LayerColor val="##StandardBorder" layer="0"/>
                  <RenderPriority val="500"/>
           </Frame></Frame>
            </Frame>
    </Desc>
    

    The main problem was in missing

    <Frame type="Frame" name="GameUI/UIContainer/ConsoleUIContainer" file="GameUI">
    

    But also anchors, exaclty relative /PortraitPanel isnt working. Had to manually find the position.

    But there is still one problem, The frame have black background, making it look ugly. Does anyone know how to remove it?

    Posted in: UI Development
  • 0

    posted a message on (solved)Auto cast ai problem

    So i`m trying to script a boss. I want him to cast ground pound always if there is any enemy unit in 3 units arrea around him with 15s cd(I dont have any cost associated with it, just 15s cd. Also I have vortex ability, 5s cd, no cost, with 6 units arrea. Both skills arent working. Also is there any way to force unit to cast ability at a random location? Any idea why when I duplicated skill, the original skill name turned to the one from duplicate?

    It is also worth mentioning that both that skills are duplicates of skills(one made by myself and one from the game) Ive checked requirements, validators, button requirement commands and everything looks fine. I post ss with my current settings

    Thanks in advance! 1 2

    Posted in: Data
  • 0

    posted a message on (solved)How to add a border to portrait panel?

    How to add a border to portrait panel? I`m using this and it is not working. I was also trying to adjust anchors but without succes.

    <Frame type="PortraitPanel" name="GameUI/UIContainer/ConsolePanel/PortraitPanel" file="GameUI">
                <Width val="152"/>
                <Height val="152"/>
    <Anchor side="Bottom" relative="$parent" pos="Max" offset="-100"/>
    <Anchor side="Right" relative="$parent" pos="Max" offset="-646"/>
           <Frame type="Image" name="PortraitPanelFrame">
                  <Visible val="true"/>
                  <Anchor side="Top" relative="$parent/PortraitPanel" pos="Min" offset="5"/>
                  <Anchor side="Bottom" relative="$parent/PortraitPanel" pos="Max" offset="0"/>
                  <Anchor side="Left" relative="$parent/PortraitPanel" pos="Min" offset="-35"/>
                  <Width val="160"/>
                  <Height val="160"/>
                  <Texture val="@@UI/TimerWindowBackground" layer="0"/>
                  <TextureType val="Border" layer="0"/>
                  <Tiled val="true" layer="0"/>
                  <LayerColor val="##StandardBorder" layer="0"/>
                  <RenderPriority val="500"/>
           </Frame>
    
            </Frame>
    
    Posted in: UI Development
  • 0

    posted a message on (solved)How to show only portrait panel from console panel?

    Its working, finally, thx!

    Posted in: UI Development
  • 0

    posted a message on (solved)How to show only portrait panel from console panel?
    Quote:

    Neither Default UI Settings nor any ui file contain world panel layout. Still looking for a help.

    Sorry for that, thats what should have been written.

    Quote:

    Quote from Alevice: Go @Myteq: Go

    I was changed to the world panel == layout ==.

    I dont understand what do you mean. Can someone please say what to do exatcly?

    Posted in: UI Development
  • 0

    posted a message on (solved)How to show only portrait panel from console panel?

    Neither Default UI Settings nor any ui file contain Default UI Settings. Still looking for a help.

    Posted in: UI Development
  • 0

    posted a message on (solved)How to show only portrait panel from console panel?

    I cant find the World Console Bottom field in the Default UI Settings :/ Are you sure, its still here?

    Posted in: UI Development
  • 0

    posted a message on (solved)How to show only portrait panel from console panel?

    How to show only portrait panel from console panel?

    Im currently using this:

     <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
        <Frame type="ConsolePanel" name="GameUI/UIContainer/ConsolePanel" file="GameUI">
            <Frame type="Frame" name="GameUI/UIContainer/ConsolePanel/CommandStub" file="GameUI">
                <Visible val="false"/>
            </Frame>
    
            <Frame type="Model" name="GameUI/UIContainer/ConsolePanel/InfopanelModel" file="GameUI">
                <Visible val="false"/>
            </Frame>
    
            <Frame type="Model" name="GameUI/UIContainer/ConsolePanel/CommandPanelModel" file="GameUI">
                <Visible val="false"/>
            </Frame>
    
            <Frame type="Frame" name="GameUI/UIContainer/ConsolePanel/InfoStub" file="GameUI">
                <Visible val="false"/>
            </Frame>
    
            <Frame type="Frame" name="GameUI/UIContainer/ConsolePanel/MinimapStub" file="GameUI">
                <Visible val="false"/>
            </Frame>
    
            <Frame type="Model" name="GameUI/UIContainer/ConsolePanel/MinimapModel" file="GameUI">
                <Visible val="false"/>
            </Frame>
    
            <Frame type="PortraitPanel" name="GameUI/UIContainer/ConsolePanel/PortraitPanel" file="GameUI">
                <Width val="152"/>
                <Height val="152"/>
            </Frame>
        </Frame>
    </Desc>
    

    And its working almost as indended besides the fact that it also leaves me with black background covering around 1/3 of the screen at the bottom

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