Found the solution! Turns out, the way I got it to work was purely with the Anchor tag, using the offset to determine the size! Also, I fudged up and used the name="MinimapPanelTemplate! Here's the corrected .SC2Layout:
So, in case this Thread is ever searched for, and sought out, I'll write a brief tutorial:
(Note: Remove 'Comments' from the code before using it. These are placed in the code by me for commenting on lines.)
Open Notepad, and Paste these crucial lines of code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Desc><Frametype="MinimapPanel"name="GameUI/UIContainer/ConsoleUIContainer/MinimapPanel"template="MinimapPanel/MinimapPanelTemplate"file="GameUI">
//this is where code goes//
</Frame></Desc>
Now, the part 'where the code goes' is where I put my settings for placement and size.
<Anchorside="Top"relative="$parent"pos="Max"offset="-340"/>
//side="Top" means set the Top side of the minimap to this position//
//relative="$parent" means, I think, what the location is relevant to (parent being the Minimap's containing frame)//
//pos="Max"; position at the max size value (in this case, pos='Max' means the bottom, Min would mean top)//
//offset="-340"; put the top 340 pixels upward from the 'pos' spot (being the bottom). If I used positive 340, it would move down offscreen//
<Anchorside="Right"relative="$parent"pos="Min"offset="370"/>
//side="Right"; set settings for the right size//
//relative="$parent"; relative to it's parent container//
//pos="Min"; min = Left side of parent, max = right side of parent//
//offset="370"; move right edge of minimap 370 pixels to right. Equivalent to the width, sort of.
<Anchorside="Bottom"relative="$parent"pos="Max"offset="0"/>
//max=put at bottom; offset=0, want bottom edge right on bottom of screen
<Anchorside="Left"relative="$parent"pos="Min"offset="0"/>
//min=put at left most edge; offset=0;
As I am typing this, two explosions just went off just miles away from where I am, in Boston at the Boston Marathon.
I'd like to re-size the minimap, place it down at the bottom-left most corner with no offset, and re-size it to a specific pixel x pixel size. I'd like to get it to rest in the bottom left most corner with 0 distance from the bottom and left edges. The code I've tried using (SC2Layout), that has been imported and added to the Custom Layout Files list is as follows:
Is there any way to manually inside a trigger change the cursor icon? I'd like to, at a point change a player's mouse cursor to a custom image, and then afterward change it back to the default one (for a trigger based ability).
Hi, I'm trying to develop a mover (based around the Launch Missile effect) which launches the target unit in a special fashion (illustrated below).
Point 1 -> Hellion jumps straight up in the air, pointing upwards (also firing its weapon at the ground behind it)
Point 2 Hellion pauses for a brief period (or perhaps not pauses, but simply slows down at the apex)
Point -> 3, Hellion Flies down and creates an impact doing AoE damage (again, firing its weapon behind it)
I'm not sure what types of mover settings I should be looking at. As far as the AoE explosion at the end, I'm not particularly worried about programming that myself. I'm just confused as to creating movers, specifying motions and speeds, heights, etc..
I have perused around the forum reading all the tutorials I could find, but none of them were specific about the Mover parameters for me to comprehend their uses.
0
Found the solution! Turns out, the way I got it to work was purely with the Anchor tag, using the offset to determine the size! Also, I fudged up and used the name="MinimapPanelTemplate! Here's the corrected .SC2Layout:
So, in case this Thread is ever searched for, and sought out, I'll write a brief tutorial: (Note: Remove 'Comments' from the code before using it. These are placed in the code by me for commenting on lines.) Open Notepad, and Paste these crucial lines of code:
Now, the part 'where the code goes' is where I put my settings for placement and size.
As I am typing this, two explosions just went off just miles away from where I am, in Boston at the Boston Marathon.
0
I'd like to re-size the minimap, place it down at the bottom-left most corner with no offset, and re-size it to a specific pixel x pixel size. I'd like to get it to rest in the bottom left most corner with 0 distance from the bottom and left edges. The code I've tried using (SC2Layout), that has been imported and added to the Custom Layout Files list is as follows:
It seems to have no effect, however.. is there something I'm missing, or doing incorrectly? Thanks.
0
Is there any way to manually inside a trigger change the cursor icon? I'd like to, at a point change a player's mouse cursor to a custom image, and then afterward change it back to the default one (for a trigger based ability).
0
Hi, I'm trying to develop a mover (based around the Launch Missile effect) which launches the target unit in a special fashion (illustrated below).
Point 1 -> Hellion jumps straight up in the air, pointing upwards (also firing its weapon at the ground behind it) Point 2 Hellion pauses for a brief period (or perhaps not pauses, but simply slows down at the apex) Point -> 3, Hellion Flies down and creates an impact doing AoE damage (again, firing its weapon behind it)
I'm not sure what types of mover settings I should be looking at. As far as the AoE explosion at the end, I'm not particularly worried about programming that myself. I'm just confused as to creating movers, specifying motions and speeds, heights, etc..
I have perused around the forum reading all the tutorials I could find, but none of them were specific about the Mover parameters for me to comprehend their uses.
Can anyone with experience give me a hand?