Jump to content

[FM17] Graphics Location ? (Comparison Bars, Competition Headers, Search Dropdown, Intro Screen)


★ OPZ ★

Recommended Posts

For the first screenshot the Team -> Report -> Comparison screen is controlled by the 'panels\team\team report attribute analysis panel.xml' file at the top of that file are the following lines:

  <flags id="bcol" value="yellow2" />
  <flags id="wcol" value="blue5" />
  <flags id="acol" value="grey" />
  <flags id="ncol" value="positive" />

  <flags id="bbco" value="transparent" />
  <flags id="wbco" value="alpha_box_background" />

Which control the colours on that screen. "bcol" is for when you have the best value, "wcol" worst value, "acol" is the average and "ncol" is for your team. The last ones will be the background colour that appears across the chart with bbco for the best and wbco for the worst.

For your second screenshot which is the Sidebar -> Competitions screen, the competition names use the competition colours which are set in the database. To change the colour you need to edit 'panels\team\team competitions overview competition panel.xml' file however if you disable the recolouring it will take the same colour for all competitions.

To Remove the background colour locate this section of code and delete it:

        <!-- Set background colour to the team's background colour (change the set_property to 'rclr' and the container class to 'plain_box' if you want to recolour an appearance instead)-->
        <!-- we also need the foreground colour or we will get a NULL bg colour -->
        <record id="object_property">
          <list id="get_properties">
            <!--we don't use this, we just get it so that the title colour can be calculated correctly for contrast-->
            <record get_property="ttcl" dont_set_property="true" />
            <record get_property="tbcl" set_property="bkcl" />
          </list>
        </record>

Then if you want a background colour as removing the above code will set it to transparent, above where that was locate this bit of code:

      <!-- Comp header -->
      <container id="hed1" height="70">

And change it to read something like:

      <!-- Comp header -->
      <container class="bordered_box" id="hed1" height="70" appearance="boxes/bordered/no margin/solid/paper" red_replacement="red">

Replacing the bolded bits with the class of box, type of graphic and colour you want it to show - above example will give you a solid red block.

Then to change the text colour locate this bit of code:

        <!-- Comp name -->
        <widget class="comp_button" id="name" icon_enabled="false" alignment="left, centre_y" size="xlarge" multiline="true">
          <record id="object_property">
            <list id="get_properties">
              <record id="object_property" get_property="objt" set_property="valu" />
              <!--we don't use this, we just get it so that the title colour can be calculated correctly for contrast-->
              <record get_property="tbcl" dont_set_property="true" />
              <record get_property="ttcl" set_property="colr" />

            </list>
          </record>
        </widget>

And change it to read:

        <!-- Comp name -->
        <widget class="comp_button" id="name" icon_enabled="false" colour="white" alignment="left, centre_y" size="xlarge" multiline="true">
          <record id="object_property">
            <list id="get_properties">
              <record id="object_property" get_property="objt" set_property="valu" />
              <!--we don't use this, we just get it so that the title colour can be calculated correctly for contrast-->
                      </list>
          </record>
        </widget>

- Remove the red text on the first bit of code, and then add the colour bit to the widget again changing the value to the colour you actually want.

Link to post
Share on other sites

For the Second and Third Screenshots you can change the background colour but you cannot change the text colour as it is hardcoded to use the secondary colour.

If you want to alter the background it is controlled by this file 'panels\generic\popup information panel.xml' in that file locate this line:

<container class="bordered_box" id="pict" appearance="boxes/popup/rounded/top/paper" height="46">

And change it to look something like:

<container class="bordered_box" id="" appearance="boxes/popup/rounded/top/paper" red_replacement="white" height="46">

Basically delete the id as that is recolouring it and then add the replacement colour code.

Third screenshot (New Game Header) is controlled by the file in 'panels\game\new game settings panel header.xml'

Locate this line:

  <!--header with selected team in (can be hidden)-->
  <container id="tehe">

And change it to read something like:

  <!--header with selected team in (can be hidden)-->
  <container
class="plain_box" id="" appearance="boxes/popup/rounded/top/paper" red_replacement="red">

Again you remove the id but you also need to the class and apperance bits, Changing the class, appearance and colour to suit.

 

Link to post
Share on other sites

3 minutes ago, ★ OPZ ★ said:

 

i cant change it.

Realizing that you want it for your skin (didnt think of that before, as using the archiver will only change it for your experience). There must be an .xml controlling it but I havent looked at those yet, I am sure there are a couple of intro xmls again this year to look at

 

 

 

Link to post
Share on other sites

7 hours ago, ★ OPZ ★ said:

fm17  background main menu, can we change it?

 

 

vw.jpg

That screen is normally controlled by the 'panels\game\intro panel.xml' file however the background doesn't seem to be present this year, there are two options, the easiest one is it appears there is another image of that stadium background located in graphics\backgrounds\ called 'add manager' which is a png file that the game might be calling instead, so you could try replacing that file instead.

If that doesn't work you can try adding back the old code into the 'intro panel' xml file try pasting this code into the file somewhere near the top, though you might need to move it around so you get it to sit on top of the default background instead of behind, as I don't know which random id is calling the background;

  <!--Stadium Background-->
  <widget class="picture" id="bkg1" file="main menu/background" scale_picture="true" keep_aspect_ratio="false">
    <layout class="stick_to_sides_attachment" alignment="all" inset="-200" />

</widget>

 

Link to post
Share on other sites

14 hours ago, ★ OPZ ★ said:

vs3hemG.jpg

 

pic 3 header color not change by team primary color. But character change by team secondary color.

sorry for my english.

Fun7ABs.jpg

Not sure what you mean, if you want the graphics to take the same colours as the header instead of the kit colour, then I don't think you can as the recolouring is linked to the id you removed, rather than being set by the xml code. (there might be a reason it uses the kit colour instead of the primary colour).

Iit might be possible to add an extra image so it fits on top of the orignal box (but hopefully behind the text), so just revert the container line back to default and underneath it add something like this:

<widget class="picture" file="boxes/popup/rounded/top/paper" red_replacement="primary"/>

changing the file location to your file, you may also need to add a layout line to the widget as well to position it like in my previous post.

If that doesn't work then  if you want to keep the gradient affect then it might be possible by making the gradient file transparent so it just changes the shade rather than replaces the existing colour, then in the lines add the id back and removed the replacement colour bit.

 

Link to post
Share on other sites

3 hours ago, michaeltmurrayuk said:

Not sure what you mean, if you want the graphics to take the same colours as the header instead of the kit colour, then I don't think you can as the recolouring is linked to the id you removed, rather than being set by the xml code. (there might be a reason it uses the kit colour instead of the primary colour).

Iit might be possible to add an extra image so it fits on top of the orignal box (but hopefully behind the text), so just revert the container line back to default and underneath it add something like this:

<widget class="picture" file="boxes/popup/rounded/top/paper" red_replacement="primary"/>

changing the file location to your file, you may also need to add a layout line to the widget as well to position it like in my previous post.

If that doesn't work then  if you want to keep the gradient affect then it might be possible by making the gradient file transparent so it just changes the shade rather than replaces the existing colour, then in the lines add the id back and removed the replacement colour bit.

 

What panel is that popup mike? I'm having b a brain freeze on it

Link to post
Share on other sites

I try deleted code into the intro panel.xml. Background is show but lost manager .

Apart from the manager i want to know that code that I removed. Needed to play?



 

Spoiler

 

  <container class="add_manager_panel" file="none">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0" />

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

    </container>

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

      <!-- A wizard panel to provide standard wizard buttons and panel handling -->
      <container class="wizard_panel" id="wzrd" hidden="true">

        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
        <layout class="arrange_horizontal_attachment" layout="-60,-40" offset="0" gap="0" />
        <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

        <container>

          <layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0" gap="0" />
          <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

          <!-- wizard panel container, the actual panels will be added here -->
          <container id="plco">
            <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true" />

            <container class="manager_profile_panel" id="fPan" check_profile="true" hide_manager="true">
              <translation id="wizard_panel_title" translation_id="292599" type="use" value="Personal Details[COMMENT: add manager screen; panel title]" />
            </container>
            <container class="manager_profile_panel" id="sPan" check_profile="true" file="human/add manager appearance panel">
              <translation id="wizard_panel_title" translation_id="395141" type="use" value="Appearance[COMMENT: add manager screen; panel title; appearance of the
manager]" />
            </container>

          </container>

          <!-- row of buttons -->
          <container class="bordered_box" id="btns">
            <layout class="fit_children_attachment" alignment="vertical" inset="0" offset="0" />
            <layout class="stick_to_sides_attachment" alignment="bottom" layout_children="true" inset="0" />
            <layout class="arrange_horizontal_attachment" alignment="middle" offset="0" />

            <!-- row of buttons -->
            <container id="btns" height="30" width="500">
              <layout class="arrange_horizontal_attachment" alignment="right, extend" offset="0" gap="0" />
              <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" layout_children="true" />


              <container height="30">
                <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="0" />
                <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" layout_children="true" />

                <widget class="icon_button" id="ltEr" hidden="true" click_event="cPrL" auto_size="all">
                  <translation id="text" translation_id="424577" type="use" value="Later[COMMENT: wizard dialog: default previous button text]" />
                </widget>

              </container>

              <widget class="icon_button" id="prev" click_event="prpa" auto_size="all" icon="icons/16px/left">
                <translation id="text" translation_id="255267" type="use" value="Previous[COMMENT: wizard dialog: default previous button text]" />
              </widget>
              <widget class="icon_button_blue" id="nxt1" click_event="n1pa" auto_size="all" icon="icons/16px/right" icon_alignment="right">
                <translation id="text" translation_id="255268" type="use" value="Next[COMMENT: wizard dialog: default next button text]" />
              </widget>
              <widget class="icon_button" id="fini" appearance="buttons/primary/normal/button" click_event="fNPr" auto_size="all" hidden="true"
icon="icons/16px/tick">
                <translation id="text" translation_id="229918" type="use" value="Confirm" />
              </widget>

            </container>
          </container>
        </container>

        <!-- empty container for create a padding for the manager man -->
        <container id="emCW">
          <widget class="icon_button" appearance="buttons/subtle/normal/button" icon_colour="text" icon="icons/16px/camera" icon_alignment="centre" click_event="cTGl"
height="40" width="40">
            <layout class="stick_to_sides_attachment" alignment="top,left" inset="20" />
          </widget>            
        </container>

      </container>

    </container>
  </container>

 

 

fwffff.jpg

Link to post
Share on other sites

If you have deleted the hidden code then it might cause some problems as it looks like that could be the code that prompts you to set up your manager details when you first load the game (or after you have deleted your preference files) though I have no idea if the game will just skip past those screens, through up an error or just crash. (Though it might not even be possible to get that screen with a custom skin as it pops up before you have a chance to even change skins, you might want to try creating a new game to see if it causes any problems).

Also whilst I was looking for something else I found some more add manager background images located in: Steam\steamapps\common\Football Manager 2017\data\sigfx\textures\ which are dds files and they might be what the game is using especially as the manager is a 3d item so the whole background might be generated using the 3d engine, though if that is the case then any simple replacement isn't possible as you cannot include 3D files with skins.

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...