Difference between revisions of "UI Editing"

From HIVE
Jump to navigation Jump to search
m (Fixed list.)
 
Line 5: Line 5:
  
 
Here is a list of all the current .SC2Layout files included with a default StarCraft II install:
 
Here is a list of all the current .SC2Layout files included with a default StarCraft II install:
[galaxy]
+
*AchievementPanel
AchievementPanel
+
*AIFrames
AIFrames
+
*AlertPanel
AlertPanel
+
*AlliancePanel
AlliancePanel
+
*BattleReportPanel
BattleReportPanel
+
*BehaviourBar
BehaviourBar
+
*CampaignTemplates
CampaignTemplates
+
*CashPanel
CashPanel
+
*CharacterSheetPanel
CharacterSheetPanel
+
*ChatBar
ChatBar
+
*CommandButton
CommandButton
+
*CommandPanel
CommandPanel
+
*ConsolePanel
ConsolePanel
+
*ControlGroupPanel
ControlGroupPanel
+
*ConversationPanel
ConversationPanel
+
*GameButton
GameButton
+
*GameMenuDialog
GameMenuDialog
+
*GameUI
GameUI
+
*HelpMenuDialog
HelpMenuDialog
+
*HelpPanel
HelpPanel
+
*HeroPanel
HeroPanel
+
*InfoPaneCargo
InfoPaneCargo
+
*InfoPaneGroup
InfoPaneGroup
+
*InfoPaneHero
InfoPaneHero
+
*InfoPanel
InfoPanel
+
*InfoPaneProgress
InfoPaneProgress
+
*InfoPaneQueue
InfoPaneQueue
+
*InfoPaneUnit
InfoPaneUnit
+
*InventoryPanel
InventoryPanel
+
*LeaderPanel
LeaderPanel
+
*MenuBar
MenuBar
+
*MercenaryPanel
MercenaryPanel
+
*MessageLogDialog
MessageLogDialog
+
*MiniMapPanel
MiniMapPanel
+
*ObjectivePanel
ObjectivePanel
+
*ObserverPanel
ObserverPanel
+
*PausePanel
PausePanel
+
*PlanetPanel
PlanetPanel
+
*PortraitPanel
PortraitPanel
+
*PurchasePanel
PurchasePanel
+
*ReplayPanel
ReplayPanel
+
*ResearchPanel
ResearchPanel
+
*ResourcePanel
ResourcePanel
+
*ResourceRequestAlertPanel
ResourceRequestAlertPanel
+
*RevealPanel
RevealPanel
+
*SubtitlePanel
SubtitlePanel
+
*SystemAlertPanel
SystemAlertPanel
+
*TeamResourcePanel
TeamResourcePanel
+
*TechGlossaryPanel
TechGlossaryPanel
+
*TechTreePanel
TechTreePanel
+
*TimePanel
TimePanel
+
*TipAlertPanel
TipAlertPanel
+
*TriggerDialogFrame
TriggerDialogFrame
+
*TriggerWindowPanel
TriggerWindowPanel
+
*UnitButton
UnitButton
+
*UnitWireframe
UnitWireframe
+
*VictoryPanel
VictoryPanel
+
*WaitingForPlayersDialog
WaitingForPlayersDialog
+
*WorldTooltip
WorldTooltip
 
[/galaxy]
 
  
 
=== TODO: Stuff about editing them ===
 
=== TODO: Stuff about editing them ===

Latest revision as of 22:04, 28 April 2011

UI or User Interface editing is done by editing .SC2Layout files. SC2Layout files are renamed XML files, and can be found in /.../StarCraft II/Mods/Core.SC2Mod/Base.SC2Data Base.SC2Data is an MPQ (File Format) file. You'll need to learn how to edit MPQ files to extract the .SC2Layout files. Inside the MPQ, they're found at UI/Layout/UI.

Extract all the files you find inside that folder into a folder on your computer. It's probably a good idea to make duplicates, and have one folder filled with the original .SC2Layout files, and one folder filled with the ones you're currently editing. The SC2Layout files can be opened with any text editor, such as Notepad, Notepad++, gedit (Linux), etc.

Here is a list of all the current .SC2Layout files included with a default StarCraft II install:

  • AchievementPanel
  • AIFrames
  • AlertPanel
  • AlliancePanel
  • BattleReportPanel
  • BehaviourBar
  • CampaignTemplates
  • CashPanel
  • CharacterSheetPanel
  • ChatBar
  • CommandButton
  • CommandPanel
  • ConsolePanel
  • ControlGroupPanel
  • ConversationPanel
  • GameButton
  • GameMenuDialog
  • GameUI
  • HelpMenuDialog
  • HelpPanel
  • HeroPanel
  • InfoPaneCargo
  • InfoPaneGroup
  • InfoPaneHero
  • InfoPanel
  • InfoPaneProgress
  • InfoPaneQueue
  • InfoPaneUnit
  • InventoryPanel
  • LeaderPanel
  • MenuBar
  • MercenaryPanel
  • MessageLogDialog
  • MiniMapPanel
  • ObjectivePanel
  • ObserverPanel
  • PausePanel
  • PlanetPanel
  • PortraitPanel
  • PurchasePanel
  • ReplayPanel
  • ResearchPanel
  • ResourcePanel
  • ResourceRequestAlertPanel
  • RevealPanel
  • SubtitlePanel
  • SystemAlertPanel
  • TeamResourcePanel
  • TechGlossaryPanel
  • TechTreePanel
  • TimePanel
  • TipAlertPanel
  • TriggerDialogFrame
  • TriggerWindowPanel
  • UnitButton
  • UnitWireframe
  • VictoryPanel
  • WaitingForPlayersDialog
  • WorldTooltip

TODO: Stuff about editing them

Finishing Up

To add your edited .SC2Layout files to your map, there are two things you can do. One is to open your map in an MPQ editor, and place the edited .SC2Layout files into a new folder located at [yourmaphere.sc2m]/UI/Layout/UI The other way is to add your .SC2Layout files by opening your map in the Editor, opening the Data Editor, and navigating to UI - Custom Layout Files at Data Editor - Game UI Data. Then add your files, and save the map.

Note: You can import your .SC2Layout files using GalaxyEdit's default Importer, but you have to save the map after everything you do. If you want to change your .SC2Layout files, you need to remove all of the imported ones, save, import the new ones, and then save again.

See Also

<youtube>8-MwK7Racv4</youtube> A tutorial by OneTwoSC about editing .SC2Layout files and importing them into your map