! 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:
- Mod documents now have a “type” associated with them, which can be either Interface or Gameplay (i.e. a normal mod). This type is determined automatically by the editor as data is changed, analogous to the melee/custom type for maps.
- The mod type and reasons for it being that type can be seen in the new Mod > Mod Status window (again, similar to Map > Map Status).
- When saving a mod file, if the mod is classified as Interface, then you can optionally choose the SC2Interface extension in the file dialog. You can always use the SC2Mod extension regardless of classification (We don’t want to require SC2Mod files to have actual gameplay data, they could just have assets for example).
- SC2Interface files can be loaded and saved exactly like SC2Mod files.
- If you load an existing SC2Interface file, then add data which causes it to be classified as Gameplay, the next time you save you’ll see a confirmation dialog indicating that the file extension must be changed to SC2Mod, and then a “Save As” dialog (which will only allow SC2Mod).
So if you wanted to make a custom interface from scratch, the steps would be:
- 1) Use File > New and choose the Mod document type.
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.