• 0

    posted a message on Line of Sight blocker - X and Y cords 0.5

    I wanna create a LOS blocker, which can be placed at a .5 cord (example X: 10.5 and Y: 10.5).

     

    How do I achive this?

    Posted in: Data
  • 0

    posted a message on Damage system with stats

    Follow up question:

    Using a setup like the one you suggested, won't this cause latancy/lag issues with big spells with many damage over time effects?

    Posted in: Triggers
  • 0

    posted a message on Damage system with stats

    In reply to DrSuperEvil:

     Thanks for the suggestion. 
    Posted in: Triggers
  • 0

    posted a message on Damage system with stats

    In reply to DrSuperEvil:

     So just to clarify. You’d use the Catalog Field Value Set action and modify the data as the stats are changing?
    Posted in: Triggers
  • 0

    posted a message on Is it possible to create charts?

    Could you please specify what you want?

     

    You can create almost anything with dialogs, so a simple scoreboard should not be a problem. But there's not (as far as I know) any trigger where you can just put in name and value, and it will create a scoreboard. You'll have to create it from scratch. 

    Posted in: Triggers
  • 0

    posted a message on Damage system with stats

    I 'm considering picking up an old RPG project of mine, which involved stats, which would increase damage of skills. 

    The way I did it back then, were with a Catalog Field Value Set action (I think thats what it's called), which would modify damage stats every time they changed for the hero unit of the player. 

     

    This worked kinda fine, but I was thinking if anyone has come up with a better system since I left this project. I'm also considering creating my skills with triggers, and apply the damage that way, would that be more efficient?

    For example Psi Storm, which would deal damage to every unit within range every 0.25 sec, would that be just as efficient with triggers as it would with data?

     

    The thing is, I'm also considering having passive skills such as: Deal 10% more damage on full life. Healing is increased below 30% life. As far as I can see, abilities such as this, would be easier with triggers, though it could be done with data aswell, but would require a double amount of Catalog Field Value Set actions.

     

    TLDR: I'm on the fence, whether I should create my abilities with a combination of data and trigger, or I should create them purely with triggers, to get a system which would deal damage depending on unit stats.

    Posted in: Triggers
  • 0

    posted a message on "Records" - How do I use them?

    Oh ok. So I create a Variable of the type "- record". If I set the Variable to Array of 16, can I then have 16 different instances of the Record? So that Record[1].Integer and Record[2].Integer are different values, or will I have to do it like Record.Integer[1] and Record.Integer[2]?

    Posted in: Triggers
  • 0

    posted a message on "Records" - How do I use them?

    I've read in a few threads that I can use Records to organize my Variables. But I can't figure out how to use them.

     

    I've made a Record, created Variables inside it, but when I go to a trigger and use the Set Variable action I can't find the Record or the Variables inside it?

    Posted in: Triggers
  • 0

    posted a message on How do I move the "MenuBar" to the bottom left corner?

    How do I move the MenuBar to the bottom left corner? 

    I assume I'd have to use the same method to move the Inventory Panel, as I have to move that aswell.

    Posted in: UI Development
  • 0

    posted a message on Portrait rendering in front of UI element?

    I'm not really sure how to make it specify which channel to render on? How do I make it not render on LDR, as that could be the case? 

    Posted in: Triggers
  • 0

    posted a message on Any way to create a shields/health/energy bar as a UI element?

    Is it possible to create a health bar at the bottom of the screen, which will display the shields, health and energy of the selected unit with UI elements?

     

    I wan't it to resemble something like this.

     I've sort of managed to move the command buttons, but I'd also love to know how to make the BehaviorPanel horizontal and move it above the CommandPanel.

     

    I'm pretty new to UI editing, so any help would be appreciated.

    Posted in: UI Development
  • 0

    posted a message on How do I hide the ConsolyPanel, but keep the part around the minimap?

    Can I hide the console panel, while keeping the part around the minimap? If so, how?

     

    Also, how do I keep the portrait, and move to a different anchor and rescaling it?

    I wan't it moved to, and scaled to

    bottom offset "5"

    center offset "189"

    height "120"

    width "76"

    Posted in: UI Development
  • 0

    posted a message on Portrait rendering in front of UI element?

    I have a custom UI element, which renders with the priority of 500. I wan't to create a portrait on top of that, but for some reason I can only make it render underneath.

     

    I used these trigger actions:

            Portrait - Create a portrait sized (76, 120), at position (189, 5) relative to Bottom of screen,  and show model LichPortrait (Unnamed) (look from camera Default Portrait Camera and play its Default animation) (initially Visible) (Wait until loaded)
            Portrait - Turn (Last created portrait) border Off
    

     

     

    How do I solve this, so it renders on top?

    Posted in: Triggers
  • 0

    posted a message on Only show 6 command buttons, hide the rest, and move it to center bottom?

    Figured it out:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
        <Frame type="Frame" name="GameUI/UIContainer" file="GameUI">
            <Frame type="Frame" name="ConsoleUIContainer">
                <Frame type="CommandPanel" name="CommandPanel" template="CommandPanel/CommandPanelTemplate">
                    <Anchor side="Bottom" relative="$parent" pos="Max" offset="-8"/>
                    <Anchor side="Right" relative="$parent" pos="Mid" offset="227"/>
                    <Width val="454"/>
                    <Height val="76"/>
                <Frame type="CommandTooltip" name="CommandTooltip" template="CommandButton/CommandTooltipTemplate">
                    <Anchor side="Bottom" relative="$parent" pos="Max" offset="-100"/>
                    <Anchor side="Right" relative="$parent" pos="Mid" offset="235"/>
                </Frame>
            <Frame type="CommandButton" name="CommandButton00" template="CommandButton/CommandButtonTemplate">
                <Anchor side="Top" relative="$parent" pos="Max" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="0"/>
            </Frame>
            <Frame type="CommandButton" name="CommandButton05" template="CommandButton/CommandButtonTemplate">
                <Anchor side="Top" relative="$parent" pos="Max" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="0"/>
            </Frame>
            <Frame type="CommandButton" name="CommandButton09" template="CommandButton/CommandButtonTemplate">
                <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent" pos="Min" offset="0"/>
            </Frame>
            <Frame type="CommandButton" name="CommandButton10" template="CommandButton/CommandButtonTemplate">
                <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
                <Anchor side="Left" relative="$parent/CommandButton09" pos="Max" offset="#CommandButtonGap"/>
            </Frame>
        </Frame>
        <Frame type="Image" name="CommandPanelBorder">
            <Anchor side="Top" relative="$parent/CommandPanel" pos="Min" offset="-124"/>
            <Anchor side="Bottom" relative="$parent/CommandPanel" pos="Max" offset="55"/>
            <Anchor side="Left" relative="$parent/CommandPanel" pos="Min" offset="-24"/>
            <Anchor side="Right" relative="$parent/CommandPanel" pos="Max" offset="24"/>
            <Texture val="Assets\Textures\ui_battlenet_glues_pageassets_dialogbg.dds"/>
            <TextureType val="HorizontalBorder"/>
            <RenderPriority val="500"/>
        </Frame>
        <Frame type="InventoryPanel" name="InventoryPanel">
            <RenderPriority val="499"/>
            <Frame type="CommandTooltip" name="InventoryTooltip" template="CommandButton/CommandTooltipTemplate">
                <Anchor side="Bottom" relative="$parent" pos="Max" offset="-190"/>
                <Anchor side="Right" relative="$parent" pos="Mid" offset="235"/>
            </Frame>
            </Frame>
        </Frame>
    </Frame>
    </Desc>

     

    Posted in: UI Development
  • 0

    posted a message on Only show 6 command buttons, hide the rest, and move it to center bottom?

    How would I show 6 command buttons in a 6x1 line, hide the rest and move it to the bottom center?

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