Jump to content

Nation Teams Panel ( Senior, U23 & U20)


<<Macaco-RJ88>>
 Share

Recommended Posts

Thank you!

Now I found the codes i was looking for. I am trying to set the snapshot to show the topscorer rather than the "hot prospect" for the national team. Would you have any idea how to do that?

<!--HOT-->
    <container default_height="-1" priority="3">
      <layout class="arrange_vertical_attachment" layout="15,-1" />
      <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

      <container class="subsection_box" appearance="boxes/custom/woza/paper" red_replacement="teal 700">
        <layout class="stick_to_sides_attachment" alignmnet="all" inset="0" apply_to_children="true" />
      <widget class="label" colour="white" alignment="centre_x,centre_y">
        <translation id="text" translation_id="227404" type="use" value="Hot Prospect" />
      </widget>
      </container>
      <widget class="person_snapshot_club_overview_panel" id="glsc" file="person/person snapshot club overview10" player="true">
        <record id="object_property">
          <integer id="get_property" value="Tstg" />
          <integer id="set_property" value="objt" />
        </record>
      </widget>
    </container> 

It did not work with the setup above...

Link to post
Share on other sites

I have an idea, but it's difficult to explain in words. (and it's a forced way.)

If you need my help, please tell/give me everything listed below.

  1. information
   1-1. width and height of the space for the snapshot

     if you are not sure, please tell me 3 things below instead.
       1-2. your monitor's resolution
       1-3. game window's size (if you haven't played in full-screen mode)
       1-4. zoom level

  2. screenshots
   2-1. nation overview
   2-2. club overview (I need "TEAMS" on a selector)

  3. xml files
   3-1. "nation overview.xml"
   3-2. "club overview panel.xml"
   3-3. "club overview staff panel.xml" OR the xml-file which you use in nation overview instead of this. 
   3-4. "person snapshot club overview.xml" OR the xml-file which you use in nation overview instead of this. ("person snapshot club overview10.xml", probably)
   3-5. "team overview small panel.xml"

I have attached screenshots of my panels for your reference.

overview nation 2.jpg

overview nation 3.jpg

Link to post
Share on other sites

Hi!

Thank you so much! 

1 - My screen res is 1280 x 720 and I play the game on full screen 1920 x 1080, 125% zoom.

2 - nation overview attached & club overview too, but Im confused with TEAMS on a selector.

image.thumb.png.5242f574e690c88e9e1b9e7f837e4d2a.png

image.thumb.png.7541fb86d6b32f2e0490680de4fa2960.png

3 - All attached but "team overview small panel.xml" - I am afraid that the only way for the goalscorer pic to show is under the TEAMS selector ?

Let me know if you think its possible to make it work with the current files or if I have to rethink my club and nation panels :)

Once again, thanks a lot! 

nation overview.xml club overview staff panel.xml club overview panel.xml club overview staff panel nation.xml person snapshot club overview10.xml

Link to post
Share on other sites

Please try these files.

1. nation/nation overview.xml  (The contents are the same as yours.)
2. club/club overview staff panel nation.xml
3. team/team overview small panel.xml
4. player/player stats summary_club overview.xml  (When you adjust the size of the snapshot, please change the value of height on the lines 17, 50 and 84.)
5. person/person snapshot_macaco.xml  (When you adjust the position of the club logo, please change the value on the lines 7 & 8.)

A problem I think is that the snapshot is too big for the 2 selectors under the "kits panel" on the club overview. 

macaco 5.jpg

macaco 6.jpg

nation overview.xml club overview staff panel nation.xml team overview small panel.xml player stats summary_club overview.xml person snapshot_macaco.xml

Link to post
Share on other sites

1. Please change the code on the line 116 of "club overview staff panel nation"

    <layout class="stick_to_sides_attachment" alignmnent="horizontal,top" inset="0" />

   to

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

2-1. Please check

   the files are in correct folders
     AND
      whether does "TEAMS" under the "KITS" on "club overview" works correctly or not.
      (please scroll to see if snapshots are displayed)

2-2. If both yes, please decrease the value of "minimum_width" on the line 6 of "player stats summary_club overview".

Link to post
Share on other sites

1 hour ago, Vakzin_QPR said:

1. Please change the code on the line 116 of "club overview staff panel nation"

    <layout class="stick_to_sides_attachment" alignmnent="horizontal,top" inset="0" />

   to

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

The above codes are the same right? 

1. Done

2 - The files you sent are in correct folders: Nation, Players, Team ,Clubs And Person. 

   - My club overview remains the same, working well with HOT PROSPECT on snapshot and TEAMS appear on the dropdown menu below KITS:

No players though.

image.thumb.png.ff0195f164745c322352aaf27f487db4.png

Nations:

image.thumb.png.7a0747d40e32c8db194fed9fbc352326.png

Edited by <<Macaco-RJ88>>
Link to post
Share on other sites

Then, please check the file names, especially "player stats summary_club overview".

    There are spaces between 
      player & stats ,
      stats & summary and
      club  & overview
    There is an underscore symbol between
      summary & club .

Link to post
Share on other sites

18 minutes ago, Vakzin_QPR said:

In the screenshot (two before), it seems to work well.
Did you change anything?
You did correct my misspelling, didn't you?

Man, than you so much!!! I had changed the height value. Now its working perfectly!!! I will refer this thread to other I found to be looking for the same solution.

Really, I appreciated it a lot!

by the way, out of curiosity, what is the "human profile" panel you use on your skin? 

Link to post
Share on other sites

20 hours ago, Vakzin_QPR said:

I have an idea, but it's difficult to explain in words. (and it's a forced way.)

If you need my help, please tell/give me everything listed below.

  1. information
   1-1. width and height of the space for the snapshot

     if you are not sure, please tell me 3 things below instead.
       1-2. your monitor's resolution
       1-3. game window's size (if you haven't played in full-screen mode)
       1-4. zoom level

  2. screenshots
   2-1. nation overview
   2-2. club overview (I need "TEAMS" on a selector)

  3. xml files
   3-1. "nation overview.xml"
   3-2. "club overview panel.xml"
   3-3. "club overview staff panel.xml" OR the xml-file which you use in nation overview instead of this. 
   3-4. "person snapshot club overview.xml" OR the xml-file which you use in nation overview instead of this. ("person snapshot club overview10.xml", probably)
   3-5. "team overview small panel.xml"

I have attached screenshots of my panels for your reference.

overview nation 2.jpg

 

@Vakzin_QPR would you be so kind & share your nation overview panel?

Link to post
Share on other sites

22 hours ago, <<Macaco-RJ88>> said:

Would that work on 1280 x 720 ?

I'm sorry, but I'm not sure.

 

19 hours ago, PequenoGenio said:

How to solve that white text?

Is it right that "that white text" refers to the names on the pitch?
There are 3 ways to fix it.

1. (The color of the names' backgrounds will become darker.)
   Please change the line 31 of "tactics/tactics icon info panel_ibhS.xml" to

    <container class="inner_contrast_box_no_margin" red_replacement="grey 800" height="18">

2. (The color of the box's background will become green.)
   Please add the following on the line 283 of "nation/nation overview.xml"

    282nd line  <translation id="title" translation_id="348972" type="use" value="Last Starting 11"/>
    283rd line  <string id="background_colour" value="pitch_box_background"/>

3. (The color of the names will become black.)
   Please change the line 34 of "tactics/tactics icon info panel_ibhS.xml" to

    <widget class="person_button" info_popup_enabled="false" format="[%person#1-surname]" alignment="centre,can_scale" font="semibold" size="8" colour="black" enforce_style="true">
      <record id="object_property" get_property="Psnm"/>
    </widget>

Link to post
Share on other sites

16 minutes ago, <<Macaco-RJ88>> said:

About white text.. Would you know where to change these?

Please check all xml-files (I mean button, button_selected, button_showing and so on) in the folders below.

  graphics/tabs/ 

especially
  graphics/tabs/subsection/normal/top/
  graphics/tabs/subsection/selected/top/

AND
  "class/tabbed_container.xml"

Link to post
Share on other sites

6 horas atrás, Vakzin_QPR disse:

I'm sorry, but I'm not sure.

 

Is it right that "that white text" refers to the names on the pitch?
There are 3 ways to fix it.

1. (The color of the names' backgrounds will become darker.)
   Please change the line 31 of "tactics/tactics icon info panel_ibhS.xml" to

    <container class="inner_contrast_box_no_margin" red_replacement="grey 800" height="18">

2. (The color of the box's background will become green.)
   Please add the following on the line 283 of "nation/nation overview.xml"

    282nd line  <translation id="title" translation_id="348972" type="use" value="Last Starting 11"/>
    283rd line  <string id="background_colour" value="pitch_box_background"/>

3. (The color of the names will become black.)
   Please change the line 34 of "tactics/tactics icon info panel_ibhS.xml" to

    <widget class="person_button" info_popup_enabled="false" format="[%person#1-surname]" alignment="centre,can_scale" font="semibold" size="8" colour="black" enforce_style="true">
      <record id="object_property" get_property="Psnm"/>
    </widget>

Many thanks my friend

Link to post
Share on other sites

  • 10 months later...

Hello @Vakzin_QPR!

I using the same files for FM21 and it works perfectly, except for nations in EUROPE. Weirdly, the code for topscorer works in other skins with different style, like yours for example( goals and highest av).

Would you have any idea why the code does not apply for European national teams? Thanks in advance!  8Ps. I have checked EVERY nation in Europe)

image.thumb.png.e9a3a6eca63578d1825213c2b12c8a21.pngimage.thumb.png.718e8bd640f43564e5a5de6883f143e4.pngimage.thumb.png.6e49bfdc3aa0e84a06357b479c180ba2.png

Link to post
Share on other sites

4 hours ago, <<Macaco-RJ88>> said:

Hello @Vakzin_QPR!

I using the same files for FM21 and it works perfectly, except for nations in EUROPE. Weirdly, the code for topscorer works in other skins with different style, like yours for example( goals and highest av).

Would you have any idea why the code does not apply for European national teams? Thanks in advance!  8Ps. I have checked EVERY nation in Europe)

image.thumb.png.e9a3a6eca63578d1825213c2b12c8a21.pngimage.thumb.png.718e8bd640f43564e5a5de6883f143e4.pngimage.thumb.png.6e49bfdc3aa0e84a06357b479c180ba2.png

looking nice, may you share again the files?

Link to post
Share on other sites

22 horas atrás, <> disse:

Hey man,

Would you know why the title "Next match" ( proximo jogo e a data) does not show on my game?

 

My screenshoot is from FM20.

Even the "Elementos Chave" panel name don't show up

Edited by PequenoGenio
Link to post
Share on other sites

1 hour ago, PequenoGenio said:

My screenshoot is from FM20.

Even the "Elementos Chave" panel name don't show up

I got it working:

<!--next match-->
                <container class="title_link_box" id="nMat" section="TeFi" hide_view_menu="true" format="date_and_days" default_height="170" navigation_container="true">
                    <translation id="link_title" translation_id="247353" type="use" value="Next Match" />
                    <translation id="hint" translation_id="323322" type="use" value="View Fixtures" />

                    <!--upcoming fixtures-->
                    <widget class="team_upcoming_fixture_info_panel" id="tmip" file="team/team upcoming fixture info nation profile">
                        <record id="object_property">
                            <integer id="get_property" value="NnfP" />
                            <integer id="set_property" value="valu" />
                        </record>
                    </widget>

                    <!--no upcoming fixtures-->
                    <widget class="label" id="NoFi" alignment="left,top">
                        <translation id="text" translation_id="298048" type="use" value="No upcoming fixtures." />
                    </widget>
                </container>

Link to post
Share on other sites

8 minutos atrás, <> disse:

I got it working:

<!--next match-->
                <container class="title_link_box" id="nMat" section="TeFi" hide_view_menu="true" format="date_and_days" default_height="170" navigation_container="true">
                    <translation id="link_title" translation_id="247353" type="use" value="Next Match" />
                    <translation id="hint" translation_id="323322" type="use" value="View Fixtures" />

                    <!--upcoming fixtures-->
                    <widget class="team_upcoming_fixture_info_panel" id="tmip" file="team/team upcoming fixture info nation profile">
                        <record id="object_property">
                            <integer id="get_property" value="NnfP" />
                            <integer id="set_property" value="valu" />
                        </record>
                    </widget>

                    <!--no upcoming fixtures-->
                    <widget class="label" id="NoFi" alignment="left,top">
                        <translation id="text" translation_id="298048" type="use" value="No upcoming fixtures." />
                    </widget>
                </container>

Where? do you add that ou edit? Care to share an ss?

Edited by PequenoGenio
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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