Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Basic Region Tutorial

Discussion in 'StarCraft II Tutorials' started by Wizardum, Apr 25, 2010.

  1. Wizardum

    Wizardum

    Joined:
    Sep 5, 2007
    Messages:
    360
    Resources:
    5
    Maps:
    2
    Spells:
    1
    Tutorials:
    2
    Resources:
    5
    Basic SC2 Region Tutorial

    The region system of the Galaxy Editor is quite easy to use yet very powerful.
    You can create any shape for a region with smart of use of rectangular and circular regions.

    Let’s get to the basics
    You probably start the editor with the terrain layer open, to open the region editor go to Layer -> Regions or you can just press “R” from the keyboard.

    You now can create regions by clicking the square button and press and drag on the terrain, when you feel it’s the right size of the region you just stop pressing the mouse button.
    To create regions you can also just click in the terrain and move the mouse and it will update the region’s size automatically. To finish creating the region click again.

    Image
    [​IMG]


    The same for circular regions.

    Image
    [​IMG]


    Now, to change to Selection Mode you just press the Space-bar and a double-click a region.
    A window will pop-up with two tabs.
    The General tab you can change the name of the region and the region’s color. The HDR Multiplier I don’t know what is it yet, but I believe it’s isn’t that useful in-game since the regions don’t appear.

    Image
    [​IMG]


    The Shapes tab is where you can change the region’s size, the region’s center position and also make custom shapes.
    The Negative checkbox is only used for custom shapes, so it will be explained later on.

    Image
    [​IMG]


    Custom Shapes
    Custom shapes are created by making additional regions inside an already created region.
    To do so you have to right-click anywhere on the regions list, if you right-click on a region you can duplicate it and if there is more than one region on the list, you can delete it.

    Image
    [​IMG]


    Now create a circular region, set the center point and the size where you want and check the Negative checkbox.

    Image
    [​IMG]


    Checking the negative box on the circular region deletes that area in the rectangle region.
    Press ok to see the results.
    You’ll see an orange rectangle with an empty circle inside it, basically the region is only the orange part.

    Image
    [​IMG]


    And you successfully created a custom shape.
    You can create any shape with this, just remember, the limit is your imagination.

    You can also change the shapes' position inside a region, by selecting the region, select the shape you want to move and then you can drag it to where you want it.
    After selecting the shape the first time you can drag and drop any shape inside the region.

    Hope this tutorial was useful to you.

    Best regards,
    Wizardum
     
    Last edited: Apr 25, 2010
  2. kevv2

    kevv2

    Joined:
    May 4, 2008
    Messages:
    1,102
    Resources:
    0
    Resources:
    0
    Very good tutorial :D ++
     
  3. The World Is Flat

    The World Is Flat

    Joined:
    Mar 9, 2009
    Messages:
    5,560
    Resources:
    3
    Icons:
    3
    Resources:
    3
    Your images don't work properly.
     
  4. kimpakim7

    kimpakim7

    Joined:
    May 9, 2008
    Messages:
    161
    Resources:
    0
    Resources:
    0
    Try updating the page, they worked for me :p
     
  5. killer1390

    killer1390

    Joined:
    Mar 19, 2008
    Messages:
    90
    Resources:
    0
    Resources:
    0
    Wowzers, that gives us a lot more potential. The new features that is.

    Thanks for the tutorial.
     
  6. Avator

    Avator

    Joined:
    Aug 23, 2008
    Messages:
    2,309
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Very useful indeed. Good job, especially on the negative box function!
     
  7. The World Is Flat

    The World Is Flat

    Joined:
    Mar 9, 2009
    Messages:
    5,560
    Resources:
    3
    Icons:
    3
    Resources:
    3
    More saracsm for Avator...

    But really man, pastebin imgs and use tags, the images phail.
     
  8. Avator

    Avator

    Joined:
    Aug 23, 2008
    Messages:
    2,309
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    LOL believe it or not, but I was serious there TWIF. I really think it's useful.

    I can't blame you for thinking I was sarcastic again though xD
     
  9. The World Is Flat

    The World Is Flat

    Joined:
    Mar 9, 2009
    Messages:
    5,560
    Resources:
    3
    Icons:
    3
    Resources:
    3
    Avator, you have shocked and amazed me once again...

    On-Topic:

    its a good tut, 'sept for the missing images.
     
  10. Avator

    Avator

    Joined:
    Aug 23, 2008
    Messages:
    2,309
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    I don't miss a single image. But I do agree, you should upload them as attachment. Mediafire is not to be trusted with direct image hosting.
     
  11. Wizardum

    Wizardum

    Joined:
    Sep 5, 2007
    Messages:
    360
    Resources:
    5
    Maps:
    2
    Spells:
    1
    Tutorials:
    2
    Resources:
    5
    ok I shall do that, but how do I use the attachments in the appropriate places?
     
  12. PurgeandFire

    PurgeandFire

    Code Moderator

    Joined:
    Nov 11, 2006
    Messages:
    7,429
    Resources:
    18
    Icons:
    1
    Spells:
    4
    Tutorials:
    9
    JASS:
    4
    Resources:
    18
    Either use the "Attach" button. (Looks like a paperclip) [​IMG]

    Or right click the attachment, select Copy Link Location, and place them in tags.

    The first method will show them as thumbnails which will be pressed for enlarging, and the second method will show them as normal images.
     
  13. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    8,379
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    So far this is the only useful thing I've seen in the galaxy editor (since I can just go by what I come across as my PC doesn't meet sys. requirements).
     
  14. M_Vegeta

    M_Vegeta

    Joined:
    Feb 20, 2008
    Messages:
    439
    Resources:
    1
    Spells:
    1
    Resources:
    1
    This is my friend Wizzy :D didnt knew u had a tutorial O_O now that im in sc2 ull be able to show me ur stuff :) Thanks for the tutorial :D


    is there already jass sc2 :O i want to learn it >:]
     
  15. Avator

    Avator

    Joined:
    Aug 23, 2008
    Messages:
    2,309
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    There's a custom scripting language in SC2, but it's not JASS. It's supposed to be close to C, but that's all I really know about it. I didn't see any specific tutorials about that yet though.
     
  16. Wizardum

    Wizardum

    Joined:
    Sep 5, 2007
    Messages:
    360
    Resources:
    5
    Maps:
    2
    Spells:
    1
    Tutorials:
    2
    Resources:
    5
    The language is called Galaxy and it's indeed similar to C.

    For documentation about the language itself, you can look it on this forum.
     
  17. EnderA

    EnderA

    Joined:
    Dec 1, 2007
    Messages:
    11
    Resources:
    0
    Resources:
    0
    I don't suppose there's a way to change the angle of a region, to create, say, a triangle... (I'm not in need of a triangular region, just speculating.)
     
  18. NFWar

    NFWar

    Joined:
    Jul 27, 2008
    Messages:
    1,314
    Resources:
    228
    Models:
    1
    Icons:
    216
    Packs:
    1
    Skins:
    2
    Spells:
    6
    Tutorials:
    2
    Resources:
    228
    Hell YESH! Circle and square/circle regoins!
     
  19. Zypher

    Zypher

    Joined:
    May 21, 2008
    Messages:
    215
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Very nice tutorial.
     
  20. megablue

    megablue

    Joined:
    Oct 27, 2007
    Messages:
    2
    Resources:
    0
    Resources:
    0
    What can regions do? What is it purpose?