• 0

    posted a message on Hero Respawn Suddenly Broken

    @Zetal: Go

    Obviously there's no way around an entire patch. There's also no way that we can help you debug without seeing some code.

    Posted in: Triggers
  • 0

    posted a message on (Solved) Dialog images/items. Layers and overlapping?

    @Doubleclick123: Go

    Just create the dialog that contains the transparent image last.

    Posted in: Triggers
  • 0

    posted a message on (Solved) Dialog images/items. Layers and overlapping?

    @Doubleclick123: Go

    Dialogs appear on top of each other in the order they were created last to first (last one on top, first one on bottom).

    Within a dialog, dialog items (including images) appear on top of each other in the same order (last created on top, first created on bottom).

    So, in order to put an image with transparent parts on top of another image, you would just create them both in the same dialog, and create the one with transparency second.

    Or you could create them inside of a panel and then actually specify the render priority (which lets you specify which is on top).

    Edit: Additionally, you could create transparency using the alpha channel property. (Or just build it into the image).

    Posted in: Triggers
  • 0

    posted a message on Starcraft 2 Hero Map

    You know you have given no explanation of what this is? It looks to us like you are just dropping units into an empty map.

    Posted in: Map Review
  • 0

    posted a message on Can't edit BehaviorBar at all

    @zorbotron: Go

    Modifying the size/position of the Behavior Bar for all players would involve a layout like this:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
        <Frame type="Frame" name="GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel" file="GameUI">
            <Frame type="BehaviorBar" name="BehaviorBar" template="BehaviorBar/BehaviorBarTemplate">
            </Frame>
        </Frame>
    </Desc>
    

    You'd have to add it as an override layout file in the UI: Custom Layout Files field of the GameUI data section.

    Modifying the size of the icons is a different story. You'd have to do that the way that you were trying to, which I haven't done before, so I can't help you with.

    Posted in: UI Development
  • 0

    posted a message on Can't edit BehaviorBar at all

    @zorbotron: Go

    I couldn't help you with that, unfortunately. I've never modified layouts separately in that manner, I just have a single file overriding the actual implementation.

    Posted in: UI Development
  • 0

    posted a message on Making Icons for requests

    @Maximusssss: Go

    Don't mean to steal anybody's job but here ya go.

    Posted in: Art Assets
  • 0

    posted a message on Setting variable arrays in one line?

    It would definitely be possible to do it with a single action call, as SouLCarveRR is describing.

    The way to do it would be using arrayref to pass the array as a parameter. The limitation of this is that you will only be able to use the action for a specific type of array (like an action that initializes an int array of size 5). But you could always just code multiple such actions.

    Here's an example:

    typedef int[5] int5;
    typedef arrayref<int5> int5_ref;
    
    void initInt5(int5_ref arr, string values)
    {
    int i;
    for(i = 0;i < 5;i++) { arr[i] = StringToInt(StringWord(values, i+1)); }
    }
    
    int[5] arr;
    initInt5(arr, "1 2 3 4 5");
    
    Posted in: Galaxy Scripting
  • 0

    posted a message on Can't edit BehaviorBar at all

    It is possible to edit the behavior bar, but if you're getting a cannot create error, then you're clearly not using the correct path to access it. You'll have to post your actual layout code to get more specific help.

    Though all you will really be able to do with the behavior bar is change the size of it and reposition it. You can't add more behaviors or change the arrangement of them.

    Posted in: UI Development
  • 0

    posted a message on Viral Bank Injector (VBI) + Character Code Locker (CCL)

    @Kueken531: Go

    It's really not that hard to write some nice encryption.

    Edit: And even if they get the map script you can obfuscate it.

    Posted in: Triggers
  • 0

    posted a message on Actor - Cast Start - Detach

    @ezbeats: Go

    I'm pretty sure that those only work if the actor is created on an effect event, which isn't the case here.

    However, somebody in the IRC helped me - by setting the Actor Subject to (System) Creator, it is its own host, and not attached anymore.

    Posted in: Data
  • 0

    posted a message on Actor - Cast Start - Detach

    Hey all,

    I have an actor that I am creating on the source cast start of an ability. The actor is attaching itself to the caster when I want it to remain at the location it was created. How can I detach it / orphan it from the caster?

    It would be a simple matter if it was created by an effect event but I'd rather not have to make cast time simulating behaviors every time I want to make an actor during the cast time.

    Thanks for your help!

    -Wrath

    Posted in: Data
  • 0

    posted a message on Ranking System based on Kills

    @Mugen245: Go

    That's not exactly very descriptive. What is the objective in this game? To get kills or to destroy/capture some objective?

    If there is an objective other than kills, you should just use win/loss instead. You can read about a fairly easy to implement ELO System here: ELO Math Details

    Posted in: Triggers
  • 0

    posted a message on Increase number of icons in equipment array

    @onlyleviathan: Go

    The inventory is limited to only six items.

    You can, however, put a container in one of those slots - and the container can hold more items.

    Posted in: Data
  • 0

    posted a message on [Solved] Behavior with Dodge chance.

    @UltimaNecros: Go

    You need to use Combat: Damage Response.

    Set the chance to 0.15, set the Amount Fraction to 0.

    That should do it.

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