• 0

    posted a message on Get clicked dialog item dialog

    Hello and welcome to our community ;)

    Are you going to make these dialogs using only triggers or by UI (xml) editing?

    The first is easier but the second allows a lot more options like highlighs, toggling and some other stuff

    Posted in: Triggers
  • 0

    posted a message on Unit Distance Check

    Nah, using data for closest unit sorting in range is too tedious and complex for non data experts so advise against it

    You can use a simple trigger like this (there are different ways of doing it)

    http://img811.imageshack.us/img811/5032/pickenemyunitsinrange.jpg

    Posted in: Triggers
  • 0

    posted a message on Unit Distance Check

    To make a distance check u can use the "distance between points" trigger passing the position of the shooter and of the picked unit u want to check.
    Else make something better and instead of using Entire Map create a circle region with the radius u need centered on the shooter

    Posted in: Triggers
  • 0

    posted a message on Bug With Camera

    it doesn't make sense :|
    is the mod import really the cause?

    Edit:
    Zandose told me how to fix it
    Data editor => Game UI Data => Default SC2 UI Settings => (Basic) UI: Camera Event Threshold Yaw

    change the value from 15 to 1

    Posted in: Triggers
  • 0

    posted a message on In-game UI Editor

    In the actual version I'm able to move dialog items just changing manually the offset numbers using the ingame UI editor. Drag doesn't work for me either, The lower parts with the editable form seems to appear only in tree view.

    Posted in: UI Development
  • 0

    posted a message on Bug With Camera

    I have the same issue in Hive Keeper with the possession spell (first person view)
    Even if you do small mouse changes the unit keeps going in the same direction, seems that the yaw is updated after 15° or something.
    I tought It was something done to reduce the lag :O

    Posted in: Triggers
  • 0

    posted a message on (Solved) Create target halo?

    BTW when you add an external dependency you can see how custom campaign triggers are done in the library section (in the triggers editor).
    You could have just duplicated it ;)

    Posted in: Triggers
  • 0

    posted a message on (Solved) Create target halo?

    did you include the hots campaign dependencies to see the custom functions?

    Posted in: Triggers
  • 0

    posted a message on *Solved* [Text Addition]

    add solved to the topic name ;)

    Posted in: UI Development
  • 0

    posted a message on Unused HotS models

    yep I would like to see the images of new models, can you fix your empty directory?

    Posted in: General Chat
  • 0

    posted a message on Command button border image

    @Dzuke911: Go

    You don't see the clicked version because you are not using a button frame with different statuses.
    Take my example, I used a border with 3 statuses. The first 2 are used for normal and clicked, the third I don't know :P
    Additionally it uses hover and normal images to show normal, normal hover, clicked, clicked hover.
    http://www.sc2mapster.com/forums/development/gui/52064-solved-creating-a-custom-button-using-sc2layout/

    Yes you can replace the dds file if they are on the same path and they will be used instead of standard ones.

    Posted in: UI Development
  • 0

    posted a message on Command button border image

    Mmmm one thing you can try is to hide the default button frame and replace it with new ones, it should work

    Posted in: UI Development
  • 0

    posted a message on Command button border image

    Oh sorry I was reading the later repliy with this code

        <Frame type="GameButton" name="GameButtonTemplate" file="GameButton">
    

    I'll see what I can find later then. I have to hide the empty button frames so I think it should be related ;)

    Posted in: UI Development
  • 0

    posted a message on Command button border image

    I noticed 2 things that could cause the problem.

    First: this description is inside the GameUI file I think you should declare it as

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
    	<Frame type="Frame" name="GameUI/GameButton" file="GameUI">
    	...
    	</Frame>
    </Desc>
    

    Second, while I was working on buttons I used NormalImage and the HoverImage to add button borders, try to edit these <texture> paths and see if borders are changed correctly

    Posted in: UI Development
  • 0

    posted a message on (SOLVED) Command card button tint

    If it's solved add it to the topic title ;)

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