Jump to content

[FM22] Player Profile Value Missing


Mufred
 Share

Recommended Posts

Hello, reusing a facepack I made for FM21 and with it also reusing the panels I edited to fix the size of the pics. Working mostly fine except there's an issue with showing a players estimated value now as you can see in the screenshot below the estimated value just says 0 now. I've been trying to fix it in the panels myself but haven't been able to, any ideas?

 

Skärmavbild 2021-10-27 kl. 16.29.52.png

Link to post
Share on other sites

The code/ID of the value was changed for FM22 as you probably know that the way how the value is displayed is different. So, if you will use the panels/widgets from previous version, it will still use the old codes/widgets/IDs (that applies to everything, not just to this issue).

You have to edit it everywhere in your files where the value is shown.

This is the updated code from the extracted files - player profile personal details.xml.

			<!--Value-->
			<widget class="label" font="label" height="14">
				<translation id="text" translation_id="292633" type="use" value="Estimated Value[COMMENT: player profile; value label]" />
			</widget>
			<widget class="transfer_value_label" id="valu" auto_size="all" font="value">
				<record id="object_property" get_property="Pdva" dont_set_hint="true" />
			</widget>

 

Link to post
Share on other sites

45 minutes ago, keysi said:

The code/ID of the value was changed for FM22 as you probably know that the way how the value is displayed is different. So, if you will use the panels/widgets from previous version, it will still use the old codes/widgets/IDs (that applies to everything, not just to this issue).

You have to edit it everywhere in your files where the value is shown.

This is the updated code from the extracted files - player profile personal details.xml.

			<!--Value-->
			<widget class="label" font="label" height="14">
				<translation id="text" translation_id="292633" type="use" value="Estimated Value[COMMENT: player profile; value label]" />
			</widget>
			<widget class="transfer_value_label" id="valu" auto_size="all" font="value">
				<record id="object_property" get_property="Pdva" dont_set_hint="true" />
			</widget>

 

Thank you very much, that worked!

Link to post
Share on other sites

On 27/10/2021 at 19:18, statomatic7 said:

So i have managed to get the values in game, anyone know how to get this central and slightly smaller at all??

Thanks in advance for any help 

 

image.png.50b79bb9adaf0996398e99550dfc180a.png

Hi Guys, reaching out for some help with this??

Thanks in advance for any suggestions

Link to post
Share on other sites

<widget class="transfer_value_label" id="valu" auto_size="all" font="value">

<record id="object_property" get_property="Pdva" dont_set_hint="true" />

</widget>

 

remove the auto size="all" and add alignment="centre"

Link to post
Share on other sites

6 minutes ago, wkdsoul said:

<widget class="transfer_value_label" id="valu" auto_size="all" font="value">

<record id="object_property" get_property="Pdva" dont_set_hint="true" />

</widget>

 

remove the auto size="all" and add alignment="centre"

Is that in the player profile personal details.xml file? @wkdsoul

Link to post
Share on other sites

On 27/10/2021 at 19:18, statomatic7 said:

So i have managed to get the values in game, anyone know how to get this central and slightly smaller at all??

Thanks in advance for any help 

 

image.png.50b79bb9adaf0996398e99550dfc180a.png

without the file we can’t say what’s causing it 

Link to post
Share on other sites

  • michaeltmurrayuk changed the title to [FM22] Player Profile Value Missing

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