You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2018-02-07-basic-introduction-to-layouts.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ A basic frame declaration looks like this:
191
191
<Frametype="Image"name="FullScreenImage">
192
192
```
193
193
194
-
You declare the type of frame with `type=` and then give it a name with `name=`. You can view a list of most Frame types here: https://sc2mapster.gamepedia.com/UI/Frame_Types
194
+
You declare the type of frame with `type=` and then give it a name with `name=`. You can view a list of most Frame types here: https://sc2mapster.wiki.gg/UI/Frame_Types
195
195
196
196
If you’ve made Dialogs with Triggers before, some of them like “Labels” or “Buttons” you should already be familiar with.
197
197
@@ -386,7 +386,7 @@ In the SC2 editor, if you go to Window > Console, and then type “Browse” int
386
386
387
387
### Texture Types
388
388
389
-
Different textures have to be set to different Texture Types. Ours is NineSlice, but you can see the [Wiki for other TextureTypes](https://sc2mapster.gamepedia.com/UI/Frame_Properties/TextureType).
389
+
Different textures have to be set to different Texture Types. Ours is NineSlice, but you can see the [Wiki for other TextureTypes](https://sc2mapster.wiki.gg/UI/Frame_Properties/TextureType).
390
390
391
391
```xml
392
392
<Anchorrelative="$parent"/>
@@ -710,7 +710,7 @@ Zerg Button Anchors:
710
710
711
711
This is cool, because now if you want to move all of the buttons, you can change the Protoss button’s offset from the top of the dialog, and the other two buttons will move with it -- rather than having to change 3 values, you only have to change one.
712
712
713
-
You can learn more about referencing at: https://sc2mapster.gamepedia.com/UI/Referencing
713
+
You can learn more about referencing at: https://sc2mapster.wiki.gg/UI/Referencing
714
714
715
715
### Constants
716
716
You can define constants to use in your layouts:
@@ -750,7 +750,7 @@ Now if we want to change the space between the Protoss, Terran, and Zerg buttons
750
750
Asset referencing lets you set up layouts to automatically use different textures (and other assets) depending on the race of the player.
You just need to go to your Mod folder in File Explorer,
756
756
@@ -780,8 +780,8 @@ Boom! Now your frame will look differently depending on the race of the player.
780
780
### Stategroups and Animations
781
781
782
782
You can do a lot with both Animations and State Groups and they are pretty complicated so I wont be explaining them in-depth. I advise reading about them on the Wiki:
783
-
* sc2mapster.gamepedia.com/UI/Animations
784
-
* sc2mapster.gamepedia.com/UI/State_Groups
783
+
* sc2mapster.wiki.gg/UI/Animations
784
+
* sc2mapster.wiki.gg/UI/State_Groups
785
785
786
786
And looking up existing layouts in the game that use them.
787
787
@@ -850,8 +850,8 @@ And try to learn how Stategroups can be used and how they can interact with anim
850
850
851
851
How do you learn more from here? I advise looking up Frame Types and Frame Properties on the Wiki.
Anything that’s yellow has more information about if you click on it -- you can start by skimming those, looking for anything you think you’ll want to use.
0 commit comments