• 0

    posted a message on SC2Layout Snippits

    Table of Contents

    Partial UI Snippits
    Complete UI Snippits

    SC2Layout Snippits

    Seeing as that many layout changes are useful as a learning point for other people.
    For example having a layout file listed here that has in it how you can display the info from the unit Info Panel at another location onscreen might be useful for other people.

    I figured why not create a sort of database of example layout files which change specific parts of the UI or perhaps even the entire UI. If you want to share your SC2 UI with other people this is the place to do it.

    please use the following format when posting snippits:

    ==Snippit Title
    Snippit Type (Complete/Partial)
    
    Description
    
    {{Img URL|Screenshot example of the change that the snippit will cause.}}
    

    and finally as an attachment the SC2Layout file (and perhaps the screenshot example).

    As I said earlier there are 2 types of snippits, complete UI change snippits or partial UI change snippits, therefor I will keep these in seperate Tables of Contents so that it is easier to find the snippit you want.

    Posted in: UI Development
  • 0

    posted a message on UI Errors, Bugs and Fixes

    SC2Layout Bugs and Fixes

    Here I'm going to list all the bugs and the fixes for it in the UI.
    The same list can be found here: Tutorial: SC2Layout Files override Method - UI Bugs and Fixes

    Please post any unlisted bugs here as a reply or in the forum with the [bug] tag prefixed.

    The following SC2Layout, Assets.txt files or Information is needed to fix certain UI bugs:
    (the file which is linked to the described problem fixes this.)

    The following bugs should be fixed in SC2 v1.5:

    Posted in: UI Development
  • 0

    posted a message on UI Errors, Bugs and Fixes

    SC2Layout Error Messages

    Are the custom layout files throwing errors at you, then look for the error in the list below. It might be already documented with how to fix it.

    Could not find the error?

    please reply to this thread with the error then I can add it to the list.

    Got a solution for an error.

    check if the solution is not already listed if not, then please reply to this thread with the error number (or error if not listed yet) and the solution.

    Error List

    1. [[StarCraftMaps]\UI Layout Files\[StarCraftMaps]\UI Layout Files\Move Info Panel.SC2Layout: in 1 :col 1 ] Frame tag encountered with no root Desc tag.
    2. .... are marked as Blizzard Only and cannot be created by users.
      (UI) is marked as Blizzard-only and can only be created by Blizzard.
    3. {{{[[StarCraftMaps]\UI Layout Files\[StarCraftMaps]\UI Layout Files\Move Info Panel.SC2Layout: in 8 :col 1 ] Unknown start tag encountered: Anchor Anchor can be any frame property.

    Fixes

    1. You re missing the default template make up. Surround the contents of your SC2Layout file with "<Desc></Desc>" and add at the top "<?xml version="1.0" encoding="utf-8" standalone="yes"?>"
    2. The are multiple causes for this one and also multiple fixes:
      1. If you are trying to move an existing frame, check if you have the location and type of the frame correctly.
      2. If you are trying to create a new frame, then you can not use that frame type.
    3. You have a frame property defined outside of a frame you will get this error. for example when you have
    <Desc>
      <Frame ....>
        ...
      </Frame>
      <Anchor ...>
    </Desc>
    

    instead of

    <Desc>
      <Frame ....>
        ...
        <Anchor ...>
      </Frame>
    </Desc>
    
    Posted in: UI Development
  • 0

    posted a message on Life/Energy/Shield Lables Move

    @xxxNEARBYxxx: Go

    try splitting up the second frame definition. also keep in mind that the relative anchors are still relative to the LifeLabel, so you're positioning it relative to the UnitPanel, and not InfoPanel if you thought that. you can combine multiple $parent statements, if you need to position stuff according to the parent of the parent. ($parent/$parent)

    Posted in: UI Development
  • 0

    posted a message on Edit the F12 Help Window

    Did you find all the triggers that you needed to use?

    Posted in: UI Development
  • 0

    posted a message on Player Numbers

    @ShadowDestroyer: Go

    get first player from lobby team 1 (something like that should be available in triggers.)
    I'd expect it to be something like this:
    - Get player from player group - player 1 - player group - lobby team 1

    I do not have the sc2editor at hand atm, but hope I remembered it somewhat correctly.

    Posted in: General Chat
  • 0

    posted a message on Moving replay progress bar

    @DuckyTheDuck: Go

    nope it is not in the middle, it means that the top of the frame is 70px upwards from the bottom of it's parent, and the bottom of the frame is 5px upwards from the bottom of it's parent.

    Anchor tag explained in the sc2mapster wiki - layout section.

    Posted in: UI Development
  • 0

    posted a message on [UI] SC2Layout Files: Override method (Aiurchef method)

    @TwoDie: Go

    see this part of the tutorial

    @Zealkg: Go

    not afaik., there is only 1 command card visible at a time and that is the currently active one. This is to prevent identical hot keys between the diff. command cards from causing a problem.

    Posted in: Tutorials
  • 0

    posted a message on UI - Hiding Chat?

    @jcraigk: Go

    it's the anchors that move it offscreen, the visible doesn't work because the game changes that value itself when it displays it.

    Posted in: UI Development
  • 0

    posted a message on [Solved] Camera Problems.

    @AdrianXtra: Go

    do you perhaps have a run trigger action somewhere which runs that trigger?

    Also try adding the following action to the end of the trigger to limit the amount of runs to 1:
    Disable Trigger (this trigger)

    Posted in: Triggers
  • 0

    posted a message on Catalog Triggers with abilities

    There are several different error messages for the catalog system, I currently can't remember the others but:

    • ErrorCatalogFieldNotWritten = Field is Read Only, thus writing to it will result in this error message.
    Posted in: Triggers
  • 0

    posted a message on SC2Layout Tutorial ideas or requests
    Quote from NarcoticNite: Go

    @Enexy: Go

    Ok I pasted the exact codes you wrote into the SC2Layout file and put it into my map. Nothing happened.

    you need to tell the map that the SC2Layout file needs to be used as a custom layout file....
    Data Editor ==> Game UI Data ==> Default ... ==> Custom Layout Files

    add it to the list there.

    Posted in: UI Development
  • 0

    posted a message on A very strange bug please help me..

    since it still happens while triggers are disabled it is a data problem.
    The following causes are possible:

    1. The building has the wrong footprint/collision settings
    2. The workers have the wrong footprint/collision settings
    3. The main building is not marked as a dropoff point
    4. The pathing on the map is wrong
    5. The pathing blockers on the map are wrong
    6. and probably more causes possible for this problem.

    well I summed up a few of the possible causes, but not all since I would probably be going on for almost forever.

    Posted in: General Chat
  • 0

    posted a message on A very strange bug please help me..
    Quote from strhsxx: Go

    HELP ME!!!!!

    any testmap with the bug so we can check what the exact problem is?

    Posted in: General Chat
  • 0

    posted a message on Can someone help with shifting the chatbox down a bit?

    @Charysmatic: Go

    then try to move the chatbar instead of the chatEditbox.

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