• 0

    posted a message on How to hide the minimap?

    @Pinworm45: Go

    Ok. Please send me those maps.

    I have been looking for these UI trigger options, but i still dont see anything.

    Posted in: Miscellaneous Development
  • 0

    posted a message on How to hide the minimap?
    Quote from Pinworm45: Go

    @lCeRl:

    Use UI - Show/Hide UI Frame.

    This will allow you to hide whichever part of the UI you'd like.

    Alternatively, Hide the entire game UI then just show the parts you want, like the menu bar, which is what I do for most my maps.

    I've been trying this, but it doesn't work fine, just like Gamethreat said. I cant get the minimap in a UI frame tipe.

    My problem was aplyed for a Maze tipe map, where i want to avoid players click the center of the minimap for going there.

    I found a tini solution for ... some like don't show anything in the minimap. Go (in the data editor) to "UI data of the party" then "Default adjust of the UI for SC2" and then in the right panel to "minimap+" You have to put a high atribute number in the first number field you get above colors selection. I have something like 1000.

    Escuse me, but i'm working with the spanish editor and i can't explain it better :S

    Posted in: Miscellaneous Development
  • 0

    posted a message on create unit in random region

    Yeah i did that by combining a RandomInt fuction and the list of regions.

    I created a function called "Random region" working like that:

    · Get a random integer

    · If random int value=1 -> return region 1

    · if random int value=2 -> return region 2

    ·.............

    · In any other case, return region x (the last region you want)

    ----------------

    I'm working in a function to avoid creating unit in a region that have some unit inside.

    Is like this:

    · Get a random region by the upper method

    · for(i=0; i<num of units; i) (for each integer..)

    {

    if (position of unit[i] == random point at random region)

    return false;

    }

    return true;

    This will return true if the region is completely empty of the unit you have in the array.

    Anybody know other method for checking if the region is already with units?

    Posted in: Miscellaneous Development
  • 0

    posted a message on How to hide the minimap?

    Hi. I'm working in a maze-based map. In order to improve gameplay mechanic, it would be interesting to hide the minimap in some way.

    I have tried removing the entire UI, but i need the other panels for using abilities, see the unit levels, skills and so.

    Any idea?

    I think that blackening or puting an imagen in the square of the minimap will be the solution, but i dont know how to do that.

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