Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
SC2Interfaces are an entirely new feature that enables observers to watch the game using a completely custom User Interface. They exist within the Interfaces folder within the respective Documents folder for the logged in player (next to Saves and Replays)
! Note ! Currently this folder is not automatically created. Users will need to create this folder in order to place custom interface files there.
Example using Windows Vista:
An easy way to find which account ID folder is for you is to use the shortcuts in C:\Users\BobTheUser\Documents\StarCraft II\ to get into the appropriate account.
These archives function as a lightweight type of mod capable of adjusting the User Interface for the local player. They don’t modify or change the game in any way for other players.
Creating SC2Interface mods
Here’s a summary of how to access SC2Interface functionality through the Editor:
So if you wanted to make a custom interface from scratch, the steps would be:
2) Add custom layouts, text, and assets as desired, making sure not to change any gameplay data
3) Save the document and choose the SC2Interface extension from the type menu in the file dialog.
Breakdown of SC2Interface mod archives
SC2Interface mods can contain the following files:
A file that contains key/value pairs representing paths to asset files included in the SC2Interface archive. This can also be used to override existing entries in currently loaded mods.
Any types of custom assets, such as .dds files can be included in the archive and referenced in this file.
A file that contains key/value pairs for English readable text. This can also be used to override existing entries in currently loaded mods.
A localized text file where % represents any locale that needs localized text support. For example, deDE would be loaded by the German client. This support is included for players who want to make mods that can be distributed to players speaking different languages.
A variables file that can be used to forcibly overwrite any player variables for the duration of the map. These variables will be discarded once the map ends and their values will revert back to the player’s variables.
For example this can be used to turn off the “gametooltips” variable while the SC2Interface is loaded so that even a player with their Display Game Tooltips Option turned on will not see game tooltips.
Note that there are many variables which don’t support elegantly changing their value at map load time in this way, such as many graphics options. The primary use of this file should be changing various gameplay or User Interface options.
It’s also not recommended to change options in the Options Panel while observing a game using a SC2Interface.
A file that contains entries representing font style data. This can be used to override existing font styles or create new ones to use in the SC2Interface.
A file that contains the names of all the various SC2Layout files to load.
Many SC2Layout files can be added to the SC2Interface archive and used to either override existing UI or create entirely new UI.
Thanks for the information, particularly on where to put the files so we can use them.
I hope a tutorial on actually editing the UI is coming eventually. I was trying to add team logos next to the name panels for Observer UI + APM text, and didn't have a first clue on where to start. :P
Say I want to edit the replay UI using the in-game UI editor. How do I even make the replay\observer UI visible so I can edit them using the in-game UI editor?
For that matter, how do I save UI changes made with the UI editor in-game? I haven't had any success there, either.
Edited by TheSkunk on 1/15/2013 6:13 PM PST
This is quite a limiting thing, professional observers have a really hard time keeping up with battlefield action and/or not being able to focus on the right things. The current zoom and rotate options are not ideally suited for high level observing.
This sounds great for observers (especially professional observers in eSports), but I really hope this never creeps into allowing interface modding for the player.
Why not? IMO I think that changing the interface can be fun, there are obvious dangers and such but blizzard does a decent job at keeping everything fair and in place, being able to customize it to a degree but nothing else (i.e. camera angle/zoom, etc.)... for obvious reasons, but I see no problem in simply changing the style of your U.I.
It would be great to get a tutorial that shows how to do just something very basic with each file that can be included. E.g. override a single asset, override a single game string, include a single font, override a single layout.
I tried importing a copy of DescIndex.SC2Layout from the beta with the addition of listing another SC2Layout file I imported, but I can't seem to get it to use this when I have my interface selected in the options.
It looks like opening a document from Battle.net in the map editor includes the Interface file type. So if anyone can get this to work, it would be great if they published it so others can learn.
I'd really like to be able to observe with an FPS style engine (like unreal). I know some FPS games let you observe with the ability to fly around the map and watch from whatever angle you want...it's really fun.
Tribes:Acend is a good example. I'd love to watch replays or obs like this game.
If you want a good tutorial, here's a great example:
The only difference is that you don't have to import an external file or edit the data as is listed in that tutorial.
I was actually more interesting in learning how to use the new in-game UI editor (I couldn't get it to save changes) but it only seems to have been further disabled in this patch.
I did successfully move the mini-map to the top-right and used it in observing replays (yay me!) thanks to the very same tutorial you linked to, but it was far too frustrating trying to do what I wanted to do, I just gave up.
For everyone that didn't see what Blizzard demonstrated:
I made a little something in an interface within a day. Thanks for the video above for inspiration:
But I got a few questions:
- How do you get the name of a player into a label?
- Also, is it possible to color your own images with a player's color?
- Oh, also, how do I alter the constant in the leaderPanel? I wanted to alter the spacing between unit/poduction/upgrade icons.
Maybe these things aren't possible, but a few of them should be possible somehow like the space between the buttons.
I assume that you took all the frames from the leaderpanel and playerStatePanel for your UI demonstration. Is that correct?
Well, I will keep tinkering and see what I can achieve...
Any chance we can get even some basic documentation on observer interface mods?
Poking around, it looks like we're only able to move things around and add new frames. Is there any scripting support at all? Suppose I wanted to add labels in the upper left and right corners to show the players' APM. Is this sort of thing possible?
For everyone that didn't see what Blizzard demonstrated:http://www.youtube.com/watch?feature=player_detailpage&v=Zn3-O4jYO7g#t=285s
It would be great if you could share/upload your sc2interface mod. Looks great - thanks
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.