Jump to content

Increasing text size for player names on pitch in tactics


JR866Gunner

Recommended Posts

You need to edit the tactic panel.xml file from the panels folder for the skin you are using. Starting on line 103 should be this lot of code and that controls the editable bits of the tactics pitch

[if you are using FM2011 this information is now located inside the 'pitch tactics component.xml' file]:

<widget class="pitch_with_tactics" id="ptch">

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

<boolean id="vert" value="true"/>

<integer id="pprd" value="3"/>

<boolean id="pitch_use_player_kit" value="true" />

<boolean id="pitch_use_curved_tactics_runs" value="false" />

<boolean id="perspective" value="false" />

<flags id="pitch_player_name_font" value="fonts/vera" />

<integer id="pitch_player_name_size" value="8" />

<integer id="pitch_kit_height" value="40" />

<integer id="pitch_kit_width" value="40" />

<flags id="pitch_player_name_style" value="outlined" />

<flags id="pitch_player_name_text_colour" value="match text" />

<flags id="pitch_player_name_outline_colour" value="match outline" />

<integer id="pitch_player_size" value="4" />

<!-- this won't be used unless style above includes 'outlined' -->

<!-- player duty icon text style -->

<flags id="pitch_player_duty_text_font" value="fonts/vera" />

<integer id="pitch_player_duty_text_size" value="7" />

<integer id="pitch_player_duty_text_left_offset" value="4" />

<integer id="pitch_player_duty_text_top_offset" value="22" />

<colour id="pitch_player_duty_text_colour" name="black"/>

To change the player name size you just need to edit the file I've highlighted in red above, you can also change the font, font style, font colour and sizes of the player shirts if you want.

Link to post
Share on other sites

You can edit the same font details for the Classic 2D match view by editing the 'match pitch.xml' file located in the panels folder, near the top of the file will be coding similar to that above and it's editable in the same way.

Unfortantley it is not possible to edit the font details on the 3D views (including the 2D view that uses the 3D engine).

Link to post
Share on other sites

It seems that your skin, Michael, Classic2010 Skin Dark edition, doesn't have the match pitch.xml file in the panels folder.

Can you provide with file.

Sorry if i'm causing you too much work ;)

Link to post
Share on other sites

  • 6 months later...

The duty text should be editable by this line:

<integer id="pitch_player_duty_text_size" value="7" />

To resize the shirt numbers you might need to resize the actual graphics, if you haven't already extract the files from this location in the graphics.fmf file: \graphics\pictures\kits\2d\numbers\default

When you have extracted the files copy them into the same position within the Graphics folder within your User Data Folder (or within the Graphics folder of the skin you are using).

You'll then need to use an image editing program to resize the numbers to fit.

Link to post
Share on other sites

Thanks. I played around with the size of the duty text, but eventually just set the color to transparent. Looks good. As for the numbers, I found a skin that replaces them and so figured out they were graphics but haven't got it working properly. It's fine though -- tactic screen looks so much better with larger player text, position dots I can actually distinguish between and no duty text (leaving player icons the default size.

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