Jump to content
Sports Interactive Community
Enos

Left Foot & Right Foot on the panel

Recommended Posts

I skipped FM17 so I'm just now getting acquainted with the default and Wannachup skins on FM18.  I absolutely LOVED Vitrex on FM16 and it had a panel that showed both right and left footedness of the player.  I'm unable to find that in FM18, but would like to alter the main player page to have both feet instead of preferred foot.  Is there anyone that could point me in the right direction of how to create that panel (either in default or Wannachup)?

Share this post


Link to post
Share on other sites

You can prob take the code from vitrex into the wannachup panel. dont think the widget class/code will have changed. 

Share this post


Link to post
Share on other sites

hi - could you please provide more details....i am using the base dark skin and wanted to put the preferred foot and weak foot details in the top right corner of the player screen...thanks...

Share this post


Link to post
Share on other sites

Just take a look at the milla-Skin from jovovich! In panels/player/player personal details panel.xml you find the code needed, just search for "left foot" and "right foot"...

 

 

Share this post


Link to post
Share on other sites
On 2018-04-02 at 08:54, luvgisele said:

thanks...i was able to make the change...

Mate, could you share a screenshot? I’m kinda curious how it turned out

Share this post


Link to post
Share on other sites
On 4/2/2018 at 11:54, luvgisele said:

thanks...i was able to make the change...

Would also like to see a screenshot of the code changes as well.  

Share this post


Link to post
Share on other sites
On 4/16/2018 at 21:04, gxL2o62DcgGQ2RNW said:

Not the OP but I did something similar to the default skin. Removed the 'Media Description' and the 'Goalkeeper Rating'.

fm_2018_02_03_13_40_30_822.bmp

Your image won't load for me, but I'd love to see what you've done.  If you have the the code I'd love to copy it.

Share this post


Link to post
Share on other sites
7 hours ago, Enos said:

Your image won't load for me, but I'd love to see what you've done.  If you have the the code I'd love to copy it.

<!-- Panel displaying extra attributes a bout a player, for example condition, footedness etc -->
<!-- Meant to be used with a CLIENT_OBJECT_XML_PANEL -->
<panel>
	<layout class="arrange_vertical_attachment" alignment="top, extend" offset="4" gap="0" />
	<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

	<container id="topc">
		<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="8" do_not_size="true"/>
		<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="8" />
		<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />
		
		<!-- Personality -->
		<container>
			<layout class="arrange_vertical_attachment" alignment="top" offset="0" do_not_size="true" />
			<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" />
			<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

			<widget class="label" id="PPs:" auto_size="vertical" font="title" colour="accent">
				<record id="object_property" get_property="PPst" name="true" />
			</widget>
			<widget class="personality_label" id="PPst" auto_size="vertical">
				<record id="object_property" get_property="PPst" />
			</widget>
		</container>		

		<widget class="picture" file="dividers/standard/horizontal/line" height="3" image_alignment="centre" />
		
		<!-- Media Description -->
		<!--<container>
			<layout class="arrange_vertical_attachment" alignment="top" offset="0" do_not_size="true" />
			<layout class="fit_children_attachment" alignment="vertical, fill" offset="0" />
			<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

			<widget class="label" id="Pde:" auto_size="vertical" font="title" colour="accent">
				<record id="object_property" get_property="Pdes" name="true" />
			</widget>
			<widget class="player_description_text" id="Pdes" auto_size="vertical">
				<record id="object_property" get_property="Pdes" />
			</widget>
		</container>

		<widget class="picture" file="dividers/standard/horizontal/line" height="3" image_alignment="centre" />
-->
		<!-- Left Foot-->
		<container>
			<layout class="arrange_vertical_attachment" alignment="top" offset="0" do_not_size="true" />
			<layout class="fit_children_attachment" alignment="vertical, fill" offset="0" />
			<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

			<widget class="label" font="title" colour="accent">
							<translation id="text" translation_id="230000" type="use" value="Left Foot" />
			</widget>
			<widget class="footedness_label" id="fotL" auto_size="vertical">
				<record id="object_property" get_property="Plft" />
			</widget>
		</container>

		<widget class="picture" file="dividers/standard/horizontal/line" height="3" image_alignment="centre" />
		
		<!-- Right Foot-->
		<container>
			<layout class="arrange_vertical_attachment" alignment="top" offset="0" do_not_size="true" />
			<layout class="fit_children_attachment" alignment="vertical, fill" offset="0" />
			<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

			<widget class="label" font="title" colour="accent">
							<translation id="text" translation_id="230001" type="use" value="Right Foot" />
			</widget>
			<widget class="footedness_label" id="fotR" auto_size="vertical">
				<record id="object_property" get_property="Prft" />
			</widget>
		</container>

		<widget class="picture" file="dividers/standard/horizontal/line" height="3" image_alignment="centre" />
	</container>

	<!-- Preferred moves -->
	<container id="botc">
		<layout class="arrange_vertical_attachment" alignment="top, extend" offset="0" />
		<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

		<widget class="label" auto_size="vertical" font="title" colour="accent">
			<translation id="text" translation_id="402385" type="use" value="Player Traits[COMMENT: label for the previously named 'Preferred Moves' section (ID 229993), changed to Player Traits because it fits all potential options more suitably]" />
		</widget>

		<container class="scrolling_box">
			<widget class="preferred_moves_panel" file="player/player information preferred moves" id="pfmp" auto_size="vertical">
				<record id="object_property" get_property="objt" set_property="objt" />
			</widget>
		</container>
	</container>
</panel>

player additional attributes panel.xml

pTIMbWj.png

Share this post


Link to post
Share on other sites
Posted (edited)

@gxL2o62DcgGQ2RNW Thanks so much!  That is exactly what I want to do.  Would you mind telling me where you put that code?   I'm guessing I can paste it directly into a certain panels folder.  Will I also have to delete some other code?  Sorry to be so dense.

Edited by Enos

Share this post


Link to post
Share on other sites
Posted (edited)

You have to extract the panels and make a new skin. The code posted is the entire code, you can paste it into "player additional attributes panel.xml" in C:\Users\userName\Documents\Sports Interactive\Football Manager 2018\skins\skinName\panels\player.

Alternatively, use the skin uploaded. (if the upload works this time)

 

 

RightLeftFoot Skin.zip

Edited by gxL2o62DcgGQ2RNW

Share this post


Link to post
Share on other sites

You should actually just need to place the xml file in the following location if you are using the default skins:

\Documents\Sports Interactive\Football Manager 2018\panels\player\

You'll need to create the panels/player folders.

As it's not a file included with the skin so it should read it from their without having to create a new skin, if you are using a custom skin then stick it in the panels/player folder for the skin you are using.

Share this post


Link to post
Share on other sites
4 hours ago, michaeltmurrayuk said:

You should actually just need to place the xml file in the following location if you are using the default skins:

\Documents\Sports Interactive\Football Manager 2018\panels\player\

You'll need to create the panels/player folders.

As it's not a file included with the skin so it should read it from their without having to create a new skin, if you are using a custom skin then stick it in the panels/player folder for the skin you are using.

You're right, that works. Well I took the scenic route then I suppose. :lol:

Share this post


Link to post
Share on other sites

Thanks very much to both of you!  I'll try it tonight when I get home.  

Share this post


Link to post
Share on other sites
Posted (edited)

I must be a real dummy.  

 

I took the code pasted by @gxL2o62DcgGQ2RNW and pasted it into notepadd++.  I then saved the file as "player additional attributes panel.xml" and scrolled down to make sure the format was a .xml.  I then placed that file into a folder of my skin (custom, not the default skin, but based on it) where I created a "players" folder inside the already existing "panels" folder.  I opened the game, cleared cache and reloaded the skin.  No changes.  I'm really not too sharp when it comes to these things.  I'm used to installing simple patches and that's about it.  Could either of you help me figure out what I've done wrong?  Thanks and apologies for being so dense. @michaeltmurrayuk

 

Edited by Enos

Share this post


Link to post
Share on other sites

@Enos Make sure you haven't included the .xml bit in the file name, you should just have an xml file called player additional attributes panel

Also the folder within the panels folder should be called player instead of players.

Share this post


Link to post
Share on other sites
6 minutes ago, michaeltmurrayuk said:

@Enos Make sure you haven't included the .xml bit in the file name, you should just have an xml file called player additional attributes panel

 Also the folder within the panels folder should be called player instead of players.

Thank you.  I made both mistakes.  Looking forward to fixing it tonight.  :-)

Share this post


Link to post
Share on other sites
On 16/05/2018 at 14:12, michaeltmurrayuk said:

@Enos Make sure you haven't included the .xml bit in the file name, you should just have an xml file called player additional attributes panel

Also the folder within the panels folder should be called player instead of players.

Well, I fixed the name of the folder, but I had already properly named the files.  It still doesn't work.  I must be missing a step.  Any suggestions?

Share this post


Link to post
Share on other sites

The above code works for me, however don't copy/past the filename from the post with the coding in as Windows and the game seem to be treating it as saying something different (if you copy over the default file you'll notice windows won't prompt to overwrite it even though the names are the same), instead just name it manually or copy/paste the text from my post as that should work.

Share this post


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

  • Recently Browsing   0 members

    No registered users viewing this page.

×