Jump to content

Adding a "hidden" column to the squad screen


hrmantovani
 Share

Recommended Posts

I asked this once in the "Show Your Skin" thread and people seemed to agree that if the info is available in the game, it should be possible. Today I was looking for a long time at the staff screen (doing my first real save on FM23 instead of managing giants) and I realized that it is!

What I want to do is add the left column, the "Team" one, to my custom squad screen view.

image.png.9b57c2df863dd86da43f7d6b0e2c775b.png

image.thumb.png.9b264a286d0dc7a0810b2b813e28b038.png

This is the screen that I use to calculate role abilities for each player with Excel, then use it to rank my players by position. If I could also export a column indicating the squad a player is currently on (Senior, B, U19...) I could make a lineup for each of these, making it easier to manage.

Edited by hrmantovani
Link to post
Share on other sites

  • 3 weeks later...
On 24/11/2022 at 01:04, hrmantovani said:

Damn that's a shame... My spreadsheets would love it

                            <!-- SQUAD -->

                            <record id="PtmT" width="120" />

this works for me on the team squad panel

Link to post
Share on other sites

3 horas atrás, RevolverRon disse:

                            <!-- SQUAD -->

                            <record id="PtmT" width="120" />

this works for me on the team squad panel

 

2 horas atrás, snowofman disse:

yeah same

 

Which file should I be looking to edit? Ideally my goal is to add this column to the left of my custom view presented on the main post

Link to post
Share on other sites

4 hours ago, hrmantovani said:

 

 

Which file should I be looking to edit? Ideally my goal is to add this column to the left of my custom view presented on the main post

As i never found a way to make it usable in custom views, even when changing <flags id="customisation_context" value="none" /> to play.. it's imo only usable if you build in a view to the skin you're using

please correct me if im wrong.

Link to post
Share on other sites

22 minutos atrás, snowofman disse:

As i never found a way to make it usable in custom views, even when changing <flags id="customisation_context" value="none" /> to play.. it's imo only usable if you build in a view to the skin you're using

please correct me if im wrong.

I won't be able to correct you, skinning is really not my thing! How hard it is to build in a view? I've seen this done in the Zealand skin I guess with the NewGan view? The things I need are UID, position, nationality, age, name, personality, contract expiration, club and then the attributes. This is then exported to Excel to make automated views like the one below.

I assume you need to get the skinning IDs one by one?

image.thumb.png.2beb6433194113f601213c3df3f0cea0.png

Link to post
Share on other sites

2 minutes ago, hrmantovani said:

I won't be able to correct you, skinning is really not my thing! How hard it is to build in a view? I've seen this done in the Zealand skin I guess with the NewGan view? The things I need are UID, position, nationality, age, name, personality, contract expiration, club and then the attributes. This is then exported to Excel to make automated views like the one below.

I assume you need to get the skinning IDs one by one?

image.thumb.png.2beb6433194113f601213c3df3f0cea0.png

most if not all id's you'll need to make your view can be found in person properties.xml

 

person properties.xml

Link to post
Share on other sites

8 hours ago, snowofman said:

As i never found a way to make it usable in custom views, even when changing <flags id="customisation_context" value="none" /> to play.. it's imo only usable if you build in a view to the skin you're using

please correct me if im wrong.

If you want it to appear in the drop-downs you also need to give it a category, subcategory (optional) and a name in the person properties xml.

        <!-- Player club team type -->
        <record>
            <integer id="id" value="PtmT" />
            <integer id="width" value="90" />
            <flags id="customisation_context" value="play" />
            <translation id="category" type="use" value="User Added" />
            <translation id="subcategory" type="use" value="Optional subcategory" />
            <translation id="name" type="use" value="Team Squad" />
            <record id="widget_info">
                <symbol id="class" value="team_type_label" />
            </record>
            <record id="column_widget_properties">
                <flags id="alignment" value="left,centre_y" />
            </record>
            <record id="column_heading">
                <flags id="alignment" value="left,centre_y" />
                <translation id="text" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
                <translation id="hint" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
            </record>
        </record>

This should let@hrmantovaniadd it to existing views.

111220221421.png

111220221422.png

Edited by RevolverRon
Link to post
Share on other sites

1 hour ago, RevolverRon said:

If you want it to appear in the drop-downs you also need to give it a category, subcategory (optional) and a name in the person properties xml.

        <!-- Player club team type -->
        <record>
            <integer id="id" value="PtmT" />
            <integer id="width" value="90" />
            <flags id="customisation_context" value="play" />
            <translation id="category" type="use" value="User Added" />
            <translation id="subcategory" type="use" value="Optional subcategory" />
            <translation id="name" type="use" value="Team Squad" />
            <record id="widget_info">
                <symbol id="class" value="team_type_label" />
            </record>
            <record id="column_widget_properties">
                <flags id="alignment" value="left,centre_y" />
            </record>
            <record id="column_heading">
                <flags id="alignment" value="left,centre_y" />
                <translation id="text" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
                <translation id="hint" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
            </record>
        </record>

This should let@hrmantovaniadd it to existing views.

111220221421.png

111220221422.png

Thank you, that makes things much easier

Link to post
Share on other sites

3 horas atrás, RevolverRon disse:

If you want it to appear in the drop-downs you also need to give it a category, subcategory (optional) and a name in the person properties xml.

        <!-- Player club team type -->
        <record>
            <integer id="id" value="PtmT" />
            <integer id="width" value="90" />
            <flags id="customisation_context" value="play" />
            <translation id="category" type="use" value="User Added" />
            <translation id="subcategory" type="use" value="Optional subcategory" />
            <translation id="name" type="use" value="Team Squad" />
            <record id="widget_info">
                <symbol id="class" value="team_type_label" />
            </record>
            <record id="column_widget_properties">
                <flags id="alignment" value="left,centre_y" />
            </record>
            <record id="column_heading">
                <flags id="alignment" value="left,centre_y" />
                <translation id="text" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
                <translation id="hint" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
            </record>
        </record>

This should let@hrmantovaniadd it to existing views.

111220221421.png

111220221422.png

This is even better and easier than having to add all the attributes! Thank you for your help 

Link to post
Share on other sites

3 hours ago, RevolverRon said:

If you want it to appear in the drop-downs you also need to give it a category, subcategory (optional) and a name in the person properties xml.

        <!-- Player club team type -->
        <record>
            <integer id="id" value="PtmT" />
            <integer id="width" value="90" />
            <flags id="customisation_context" value="play" />
            <translation id="category" type="use" value="User Added" />
            <translation id="subcategory" type="use" value="Optional subcategory" />
            <translation id="name" type="use" value="Team Squad" />
            <record id="widget_info">
                <symbol id="class" value="team_type_label" />
            </record>
            <record id="column_widget_properties">
                <flags id="alignment" value="left,centre_y" />
            </record>
            <record id="column_heading">
                <flags id="alignment" value="left,centre_y" />
                <translation id="text" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
                <translation id="hint" translation_id="319549" type="use" value="Squad[COMMENT: column header text on a screen which lists recent international involvement for a club's players]" />
            </record>
        </record>

This should let@hrmantovaniadd it to existing views.

111220221421.png

111220221422.png

What skin is this?

Link to post
Share on other sites

21 minutes ago, wisconsin said:

What skin is this?

its in the person properties xml so it can be used with any skin.  if the skin has a "properties" folder it will be in there.  If not you can make a properties folder and put the xml in there. 

To apply it you need to clear cahce with the skin applied then restart the game.

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