Jump to content

FM 21 HELP last XI squad view into club info


Vince_957
 Share

Recommended Posts

I have a little problem about seeing the last XI squad into the info, how can I solve it? I think that the problem is into the "club overview panel" Someone can help me? I would love to see the last XI with icons and names, I fix the icons but I can't see the name and the pitch out, I'll attach the file 

Screenshot (1313).png

Screenshot (1311).png

club overview panel.xml

Link to post
Share on other sites

<!--tactics-->
            <container class="subsection_box" id="cos4" minimum_height="60" priority="1" default_height="-1">
                <translation id="title" translation_id="348972" type="use" value="Last Starting 11[COMMENT: club overview panel, details of the last selected match team for a given club]" />
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />    
                <widget class="pitch_with_tactics" id="pwtc" default_width="-1" priority="1" icon_flags="drop_initial_if_possible,show_name" player_icon_file="tactics/tactics icon preview info panel"
                        vertical="true" 
                        pitch_alignment="centre" 
                        pitch_draw_goals="false" 
                        pitch_draw_markings="false" 
                        pitch_draw_grass="true" 
                        pitch_line_colour="disabled" 
                        
                        line_width="1">
                        <record id="pitch_base_appearance">
                            <string id="condition_perfect" value="custom/overview_pitch"/>
                        </record> 
                        <integer id="pitch_pattern_opacity" value="0"/>
                        <boolean id="pitch_disable_line_drawing" value="true"/>
                        <boolean id="pitch_pattern" value="true"/>
                        <integer id="pitch_detail_opacity" value="0"/>    
                        <integer id="pitch_kit_height" value="20"/>                    
                    </widget>        
                <widget class="person_button" alignment="centre,can_scale" auto_size="vertical" info_popup_enabled="false" size="xsmall" style="semi_bold" colour="black" format="[%person#1-initial_surname]">
    <boolean id="enforce_style" value="true"/>
    <record id="object_property" get_property="Pers" set_property="value"/>
  </widget>
            </container>


It's all here the problem, into the club overview panel, you can apply the tactics, what am I doing wrong? @keysi @PequenoGenio @wkdsoul @bluestillidie00

Link to post
Share on other sites

The default code is 

            <!--last starting XI-->
            <container class="main_box" height="400">
                <translation id="title" translation_id="348972" type="use" value="Last Starting 11[COMMENT: club overview panel, details of the last selected match team for a given club]" />
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

                <container class="horizontal_adaptive_container" id="LXIC" inset="0" offset="0">

                    <widget class="fixture_lineup_table" id="FxLu" default_width="-1" minimum_width="240" priority="2" />

                    <widget class="pitch_with_tactics" id="pwtc" default_width="-1" minimum_width="200" priority="1" navigation_disabled="true" icon_flags="show_name,use_player_kits_back,dont_show_team_names,drop_initial_if_possible">
                        <boolean id="vertical" value="true" />
                        <boolean id="pitch_dont_draw_indicators" value="true" />
                        <integer id="pitch_vertical_padding" value="20" />
                        <integer id="pitch_alignment" value="centre_x,top" />
                    </widget>
                </container>

                <widget class="text" id="noma">
                    <translation id="text" translation_id="349015" type="use" value="No match played." />
                </widget>
            </container>

 

try that. 

Link to post
Share on other sites

10 minutes ago, wkdsoul said:

The default code is 

            <!--last starting XI-->
            <container class="main_box" height="400">
                <translation id="title" translation_id="348972" type="use" value="Last Starting 11[COMMENT: club overview panel, details of the last selected match team for a given club]" />
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

                <container class="horizontal_adaptive_container" id="LXIC" inset="0" offset="0">

                    <widget class="fixture_lineup_table" id="FxLu" default_width="-1" minimum_width="240" priority="2" />

                    <widget class="pitch_with_tactics" id="pwtc" default_width="-1" minimum_width="200" priority="1" navigation_disabled="true" icon_flags="show_name,use_player_kits_back,dont_show_team_names,drop_initial_if_possible">
                        <boolean id="vertical" value="true" />
                        <boolean id="pitch_dont_draw_indicators" value="true" />
                        <integer id="pitch_vertical_padding" value="20" />
                        <integer id="pitch_alignment" value="centre_x,top" />
                    </widget>
                </container>

                <widget class="text" id="noma">
                    <translation id="text" translation_id="349015" type="use" value="No match played." />
                </widget>
            </container>

 

try that. 

I tried but.. this is the result

Screenshot (1314).png

Link to post
Share on other sites

The issue is likely with the code in this line (not in the "icon panel")

        <string id="icon_flags" value="show_name,use_overview_icons,allow_attributes_popup,show_familiarity,show_extra_details,drop_initial_if_possible,show_position_role_duty_suitability,show_selection_image,show_number,show_role_duty_labels,show_captain" ....................................etc etc/>
 

It looks like the shirts aren't showing, even though the coding for the "icon preview panel" might be correct.

Make sure that in the file that points to the icon preview file, the "icon flags" include "use_overview_icons" as shown above, this will add home or away kits to the pitch

This is how it looks like with me, but I have the pitch flipped

2107936265_Lasteleven.png.71469f3c9859bd17ba273a6f1903e8ce.png

 

Edited by a31632
Link to post
Share on other sites

26 minutes ago, a31632 said:

The issue is likely with the code in this line (not in the "icon panel")

        <string id="icon_flags" value="show_name,use_overview_icons,allow_attributes_popup,show_familiarity,show_extra_details,drop_initial_if_possible,show_position_role_duty_suitability,show_selection_image,show_number,show_role_duty_labels,show_captain" ....................................etc etc/>
 

It looks like the shirts aren't showing, event though the coding for the "icon preview panel" might be correct.

Make sure that in the file that points to the icon preview file, the "icon flags" include "use_overview_icons" as shown above, this will add home or away kits to the pitch

 

Done, how to fix the problem and show it good?

 

<!--last starting XI-->
            <container class="main_box" height="400">
                <translation id="title" translation_id="348972" type="use" value="Last Starting 11[COMMENT: club overview panel, details of the last selected match team for a given club]" />
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

                <container class="horizontal_adaptive_container" id="LXIC" inset="0" offset="0">

                    <widget class="fixture_lineup_table" id="FxLu" default_width="-1" minimum_width="240" priority="2" />

                    <widget class="pitch_with_tactics" id="pwtc" default_width="-1" minimum_width="200" priority="1" navigation_disabled="true" icon_flags="show_name,use_overview_icons,allow_attributes_popup,dont_show_team_names,show_familiarity,show_extra_details,drop_initial_if_possible,show_position_role_duty_suitability,show_selection_image,show_number,show_role_duty_labels,show_captain,drop_initial_if_possible">
                        <boolean id="vertical" value="true" />
                        <boolean id="pitch_dont_draw_indicators" value="true" />
                        <integer id="pitch_vertical_padding" value="20" />
                        <integer id="pitch_alignment" value="centre_x,top" />
                    </widget>
                </container>

                <widget class="text" id="noma">
                    <translation id="text" translation_id="349015" type="use" value="No match played." />
                </widget>
            </container>

Screenshot (1315).png

Link to post
Share on other sites

2 minutes ago, Vince_957 said:

Done, how to fix the problem and show it good?

 

<!--last starting XI-->
            <container class="main_box" height="400">
                <translation id="title" translation_id="348972" type="use" value="Last Starting 11[COMMENT: club overview panel, details of the last selected match team for a given club]" />
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

                <container class="horizontal_adaptive_container" id="LXIC" inset="0" offset="0">

                    <widget class="fixture_lineup_table" id="FxLu" default_width="-1" minimum_width="240" priority="2" />

                    <widget class="pitch_with_tactics" id="pwtc" default_width="-1" minimum_width="200" priority="1" navigation_disabled="true" icon_flags="show_name,use_overview_icons,allow_attributes_popup,dont_show_team_names,show_familiarity,show_extra_details,drop_initial_if_possible,show_position_role_duty_suitability,show_selection_image,show_number,show_role_duty_labels,show_captain,drop_initial_if_possible">
                        <boolean id="vertical" value="true" />
                        <boolean id="pitch_dont_draw_indicators" value="true" />
                        <integer id="pitch_vertical_padding" value="20" />
                        <integer id="pitch_alignment" value="centre_x,top" />
                    </widget>
                </container>

                <widget class="text" id="noma">
                    <translation id="text" translation_id="349015" type="use" value="No match played." />
                </widget>
            </container>

Screenshot (1315).png

Your coding isn't correct, this the top portion of my code:

                    <widget class="pitch_with_tactics" id="pwtc" default_width="-1" pitch_draw_grass="true" pitch_line_colour="white" line_width="1" pitch_draw_markings="false" pitch_draw_lines="false" minimum_width="250" priority="1" navigation_disabled="true" 
                    icon_flags="show_name,use_overview_icons,allow_attributes_popup,use_overview_icons,show_familiarity,show_extra_details,drop_initial_if_possible,show_position_role_duty_suitability,show_selection_image,show_number,show_role_duty_labels" 
                    player_icon_file="............................................">

 

You need to point to the icon file (faces/shirts) in the code so the game knows what to show here

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