Jump to content

Career Achievements Change Colour


Nicky33

Recommended Posts

For the titlebar and actionbar the colours should match by default so it depends on what you/the skinner has changed, first check that both the graphics in \graphics\boxes\custom\interface\titlebar and \graphics\boxes\custom\interface\tab bar are the same shade of red, if not adjust them so they match (first one is for the titlebar and second is for the action bar).

If they are already the same shade then it is more complicated as it depends on what the skinner has done to change the shade, the other thing they may have done is add an overlay to the actionbar, in the 'client object browser.xml' file located in the panels folder for the skin locate the line that looks like this:

<!-- coloured actions bar image -->

<widget class="bordered_box" id="ACTb" appearance="boxes/custom/interface/tab bar/paper" red_replacement="primary" green_replacement="primary"/>

And after it is likely to be a similar looking line, if you delete the extra line it should remove the overlay which is changing the shade.

For the buttons the easiest thing to do is to locate the following lines in the settings file for the skin (if the below lines aren't present in the file just paste these ones in):

<colour name="standard_button" red="59" green="62" blue="73"/>

<colour name="continue_button" red="41" green="45" blue="59"/>

And adjust the RGB values of one to match the other depending on which colour you want them to be.

Link to post
Share on other sites

Thank you everything looks better now ? This is really really bugging me ? any ideas ? one side green and one side white i would like all white because would look a whole lot better ?

<?xml version='1.0' encoding='utf-8'?>

<panel>

<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/>

<!-- We need to use a more compact version of the layout for each achievement item too -->

<string id="item_file" value="player history achievement small item panel" />

<container class="icon_box" icon="icons/custom/icon box/achivements">

<layout class="arrange_vertical_attachment" alignment="top, extend" offset="0" gap="0"/>

<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>

<container height="22">

<layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="0" />

<layout class="stick_to_sides_attachment" alignment="left" inset="0" layout_children="true" />

<layout class="stick_to_sides_attachment" alignment="vertical" inset="-2" layout_children="true" />

<string id="skin_style" value="title link" />

<!-- Linked header -->

<widget class="link_button" section="PHac" auto_size="all">

<translation id="text" translation_id="329749" type="use" value="Career Achievements" />

</widget>

<widget class="view_menu_popup" id="view" sele="view" save_session_state="true" size="9">

<layout class="stick_to_sides_attachment" alignment="top" inset="0" />

<list id="items">

<record id="-2">

<translation id="name" translation_id="248354" type="use" value="Landmarks" />

</record>

<record id="-1">

<translation id="name" translation_id="232843" type="use" value="Overall" />

</record>

<record id="1">

<translation id="name" translation_id="229368" type="use" value="Awards" />

</record>

<record id="0">

<translation id="name" translation_id="227741" type="use" value="Competitions" />

</record>

<record id="2">

<translation id="name" translation_id="227743" type="use" value="Transfers" />

</record>

<record id="4">

<translation id="name" translation_id="242350" type="use" value="Other" />

</record>

</list>

<flags id="slct" value="-1" />

</widget>

</container>

<!-- Spacer -->

<container height="3"/>

<!-- List of achievements -->

<container class="scrolling_box">

<container id="lndM">

<layout class="arrange_vertical_attachment" alignment="top" gap="2" do_not_size="true"/>

<layout class="fit_children_attachment" alignment="vertical,fill" gap="2" />

<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

<!-- Filled in code using 'player history achievement small item panel' -->

</container>

</container>

</container>

</panel>

Link to post
Share on other sites

Haha found a way to trick the game into recolouring the text.

First in the fonts folder for your skin you need to create a new xml file, the name doesn't matter but say call it history

Then in that file paste in the following code:

<record>

<string id="file_name" value="ProximaNova-Reg.otf"/>

<integer id="gradient_upper_margin" value="20"/>

<integer id="gradient_lower_margin" value="0"/>

<integer id="gradient_curve" value="0"/>

<integer id="gradient_upper_colour_red" value="255"/>

<integer id="gradient_upper_colour_green" value="255"/>

<integer id="gradient_upper_colour_blue" value="255"/>

<integer id="gradient_upper_colour_alpha" value="255"/>

<integer id="gradient_lower_colour_red" value="255"/>

<integer id="gradient_lower_colour_green" value="255"/>

<integer id="gradient_lower_colour_blue" value="255"/>

<integer id="gradient_lower_colour_alpha" value="255"/>

</record>

And save the file.

Next you need to edit the 'player history achievement item panel.xml' (player history screen) and 'player history achievement small item panel.xml' (history subpanel on the profle overview page) files both found in the panels folder (if you don't know how to extract the default files read this: [FM2015 Guide] How to Extract Default Files & Understanding File Structure)

Now in those files locate the code that looks like this (it will be slightly different in each file, but will follow the landmark comment):

<!-- Landmark type -->

<widget class="text" id="lndT" muliline="true" alignment="left, centre_y" auto_size="vertical" size="small"/>

And what you need to do is add a font="history" bit to each of those lines so it looks something like this:

<!-- Landmark type -->

<widget class="text" id="lndT" muliline="true" font="history" alignment="left, centre_y" auto_size="vertical" size="small"/>

(If you called the font file something different to history then insert that name instead) and that will now trick the game into recolouring the text to white as the gradient code overrides even hardcoded colours but we have set both parts of the gradient to the same colour so it all appears white - if you want a different colour then adjust the rgb values but just have both the upper and lower values matching unless you do want a gradient effect on your text.

Now save both files, load the game and if the skin cache is on turn it off and reload your skin and the text should have gone white.

Link to post
Share on other sites

Thanks Michael ? decided to leave it the way it is for the moment as am working really hard on my skin have a real treat what am doing and looks really awesome really need you're help now again ? :D but could i send a pm to you because not ready to release to the world yet ? because so much still needs to be done ?

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...