Small UI Change

Moderator: Makail

Post Reply
dhw
Posts: 3
Joined: Sun Oct 30, 2011 6:58 am

Small UI Change

Post by dhw » Mon Oct 31, 2011 4:58 am

I did not like having disabled menu options as black in the StarMap Context Menu, so I hunted down the correct file and settings can came up with something that I like far more.

http://cloud.steampowered.com/ugc/649869708054342934/FE9C51FBCF0FAD68770FDE926B2831BEBB5C0414/
http://cloud.steampowered.com/ugc/649869708054341945/45383D807F328DD6D72D71DF78E444615D4F0C57/

I like to still be able to read my disabled options.

anyways if you care to do this as well head over to Steam\steamapps\common\sword of the stars ii\assets\base\ui\skin1

open skin1.xml

search for template id="menubutton"

you will see

Code: Select all

<image3 id="disabled"   input="false" shape="parent" left_cap="rclickLC" right_cap="rclickRC" center_fill="rclickFill" color="var:color_disabled">
        <label id="label" font="StandardSmallTitleBold" text="var:label" input="false" shape="parent" justify="hcenter,vcenter" color="128,128,128,180"></label>
</image3>


change color="128,128,128,180" to color="64,64,64"


search again

you will come to <panel_template id="menubutton"> in it there will be

Code: Select all

      <panel id="disabled" shape="parent">
        <panel template="boxpanel_scale">
          <var id="box_bgcolor" value="25,25,25"></var>
          <var id="box_olcolor" value="255,255,255,120"></var>
        </panel>
        <label id="menulabel" text="var:menuLabel" left="parent:left" right="parent:right" vcenter="parent:vcenter" font="Standard_NO" justify="hcenter" color="0,0,0,180"></label>
      </panel>


change color="0,0,0,180" to color="64,64,64"

now save the file and be able to read the disabled menu items.

dhw
Posts: 3
Joined: Sun Oct 30, 2011 6:58 am

Re: Small UI Change

Post by dhw » Mon Oct 31, 2011 5:53 am

As requested by AngryJoeShow here is a simple change to center the research details.
http://cloud.steampowered.com/ugc/649869708054854242/058ADC60C5CB7009853B3B06B76F0FD5F351BE1C/
go to Steam\steamapps\common\sword of the stars ii\assets\base\ui\screens

open up Research.xml

search for id="selectedTechInfo"

you will find

Code: Select all

<panel id="selectedTechInfo" left="10" top="58" width="300" height="350" input="false" debug="false">


replace left="10" with hcenter="parent:hcenter"

save file and you are good to go

User avatar
rimbimbambo
Kerberos
Posts: 440
Joined: Sat Oct 08, 2011 8:42 pm

Re: Small UI Change

Post by rimbimbambo » Thu Nov 03, 2011 7:44 pm

That was fast. :p

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests