Jump to content

Powermonger

Members+
  • Posts

    1,445
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Powermonger

  1. 56 minutes ago, _Ben_ said:

    I know I've been flooding this thread of late but looking for a bit more advice this time rather than just showing what I've made.

    I've been curious ever since I was shown how to create adaptive containers, so have had a play around with the personal details part. It's unfinished, not spaced correctly and missing key things but it's a start:

    0ec8aac931d6186f7dd7bc5f25e326c7.png 4b2c4b6eefdbd5aa6b9842065976665e.png

    I've gone for a bit more of a bio approach here rather than just 'heading and answer'

    a) Does it work?

    b) What am I missing?

    c) If the answer to above it 'yes' - how would you word it? It'll be hard for caps - for example. I can't have: 'Lanzo has 'x caps' for Italy' because, if he has none, it'll say 'Lanzo has uncapped for Italy' and that is grammatically wrong.

     

    Thanks!!!

    I like the concept, the example showing when they were born and where. Could you combine these so it reads more naturally?

    i.e Born on <dob-long> in <birth_city>, <country of birth>
     

    For the caps thing, could you not do a check on if caps are > 0 then say Lanzo has x caps for Italy, if = 0 then Lazio is currently uncapped for Italy. 

    I am not at my computer to check but I think for Team Stats or Player Stats panels there is a similar logic check for goals scored, the label is different depending on the number found. Maybe you can follow that to do something similar for caps. 

  2. I'm trying to refine my Player Facts panel for the team squad that currently looks like this (cropped section):

    I9IgxN4.png

    I want to replace the static icon I am using with the National Team badge (person property: PNat) but spinning my wheels and getting nowhere.

    Example, the XML code for displaying the TOP EARNER is as follows:

    <!--HIGHEST-PAID-PLAYER-->
    <container class="tato">
      <attachment_group class="horizontal_arrange_vertical_autosize_centre" horizontal_alignment="left,extend" horizontal_offset="0" horizontal_gap="0"/>
      <container width="80" height="58">
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
        <!-- Graphic Icon -->
        <widget class="picture" file="icons/custom/player stats/earner" red_replacement="green" image_alignment="left,top" scale_picture="false" blue_replacement="black"/>
        <container class="property_list_viewer_xml_panel" >
          <record id="object_property" index="0" get_property="tpea" set_property="objt" should_force_refresh="true"/>
          <widget class="object_portrait_picture" id="ppic">
            <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
            <boolean id="scale_picture" value="true"/>
            <boolean id="keep_aspect_ratio" value="true"/>
            <flags id="image_alignment" value="right,bottom"/>
            <record id="object_property">
              <integer id="get_property" value="plys"/>
              <integer id="set_property" value="objt"/>
            </record>
          </widget>
        </container>
      </container>
      <container>
        <attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="1" horizontal_inset="0"/>
        <widget class="label" colour="title" alignment="centre_x,bottom" auto_size="vertical" font="label">
          <translation id="text" translation_id="284316" type="use" value="Top Earner[COMMENT: heading; team_information_panel; the top earner]" />
        </widget>
    
        <widget class="team_container_fact_text" id="Ttoe" property="tpea" alignment="centre" auto_size="vertical">
          <record id="object_property" get_property="tpea"/>
        </widget>
      </container>
    </container>

    I want to replace

        <widget class="picture" file="icons/custom/player stats/earner" red_replacement="green" image_alignment="left,top" scale_picture="false" blue_replacement="black"/>

    with something like

    <widget class="object_portrait_picture" image_alignment="top,left" scale_picture="true" keep_aspect_ratio="true" >
      <record id="object_property" get_property="PNat" set_property="objt" />
    </widget>

    As Team Facts are based on widget IDs and properties and not on property IDs stored in team_properties.xml, I am trying to find the correct method to call these so the widget loading PNat works and is linked with the player behind the Team Fact. Anyone have any pointers on how get this to work?

  3. 9 minutes ago, lugui said:

    @Powermonger, how could I implement the icon used on the left/behind the faces, please? I dont have much space nor resolution to play with, but I'd like to try it.

    Basically the following code (simplified):

    			<container width="80" height="58">
    				<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    				<widget class="picture" file="icons/custom/player stats/prospect" red_replacement="title" image_alignment="left,top" scale_picture="false" />
    				<widget class="object_portrait_picture" id="ppic">
    					<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
    					<boolean id="scale_picture" value="true"/>
    					<boolean id="keep_aspect_ratio" value="true"/>
    					<flags id="image_alignment" value="right,bottom"/>
    				</widget>
    			</container>

    Calling the background picture first <widget class="picture"> and then calling the portrait picture next <widget class="object_portrait_picture"> will put the portrait in front of the background icon. Both must be inside the same container and play around with each picture alignment settings to get them positioned together how you wish them to be displayed.

    Thanks again for your wisdom too, I wasted a good few hours trying to get it working before your very helpful advice.

  4. 51 minutes ago, _Ben_ said:

    What have you been using?

    As I said, this is somewhat of a first draft given the massive change that it has created. Looking to canvas some opinion and see what other things are being used that could form part of it. For example - in my eyes, this won’t work on human players because it then requires too much knowledge of the training modules and not enough guidance of progress in them. Which is why, for me, it’s been built into the ‘non-human’ element. 

    As for colours - the image is in red text and I actually couldn’t get anything to work other than ‘red_replacement=“white”’ but that quickly forgotten about when I got things working. It’s and easy find/replace job, though. I had pondered whether to make elite values gold, good values blue and poor values grey because that matches my skin rather than the old positive/negative red/green as that impedes on the scout report, which, in my eyes, is a separate entity. 

    I think I can do this. Just duplicate and rename classes as ‘elite_’, ‘_’ or ‘poor_’ underscore and then list them all (so some panel would have upwards of 20 classes in) to create that hierarchy of them. The elite category would only have something in the file=“” for 19 and 20; 14-18 for the good category and 1-6 for poor.

    Given the time I’ve put into this so far, I don’t see this as a step too far. 

    My next concern is that I don’t think it’s enough on the human profile, as I said above…

    How about using a colour grading system instead, like how Scouts grade players?

    eSgGeSG.png

     

    You could use a Grade in conjunction with your more verbose textual rating instead of using thumb and star icons.

  5. 19 hours ago, lugui said:

     

    A while ago I spent an unhealthy amount of time trying to figure out and get this Hot Prospect thing working and populating the bar in Team Squad. With a lot of error and testing, it was only possible with the code below. Worth the try.

    In my setup, the information used on the Team Squad screen is pulled by the team squad.xml from team squad information facts.xml, that I created myself. But I imagine you know where to put it in your configuration there.

    I suggest ignoring/adjusting my used style and translation values to your liking. 

    I hope it gives you at least a direction on what to look for, let me know.

     

      Reveal hidden contents
    <!--HOT PROSPECT-->
    
    
    
    -<container class="contrast_box" transparency="0.55" red_replacement="primary">
    
    <attachment_group class="vertical_arrange" horizontal_inset="0" vertical_alignment="top,extend" horizontal_alignment="horizontal" vertical_gap="0" vertical_offset="1"/>
    
    
    -<widget alignment="centre_x,bottom" class="label" font="label" size="9" auto_size="vertical" colour="primary">
    
    <translation value="PROMESSA" type="use" id="text"/>
    
    </widget>
    
    
    -<container class="client_object_viewer_xml_panel">
    
    
    -<record id="object_property">
    
    <integer value="Tcrf" id="get_property"/>
    
    <integer value="objt" id="set_property"/>
    
    </record>
    
    <layout alignment="vertical" class="fit_children_attachment" offset="0"/>
    
    <layout inset="0" apply_to_children="true" alignment="horizontal,top" class="stick_to_sides_attachment"/>
    
    
    -<container>
    
    <layout alignment="vertical" class="fit_children_attachment" offset="2"/>
    
    <layout alignment="right,extend" class="arrange_horizontal_attachment" offset="0" gap="0"/>
    
    <layout inset="2" apply_to_children="true" alignment="top" class="stick_to_sides_attachment"/>
    
    
    -<container>
    
    <attachment_group class="vertical_arrange_autosize" horizontal_inset="0" horizontal_alignment="horizontal" vertical_gap="2" vertical_offset="1"/>
    
    
    -<widget alignment="centre" class="person_button" size="9.3" auto_size="vertical" colour="fgbar" style="semi_bold,semi_italic">
    
    <record id="object_property" get_property="CtPR"/>
    
    </widget>
    
    
    -<container class="client_object_viewer_xml_panel">
    
    
    -<record id="object_property">
    
    <integer value="CtPR" id="get_property"/>
    
    <integer value="objt" id="set_property"/>
    
    </record>
    
    </container>
    
    </container>
    
    </container>
    
    </container>
    
    </container>

     

     

    Thanks @lugui, much appreciated and I managed to get something basic working for now.

    d293r6n.png

    Can't seem to get it working at the moment using <widget class="person_snapshot_club_overview_panel" /> but is working with the following code:

    <container class="client_object_viewer_xml_panel" file="team/pwm/person snapshot information" late_loading="true" >
      <record id="object_property" get_property="Tftm" set_property="objt"/>
    </container>

    person snapshot information.xml

    <panel>
    	<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
    	<container height="60">
    		<attachment_group class="horizontal_arrange" horizontal_alignment="fill" vertical_alignment="vertical" horizontal_gap="5" horizontal_inset="0" vertical_inset="0" draw_vertical_dividers="true" />
    		<container class="tato">
    			<attachment_group class="horizontal_arrange_vertical_autosize_centre" horizontal_alignment="left,extend" horizontal_offset="0" horizontal_gap="0"/>
    			<container width="80" height="58" class="client_object_viewer_xml_panel">
    				<record id="object_property">
    					<integer id="get_property" value="Tcrf" />
    					<integer id="set_property" value="objt" />
    				</record>
    				<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    				<widget class="picture" file="icons/custom/player stats/prospect" red_replacement="title" image_alignment="left,top" scale_picture="false" blue_replacement="black"/>
    				<widget class="object_portrait_picture" id="ppic">
    					<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
    					<boolean id="scale_picture" value="true"/>
    					<boolean id="keep_aspect_ratio" value="true"/>
    					<flags id="image_alignment" value="right,bottom"/>
    					<record id="object_property">
    						<integer id="get_property" value="CtPR"/>
    						<integer id="set_property" value="objt"/>
    					</record>
    				</widget>
    			</container>
    			<container class="client_object_viewer_xml_panel">
    				<record id="object_property">
    					<integer id="get_property" value="Tcrf" />
    					<integer id="set_property" value="objt" />
    				</record>
    				<attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="1" horizontal_inset="0"/>
    				<widget class="label" alignment="left,bottom,can_scale" font="title" auto_size="vertical" colour="text">
    					<translation id="text" translation_id="227404" type="use" value="Hot Prospect"/>
    				</widget>
    				<widget class="person_button" alignment="left,centre_y" auto_size="vertical" colour="text" multiline="true">
    					<record id="object_property" get_property="CtPR"/>
    				</widget>
    			</container>
    		</container>
    	</container>
    </panel>

    XML code is above is just something quick and dirty to test. @Tyburn with your testing were you using ?

    <widget class="person_snapshot_club_overview_panel" />

    EDIT: Got the panel working fully now how I want it to be:

    HGlgNHm.png

    I'll keep it how it is and not try to get it working with "person_snapshot_club_overview_panel" widget.

  6. Looking for some help for my Key Players ribbon I have for the Squad View screen.

    YOLQtgC.png

    I am trying to add the Hot Prospect player but it just won't appear, this is the only player category that does not have property ID for it in Team Properties .xml and relies on using a widget ID.

    This is what I have thus far:

    team squad.xml
    
    <!--KEY-PLAYERS-->
    <widget class="club_overview_staff_panel" file="team/pwm/team squad key players ribbon" late_loading="true">
      <record id="object_property" get_property="Tftm" set_property="objt"/>
    </widget>
    
    team squad key players ribbon.xml
    
    <panel height="60">
    	<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    	<container>
    		<attachment_group class="horizontal_arrange" horizontal_alignment="fill" vertical_alignment="vertical" horizontal_gap="5" horizontal_inset="0" vertical_inset="0" draw_vertical_dividers="true"/>
    			<widget class="person_snapshot_club_overview_panel" id="capt" player="true" file="team/pwm/person snapshot captain">
    				<record id="object_property">
    					<integer id="get_property" value="TCap" />
    					<integer id="set_property" value="objt" />
    				</record>
    			</widget>
    			<widget class="person_snapshot_club_overview_panel" id="vice" player="true" file="team/pwm/person snapshot vicecaptain">
    				<record id="object_property">
    					<integer id="get_property" value="TVca" />
    					<integer id="set_property" value="objt" />
    				</record>
    			</widget>
    			<widget class="person_snapshot_club_overview_panel" id="KeyP" player="true" file="team/pwm/person snapshot key player">
    				<record id="object_property">
    					<integer id="get_property" value="TKpL" />
    					<integer id="set_property" value="objt" />
    				</record>
    			</widget>
     			<widget class="person_snapshot_club_overview_panel" id="HotP" player="true" file="team/pwm/person snapshot hot prospect">
    			</widget>
    	</container>
    </panel>
    person snapshot hot prospect.xml
    
    <panel>
    	<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    	<record id="object_property" get_property="objt" set_property="objt"/>
    	<container class="tato">
    		<!--<layout class="arrange_horizontal_attachment" layout="-1,-3"/>-->
    		<attachment_group class="horizontal_arrange_vertical_autosize_centre" horizontal_layout="80,130,-1" horizontal_offset="0" horizontal_gap="0"/>
    		<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true"/>
    		<container width="80" height="58">
    			<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    			<widget class="picture" file="icons/custom/player stats/prospect" red_replacement="title" image_alignment="left,top" scale_picture="false" blue_replacement="black"/>
    			<widget class="picture" id="picM" image_alignment="right,bottom" scale_picture="true" keep_aspect_ratio="true">
    				<attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn">
    					<list id="value">
    						<boolean value="false"/>
    					</list>
    				</attachment>
    				<record id="object_property">
    					<list id="get_properties">
    						<record>
    							<integer id="get_property" value="fcgn"/>
    							<!--Facegen data request-->
    						</record>
    						<record>
    							<integer id="get_property" value="Pfke"/>
    							<!--Fake name request-->
    						</record>
    						<record>
    							<integer id="get_property" value="prpc"/>
    							<integer id="set_property" value="valu"/>
    						</record>
    					</list>
    				</record>
    			</widget>
    		</container>
    		<container>
    			<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    			<container id="info">
    				<layout class="arrange_vertical_attachment" layout="-1,-2" offset="0" gap="0"/>
    				<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true"/>
    				<widget class="label" alignment="left,top,can_scale" font="label" auto_size="vertical" >
    					<translation id="text" translation_id="227404" type="use" value="Hot Prospect"/>
    				</widget>
    				<widget class="client_object_viewer_xml_panel" id="perM" file="widgets/person name and nationality widget" style="semi_bold" alignment="left,centre_y" info_popup_enabled="true" info_popup_alignment="left,centre_y" auto_size="vertical">
    					<record id="object_property">
    						<integer id="get_property" value="PNaN"/>
    						<integer id="set_property" value="valu"/>
    					</record>
    				</widget>
    			</container>
    			<widget class="label" id="nofo">
    				<translation id="text" translation_id="320493" type="use" value="None currently[COMMENT: text indicating that there is no person to view here currently (e.g. a manager, captain, vice captain etc.)]"/>
    			</widget>
    		</container>
    		<container>
    			<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
    			<widget class="client_object_viewer_xml_panel" file="player/player positions indicator tiny" alignment="left,centre_y">
    				<record id="object_property">
    					<integer id="get_property" value="PpsP"/>
    					<integer id="set_property" value="valu"/>
    				</record>
    			</widget>
    		</container>
    	</container>
    </panel>

    Any tricks to get it working? 

  7. 1 hour ago, kimmanzambi01 said:

    hi mate can you please share this panel.

    Sure, I want to make a couple of updates to the top ribbon first and then will post up my files.

    I have given up on the calendar time-line for now and have gone with adding the league progress graph as part of the bottom panel. Sort of serves the same purpose in visualising how the season is tracking along in terms of start to end.

    3sGT0IX.png

     

     

  8. Got some time to get back to enhancing my widescreen team squad view and tidying up the additional stat and facts ribbons. Reworked some of the XML code so it leverages SET_VAR tags more so it is easy to make quick edits.

    bQqBzTE.png

    Next thing I want to tackle is trying to add a Calendar Time-line to the bottom so it updates as you process through the game. Might be biting off more than I can chew.

  9. 23 hours ago, Powermonger said:

    Has anyone had luck pulling out individual stats from the Club Info > History > Records panel? The file used for this panel is team container records summary panel.xml, and seems to use a lot of IDs to reference information that are not property IDs. The team properties file does have 5 record IDs used for different record stats with a widget class of team_container_record_text, so not all of them are represented, but these are never used directly by the team container records summary panel.xml.

    I've been trying to pull out the Highest Transfer Fee Paid and Highest Transfer Fee Received which are found in the team properties as a starting point to see if I can get something working from the Squad Team view but no success yet.

    DvVyqaI.png

    I used the following code to call my panel referencing the Transfer records but it would only display my labels and no data.

    <widget class="team_container_records_summary_panel" id="recs" file="team/pwm/team squad club records ribbon" late_loading="true" height="62" >
              <record id="object_property" get_property="Tftm" set_property="objt"/>
    </widget>

    Anyone have an helpful hints?

    OK I got it working after stripping it back to the bare bones.

    h4MqmK0.png

    Now to see if I can get a portrait to load.

  10. Has anyone had luck pulling out individual stats from the Club Info > History > Records panel? The file used for this panel is team container records summary panel.xml, and seems to use a lot of IDs to reference information that are not property IDs. The team properties file does have 5 record IDs used for different record stats with a widget class of team_container_record_text, so not all of them are represented, but these are never used directly by the team container records summary panel.xml.

    I've been trying to pull out the Highest Transfer Fee Paid and Highest Transfer Fee Received which are found in the team properties as a starting point to see if I can get something working from the Squad Team view but no success yet.

    DvVyqaI.png

    I used the following code to call my panel referencing the Transfer records but it would only display my labels and no data.

    <widget class="team_container_records_summary_panel" id="recs" file="team/pwm/team squad club records ribbon" late_loading="true" height="62" >
              <record id="object_property" get_property="Tftm" set_property="objt"/>
    </widget>

    Anyone have an helpful hints?

  11. I've been fiddling around with the <set_var name="insert_name_here"> and <var id="?????" name="insert_name"/> syntax to try and tidy up my XML panels and rework some of them, especially around portraits.

    Example:
    
    <var id="widget_id" name="portrait_id"/>
    
    <set_var name="portrait_id">
      <flags value="tgsp"/>
    </set_var>

    From the example above, which is used as follows

    <widget class="object_portrait_picture" image_alignment="right,bottom" scale_picture="true" keep_aspect_ratio="true">
      <var id="widget_id" name="portrait_id"/>
    </widget>

    This gets translated to the following <widget class="object_portrait_picture" id=tgsp /> correct?

    I am trying to see if I can use something similar to use with object_property for setting the get_property value but cannot find any examples anywhere.

    From the file searching I have done, it looks like <var id=""> has no equivalent to use with object_property?

    I feel like I have been jumping around looking at different XML code and experimenting that I am going around in circles and confusing myself :(

    Any helpful insights?

     

     

  12. 10 hours ago, snowofman said:

    Try and go into your team properties.xml file and change

    <flags id="customisation_context" value="none" />

    to 

    <flags id="customisation_context" value="play" />

    for each xg id - "ovxG" etc

    you might have to restart  the game to see if it has any effect

    else try this as class

    client_object_property_labelled_panel

    Thanks for the suggestions, I'll give them a try. Currently I am isolating out the xG related stats and got them working, Next I will then work on the percentage based stats, they don't seem to play well with the xG based stats. 

  13. On 06/05/2023 at 20:37, _Ben_ said:

    I have never been able to get anywhere with that ranking system! I will go back and have a look and see what I can find out...

    I have success!

    1Hxv9IC.png

    I've managed to get the stats_ranking_label widget working in displaying the Ranking text in my panel and it persists between switching screens or switching teams with the up/down arrows.

    Unfortunately in the process I broke the various team stats from displaying.

    I am calling my panel from the Team Squad.XML view as follows:

    	<container class="client_object_viewer_xml_panel" file="team/pwm/team squad stats ribbon" late_loading="true" height="62" >
    		<record id="object_property" get_property="Tftm" set_property="objt"/>
    	</container>

    For the xG and related stats that are now not displaying, I think I need to find the correct container class so they display. This is a snippet of what I am currently using for xG:

    <container>
      <layout class="arrange_horizontal_attachment" alignment="left,extend" offset="0" gap="3"/>
      <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true"/>
      <widget class="formatted_label" size="large" style="bold" auto_size="horizontal" alignment="left,top" format="[%fraction#1-2.1]" >
        <record id="object_property" get_property="ovxG" dont_set_object="true" />
      </widget>
    </container>

    I've been searching the base skin files but can't find anything that can point me in the right direction. :(

  14. 4 minutes ago, _Ben_ said:

    I have never been able to get anywhere with that ranking system! I will go back and have a look and see what I can find out...

    Those little panels look lovely and I like your approach to filling the big space you have on your monitor.

    Let me know if you find anything.

    And thanks, on big wide screen monitors the Team Squad screen is so barren, I am trying to spruik it up so it is more interesting to look at. The panels I am working on aren't complete yet, I need to swap out some of the icons.

  15. 10 minutes ago, snowofman said:

    I finally found the post.

    Take a look through this, it all started with a simple personality line and evolved into something very nice.
    there are codes and files posted throughout the post, so maybe there is some solution for you there

    Awesome, thanks heaps for finding it. I'll give it a read now. :thup:

  16. 21 hours ago, snowofman said:

    Seeing as what you're doing is close to what has been done at the top by others, i would believe that you would be able to reuse the container that @Tyburn had made.
    the reason that worked was a combination of the different classes if i remember correct, and it might bring you closer to what you want and work.

    Thanks for the links. Is the following code from Tyburn the one you are talking about?

     

  17. For the last few nights I've been working on the below ribbon panel for the Squad View screen but I've run into an issue that is driving me up the wall.

    xqjmqFf.png

    In the Squad View.xml I am using the following code to load the panel:

    <container class="competition_team_stats_panel" file="team/pwm/team squad stats ribbon" late_loading="true" height="62" >
      <record id="object_property" get_property="objt" set_property="objt"/>
    </container>

    The problem I am having is none of the values load when I first launch FM, load a save and enter the Squad screen. If I immediately force a Skin Reload after loading the save the values then appear but some values are wrong. Alternatively, if I browse to the Competition > Team Stats > Stats > Team Detailed, then click in some of the stats that are in the panel and return back to the Squad View screen the values start appearing in the panel. The other issue is no matter what I try I cannot get the stats_ranking_label values to populate.

    The panel is a revamp of the team stats summary.xml, I've tried loading the panel using team_stats_summary_panel but still doesn't work. I noticed @_Ben_ has done something similar for his skin and is using get_property="Csca" & set_property="Csca" which works a bit better but I have no idea why using the Squad Personality property makes it work.

    I'm just tearing my hair out, I must be doing something wrong. :(

  18. I am trying to make more use of <widget class="stats_ranking_label"> used in the team stats summary.xml file. I would like to find if there are more Property IDs for team stats this class can return information for besides the ones found in this file? The IDs it uses are different to the ones found in the Team Properties.xml file.

    Example:

    <widget class="label" size="large" style="bold" auto_size="horizontal" alignment="left,top">
      <record id="object_property" get_property="Torc" dont_set_object="true" />
    </widget>
    <widget class="stats_ranking_label" colour="faded text" size="large">
      <record id="object_property" get_property="TorR" dont_set_object="true"/>
    </widget>

    TorR is one of five property IDs that are exposed in the FM base skin for "stats_ranking_label", not sure if that's it all there are more available.

  19. 1 hour ago, snowofman said:

    I believe it's hardcoded

    I know we are a few that has been searching for those seperators before without luck

    Bugger. The best I can find is the underlying .png file (fm-widgets\graphics\tables\standard\column\separator\right|left|both) but can't find anything that refers to them.

  20. In the Table view like screens (i.e. Squad View, Player Shortlist, Scouted Players etc), does anyone know what the XML code used to create the Separator's that you add in game via Right-Click?

    As an example I have tried the following between two fields:

    <flags id="Pcww" />
    <!-- wage -->
    <widget class="vertical_divider" width="2" />
    <flags id="Pdva" />
    <!-- value -->

    This doesn't work. Any ideas?

×
×
  • Create New...