SC2Mapster Forums

General > Wiki Discussion

SC2Layout

  • 20 posts
    #1 Jan 17, 2011 at 11:29 UTC - 0 likes

    Am I the only one who has taken a look at the SC2Layout files since the patch?
    (This I can't believe)

    Currently adding stuff using wikiCreole here:
    http://wiki.sc2mapster.com/galaxy/import/layout/

    Also updating the manual as I figure out more stuff here:
    http://forums.sc2mapster.com/resources/tutorials/17193-sc2layout-files-how-to-adjust-them/

    If someone else figures out some stuff, please update the wiki page, and if you have a tutorial like actionlist reply to that thread or pm it to me and I'll add it to the first post(s)

    Helral's Lair
    Meow meoow meeow. I'm ze evil SC2MapsterKitten.

    UI Tutorials listing

    current projects:

    #2 Jan 17, 2011 at 11:58 UTC - 0 likes

    No your not :) . I´ve read your tutorial. Found it very useful.

    Some things I´ve found out:

    If you add an Frame of the type=image you can choose the texture it should have with the <Texture val="YourTexture"/>. Furthermore if you want it to become a border, much like the dialog items (image) created with triggers, you can use <TextureType val="Border" layer="0"/>. Here an example:

     <Frame type="Image" name="CommandPanelFrame">
           <Visible val="true"/>
           <Anchor side="Top" relative="$parent/CommandPanel" pos="Min" offset="5"/>
           <Anchor side="Bottom" relative="$parent/CommandPanel" pos="Max" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandPanel" pos="Min" offset="-35"/>
           <Width val="1585"/>
           <Height val="160"/>
           <Texture val="@@UI/TimerWindowBackground" layer="0"/>
           <TextureType val="Border" layer="0"/>
           <Tiled val="true" layer="0"/>
           <LayerColor val="##StandardBorder" layer="0"/>
           <RenderPriority val="500"/>
     </Frame>
    

    UI Example

    I have not found a reference yet for all available textures which makes the whole process a little tiresome.

    Last edited Jan 17, 2011 by petrov1
    • UI_Layout_Example.PNG
    #3 Jan 17, 2011 at 16:41 UTC - 0 likes

    @Helral: Go

    Nice work glad you saw my response on your Tutorial you were making....

    But the wiki page your editing seems to have less information on it......

    You should leave up any Urls to forums topics up so people can browse to discussions on the subject.

    such as the original link I had put up linking to your tutorial

    anyways thanx for the work ... Ive been reading up on it. havent had a chance to mess around with the layout files though

    Skype
    KageNinpo = SN

    My Libraries
    DialogLeaderboard & TeamSort

    My Projects
    SPACEWAR Tribute
    Infinite TD

    #4 Jan 17, 2011 at 16:50 UTC - 0 likes

    @SouLCarveRR: Go

    the tutorial link is still there. just need to make it more obvious I guess.

    #5 Jan 17, 2011 at 19:35 UTC - 0 likes

    Could you possibly include on the wiki... all the names of the actuall xml files that you can import?

    I see where you cover the paths they need to be located in but not the actual files. Can you possibly upload the Raw XML files to the site with thier current versions referenced.

    I would be nice to have a link to the xml files so i can click it and look at them

    Last edited Jan 17, 2011 by SouLCarveRR
    #6 Jan 18, 2011 at 00:10 UTC - 0 likes

    I created a list of all the SC2Layout files on the older wiki, i'll move it over to the updated side.

    The Chat Gem Lives!
    http://www.sixen.tv

    #7 Jan 18, 2011 at 08:43 UTC - 0 likes

    @SouLCarveRR: Go

    if someone could take their time to place http://static.sc2mapster.com/content/attachments/11/940/UI.rar unzipped at the wiki, then you have what you want. UI.rar contains all up to date SC2Layout files that are listed inside UI/Layout/UI

    #8 Jan 18, 2011 at 15:27 UTC - 0 likes

    @Helral: Go

    Thought about that but sixen said he was gonna update it with something he worked up..

    #9 Jan 18, 2011 at 20:30 UTC - 0 likes

    This was from a while ago (not Beta, it was Retail, but a while ago).

    .SC2Style

    • FontStyles.SC2Style

    .SC2Layout

    • AchievementPanel.SC2Layout
    • AIFrames.SC2Layout
    • AlertPanel.SC2Layout
    • AlliancePanel.SC2Layout
    • BattleReportPanel.SC2Layout
    • BattleUI.SC2Layout
    • BehaviorBar.SC2Layout
    • CampaignTemplates.SC2Layout
    • CashPanel.SC2Layout
    • ChallengePanel.SC2Layout
    • CharacterSheetPanel.SC2Layout
    • ChatBar.SC2Layout
    • CommandButton.SC2Layout
    • CommandPanel.SC2Layout
    • ConsolePanel.SC2Layout
    • ControlGroupPanel.SC2Layout
    • ConversationPanel.SC2Layout
    • DebugPanel.SC2Layout
    • DescIndex.SC2Layout
    • ExitDialog.SC2Layout
    • FlashTooltip.SC2Layout
    • GameButton.SC2Layout
    • GameMenuDialog.SC2Layout
    • GameplayOptionsPanel.SC2Layout
    • GameUI.SC2Layout
    • GlueUI.SC2Layout
    • GraphicsOptionsPanel.SC2Layout
    • HelpPanel.SC2Layout
    • HeroPanel.SC2Layout
    • InfoPaneCargo.SC2Layout
    • InfoPaneGroup.SC2Layout
    • InfoPaneHero.SC2Layout
    • InfoPanel.SC2Layout
    • InfoPaneProgress.SC2Layout
    • InfoPaneQueue.SC2Layout
    • InfoPaneUnit.SC2Layout
    • InventoryPanel.SC2Layout
    • LagIndicatorPanel.SC2Layout
    • LeaderPanel.SC2Layout
    • LobbySlot.SC2Layout
    • LobbySlotSetup.SC2Layout
    • MapInfoPanel.SC2Layout
    • MenuBar.SC2Layout
    • MercenaryPanel.SC2Layout
    • MessageLogPanel.SC2Layout
    • MinimapPanel.SC2Layout
    • ObjectivePanel.SC2Layout
    • ObserverPanel.SC2Layout
    • OptionsDialog.SC2Layout
    • PausePanel.SC2Layout
    • PerfOverlay.SC2Layout
    • PlanetPanel.SC2Layout
    • PortraitPanel.SC2Layout
    • ProfilerOptions.SC2Layout
    • PurchasePanel.SC2Layout
    • ReplayPanel.SC2Layout
    • ResearchPanel.SC2Layout
    • ResourcePanel.SC2Layout
    • ResourceRequestAlertPanel.SC2Layout
    • RoomPanel.SC2Layout
    • ScoreOver0.SC2Layout
    • ScoreOver1.SC2Layout
    • ScoreOverA.SC2Layout
    • ScreenBackground.SC2Layout
    • ScreenCampaign.SC2Layout
    • ScreenChallenge.SC2Layout
    • ScreenLoading.SC2Layout
    • ScreenLobby.SC2Layout
    • ScreenMainMenu.SC2Layout
    • ScreenMovie.SC2Layout
    • ScreenMulti.SC2Layout
    • ScreenReplay.SC2Layout
    • ScreenSave.SC2Layout
    • ScreenSingle.SC2Layout
    • ScreenTradeShow.SC2Layout
    • ScreenVersion.SC2Layout
    • SocialOptionsPanel.SC2Layout
    • SoundOptionsPanel.SC2Layout
    • StandardConstants.SC2Layout
    • StandardDialog.SC2Layout
    • StandardFilePanel.SC2Layout
    • StandardInputMethod.SC2Layout
    • StandardTemplates.SC2Layout
    • StandardTooltip.SC2Layout
    • SubtitlePanel.SC2Layout
    • TalkerPanel.SC2Layout
    • TeamResourcePanel.SC2Layout
    • ThanksForPlayingDialog.SC2Layout
    • TechGlossaryPanel.SC2Layout
    • TechTreePanel.SC2Layout
    • TimePanel.SC2Layout
    • TipAlertPanel.SC2Layout
    • TradeShowSearchingDialog.SC2Layout
    • TriggerDialogFrame.SC2Layout
    • TriggerWindowPanel.SC2Layout
    • UnitButton.SC2Layout
    • UnitWireframe.SC2Layout
    • VictoryPanel.SC2Layout
    • VideoOptionsPanel.SC2Layout
    • VoiceOptionsPanel.SC2Layout
    • WaitingForPlayersDialog.SC2Layout
    • WaitingForUsersDialog.SC2Layout
    • WorldTooltip.SC2Layout

    .otf/.ttf (Font)

    • bl.ttf| bl.ttf
    • Eurostile-Bol.otf| Eurostile-Bol.otf
    • Eurostile-Reg.otf| Eurostile-Reg.otf
    • EurostileExt-Med.otf| EurostileExt-Med.otf
    • EurostileExt-Reg.otf| EurostileExt-Reg.otf
    #10 Jan 18, 2011 at 21:31 UTC - 0 likes

    @Sixen: Go

    are the *.SC2Layout files all xml documents that can be modified now?

    #11 Jan 18, 2011 at 22:35 UTC - 0 likes
    Quote from SouLCarveRR: Go

    @Sixen: Go

    are the *.SC2Layout files all xml documents that can be modified now?

    Yup. The .SC2Style is also XML and is where it sets the fonts. The .otf's are font files that can be replaced.

    #12 Jan 19, 2011 at 22:20 UTC - 0 likes

    Re the original post, yes, people are using this post 1.2 and your tutorial is appreciated :) At first I started trying to remove frames that I didn't want, and was baffled by the crashes. Your tutorial and demo files helped get me unstuck, and I'm sure others too.

    As for useful wiki information, I think something that probably confuses most people is simply which element corresponds to what. A graphical breakdown of which elements in the UI files correspond to which element of which dialog would probably help people identify the elements they're looking to move/remove. Would be a bit of a hassle to fully document that, but in addition to what you already have, it seems the next most useful thing you could document.

    #13 Jan 19, 2011 at 22:37 UTC - 0 likes

    @sdragoon7: Go

    People are free to add documenation to the list of the files I have put up on the wiki.

    #14 Mar 13, 2011 at 21:11 UTC - 0 likes

    Hay guys, another question :D

    After completely changing the UI I want to have a new Console Panel but not on the bottom, I want to have it on the right side. But tbH I don't have a single Idea how it works. It's a new graphic and I tried to do it like it's written here http://forums.sc2mapster.com/resources/tutorials/17193-sc2layout-files-how-to-adjust-them/#posts

    But my problem is, I want to have it just as a mask behind the minimap etc without beeing attached to a specific template. The second problem is, where the heck do I get the GameUIData.xml? And I'm also not quiet sure about the trigge, guess it's something like create a dialog with x/y blabla then hiding it's background and then show something ^^

    So it would be just awesome if someone can explain me how I get this working step by step so that a noob like me understand it :D Thanks so far

    #15 Mar 15, 2011 at 10:46 UTC - 0 likes

    @RoAdRuNnNeR: Go

    why not attach it to the minimap? or just reposition the old bottom one to the side and replace it's image?

    #16 Mar 15, 2011 at 22:38 UTC - 0 likes

    @Helral: Go

    Thanks so far, guess I will do it like you said ... But whats the path of the picture then? I imported it but thats all, so it's in no specific folder :o Shall I import it in the same folder where the sc2layout files are lying and whats with this GameUIData.xml? Where is it and what do I have to do with it?

    Thanks :)

    €dit: OK, I've downloaded a mpqeditor and found the GameUIData.xml, added '<CustomLayoutFileArray value="ui_02.dds"/> after the Dflt entry and nothing changed as far as I can see it :o Correct so far? What's next :D

    Last edited Mar 16, 2011 by RoAdRuNnNeR
    #17 Mar 21, 2011 at 15:24 UTC - 0 likes

    @RoAdRuNnNeR: Go

    Been a bit busy, just now got a little bit of spare time to reply.

    so off to point 1: nope that is wrong :)

    you will need something like this:

    <Frame type=image>
      <Anchor pos='left' relative='Minimap' offset='35'/>
      <Anchor pos='right' relative='Minimap' offset='-35'/>
      <Anchor pos='top' relative='Minimap' offset='35'/>
      <Anchor pos='bottom' relative='Minimap' offset='-35'/>
      <Texture val='ui_02.dds'/>
    </Frame>
    

    ps. I just wrote this out from memory. it can contain values that are incorrect.
    it should generate an image which positions itself accordingly to the minimap.
    This is placed inside a SC2Layout file which you then import into your map

    After you've imported it and saved the map you go to the data editor to the Game UI Data type. then at the Dflt entry, at the fields scroll down until you see Custom Layout File. there add the just imported SC2Layout file to the list. and remove your ui_02.dds

    I'll see if I have some time to generate the correct code but I probably won't have it. :(

    #18 Mar 24, 2011 at 22:28 UTC - 0 likes

    Oh, now I just realized someone answered :D Thanks m8, but got it working, I just replaced the gas icon (I don't need it) and changed its position as well as its size. I tried doing a simple plane in 3ds max with my texture on it and replacing the original ui what didn't work, so I went this way... So as you can see in this video http://www.youtube.com/watch?v=OBE2VQ-GgfY it worked fine but now after the patch everything is destroyed, thx blizz -.-

    However, thanks for your time :)

    #19 Mar 29, 2011 at 09:59 UTC - 0 likes

    For everyone who wonders how to create a "I´m always open" inventory, see here:

    http://forums.sc2mapster.com/general/wiki-discussion/20160-custom-inventory-tutorial-6-slots-always-open/

    #20 Nov 09, 2013 at 11:44 UTC - 0 likes

    nice post thanks for it

  • 20 posts

You must login to post a comment. Don't have an account? Register to get one!