This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm trying to replace the Protoss race UI with the Night Elf UI. Here's what I have;
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <Desc> <Frame type="Model" name="GameUI/UIContainer/ConsolePanel/CommandPanelModel" file="GameUI"> <Frame type="Model" name="CommandPanelModel"> <Anchor relative="$parent"/> <Model val="@ui_ConsoleModelCommandPanel"> <Position val="1.000000,-1.000000,0.000000"/> <Scale val="1.000000,1.000000,1.000000"/> </Model> <Camera position="0.000000,-5.000000,0.000000" target="0.000000,0.000000,0.000000" fov="90.000000" minz="1.000000" maxz="1000.000000"/> <Projection val="Orthographic"/> </Frame> </Frame> <Frame type="Model" name="GameUI/UIContainer/ConsolePanel/MinimapModel" file="GameUI"> <Frame type="Model" name="MinimapModel"> <Anchor relative="$parent"/> <Model val="@ui_ConsoleModelMinimapPanel"> <Position val="-1.000000,-1.000000,0.000000"/> <Scale val="1.000000,1.000000,1.000000"/> </Model> <Camera position="0.000000,-5.000000,0.000000" target="0.000000,0.000000,0.000000" fov="90.000000" minz="1.000000" maxz="1000.000000"/> <Projection val="Orthographic"/> </Frame> </Frame> <Frame type="Model" name="GameUI/UIContainer/ConsolePanel/InfopanelModel" file="GameUI"> <Frame type="Model" name="InfopanelModel"> <Anchor relative="$parent"/> <Model val="@ui_ConsoleModelInfopanel"> <Position val="0.000000,-1.000000,0.000000"/> <Scale val="1.000000,1.000000,1.000000"/> </Model> <Camera position="0.000000,-5.000000,0.000000" target="0.000000,0.000000,0.000000" fov="90.000000" minz="1.000000" maxz="1000.000000"/> <Projection val="Orthographic"/> </Frame> </Frame> </Desc>
And here's the result;
Protoss UI is still there. What am I doing wrong?
You are creating model frames within the existing frames.
You have this which will open the "CommandPanelModel" frame.
<Frame type="Model" name="GameUI/UIContainer/ConsolePanel/CommandPanelModel" file="GameUI">
But then you are doing this:
<Frame type="Model" name="CommandPanelModel">
This creates a new frame named CommandPanelModel. That's not what you want to do, I guess. You want to edit the existing frame's properties instead.
Thus, you remove
and its closing tag.
TLDR: you used "CommandPanelModel", etc, twice and thus create new ones instead of editing the original ones.
@Ahli634: Go
This worked perfectly! Thank you!
I'm trying to replace the Protoss race UI with the Night Elf UI. Here's what I have;
And here's the result;
Protoss UI is still there. What am I doing wrong?
You are creating model frames within the existing frames.
You have this which will open the "CommandPanelModel" frame.
But then you are doing this:
This creates a new frame named CommandPanelModel. That's not what you want to do, I guess. You want to edit the existing frame's properties instead.
Thus, you remove
and its closing tag.
TLDR: you used "CommandPanelModel", etc, twice and thus create new ones instead of editing the original ones.
@Ahli634: Go
This worked perfectly! Thank you!