Jump to content

Powermonger

Members+
  • Posts

    1,445
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Powermonger

  1. On 29/04/2023 at 01:38, snowofman said:

    Or use - <record id="Pnat" width="20" label_disabled="true"/>
    that would work aswell, but ofc only for the wanted line / view

    Using @lugui suggestion, it will count for all views

     

    Thanks, finally got around to testing this after being sick with the flu.

    This got me partially to what I was trying to do, I put in a couple of other tags to force the image resize:

    <record id="Pnat" height="60" scale_picture="true" keep_aspect_ratio="true" label_disabled="true"/>

    I currently have the following results:

    OT0LCaZ.png

    Now trying to see how to force it to use the Large flag icon set and scale the image down insteadof scaling up the small pictures.

     

  2. Lately I've been working on making some changes to the Squad View Overview screen as I use a large ultrawide monitor and the standard Overview panel seems better suited for smaller screens. Part of my goal is make it display more graphical elements.

    EA4AzEE.png

    One of the things I want to change is to update the Picking Panel so the boxes are bigger and I include things like the player face and role suitability star rating. Looking at the files, the Picking Panel seems to be locked off from changes?

    Another thing I want to do is for the Nationality column, I want to ditch the TLA abbreviation and only display the flag and fill up the cell, is this just a matter of creating a custom property?

  3. I've been working on additions to the Squad list view that's more large screen friendly. I've been trying to make a column that combines the Current Ability and Potential Ability Star Ratings columns, so they are stacked, but just can't get it to work or even appear. This is what I have thus far:

    <!-- person properties.xml -->
    
    	<record>
    		<integer id="id" value="PcAP" />
    		<integer id="width" value="78" />
    		<integer id="minimum_width" value="78" />
    		<translation id="name" translation_id="257318" type="use" value="Assistant manager's opinion of this player's current and potential ability[COMMENT - person list view column heading hint]" />
    		<flags id="customisation_context" value="play" />
    		<translation id="category" translation_id="230043" type="use" value="Coaching" />
    		<translation id="category" type="use" value="Ability Potential[COMMENT: player popup info panel - scout current ability rating]" />
    		<boolean id="sort_ascending" value="false" />
    		<integer id="auto_hide_priority" value="300" />
    		<record id="widget_info">
    			<symbol id="class" value="client_object_viewer_xml_panel" />
    			<string id="file" value="widgets/pwm/person ability and potential widget" />
    		</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" type="use" value="Ability / Potential[COMMENT: player popup info panel - scout current ability rating]" />
    			<translation id="hint" translation_id="257318" type="use" value="Assistant manager's opinion of this player's current and potential ability[COMMENT - person list view column heading hint]" />
    		</record>
    
    		<record id="search_filter">
    			<integer id="id" value="pfST" />
    		</record>
    	</record>
    
    <!-- person ability and potential widget.xml -->
    <panel auto_size_minimum_height="60">
      <layout class="arrange_vertical_attachment" alignment="middle" offset="2" gap="0"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0"/>
      <flags id="child_for_sort" value="Pcac"/>
    
      <widget class="coach_stars_label" id="Pcac" >
        <record id="object_property" get_property="Pcac" set_property="valu" />
      </widget>
    
      <widget class="coach_stars_label" id="Pppc" >
        <record id="object_property" get_property="Pppc" set_property="valu" />
      </widget>
      
    </panel>
    
    <!-- team squad.xml -->
    <list id="viws">
    	<record id="geni">
    		<record id="view_table_properties">
    			<integer id="row_height" value="60" />
    		</record>
    		<translation id="name" translation_id="247410" type="use" value="General Info" />
    		<!-- Define attributes/properties to view in this view type on the panel.
    				 Any properties not defined here will be hidden for this view. -->
    		<record id="view">
    			<flags id="PtsL" />
    			<!-- picked info -->
    			<flags id="Pnfo" />
    			<!-- player status/info -->
    			<flags id="port" />
    			<!-- player portrait -->
    			<flags id="PcAP" />
    			<!-- Current and Potential Ability -->

     Am I heading down the right path or is it not possible? It also looks like the "coach_stars_label" widget is not an available file to edit either?

  4. 7 hours ago, snowofman said:

    Drawing on paper aint that bad but you should try and look here, this and the Pastebin is a very nice way of doing things and the way i'm always returning to..

    The entire thread is very good.. I remember there was a minor post by @bluestillidie00 where he explained it in a smaller scale, but i can't find the post for the life of me :( so i'll just drop this for you instead.

     

    Awesome, I'll give it a read. :thup:

    EDIT: Okay I finished reading it and for such a short thread it packs a punch. I'll certainly start using some of these tips for doing the layout first and visualise the results in game first.

  5. 4 hours ago, MattyEssTTV said:

    I gave it a crack and couldn't get it to work, mind you, I am useless at this. Thanks anyway mate. :)

    I'm pretty crap too but slowly feeling more comfortable with it. I've actually resorted to drawing on paper first what I want to accomplish and colour code the objects and containers I think I need and then look at the code and files. This really helped make thinks clearer.

  6. 11 minutes ago, snowofman said:

    <widget class="value_based_picture" id="Ctf*" scale_picture="true" image_alignment="centre" keep_aspect_ratio="true" >
        <list id="value_list">
            <record min_value="20" max_value="20" file="picturepath" />    
            <record min_value="19" max_value="19" file="picturepath" />    
            <record min_value="18" max_value="18" file="picturepath" /> 
            <record min_value="17" max_value="17" file="picturepath" />
            <record min_value="16" max_value="16" file="picturepath" />    
            <record min_value="15" max_value="15" file="picturepath" />    
            <record min_value="14" max_value="14" file="picturepath" />    
            <record min_value="13" max_value="13" file="picturepath" />    
            <record min_value="12" max_value="12" file="picturepath" />    
            <record min_value="11" max_value="11" file="picturepath" />    
        </list>
            <record id="object_property" get_property="Ctf*"/>
    </widget>

    maybe it can be used, 

    Thanks much appreciated, I'll give it a go.

  7. 53 minutes ago, snowofman said:

    try and look here

    sitoolkit\skins\fm-widgets\graphics\buttons\custom\transfer value

    Thanks found it, not sure how I missed it :( Doesn't look like I can do what I was hoping to do and setup colouring of the Transfer Value tag based on value range. I can't find any widget or class file that calls this graphic to edit its behaviour.

  8. 1 hour ago, snowofman said:

    import them again, edit and export with changs ?

    I did the reverse, I created an additional standard view in the corresponding XML file, made the necessary changes (row height, additional non-standard columns) then reloaded the skin and made a custom view from this additional standard view. Exporting and reimporting this custom view retains the changes I made in the XML file.

  9. 18 hours ago, GIMN said:

    It loads the person properties file of the skin in use at the point you load up FM.  So anytime you make a change to that file, you need to close down FM entirely, and load back in.

    Ah yes, that's the trick, now my settings are working. Cheers

     

    EDIT: How do you edit exported Views directly? Loading them up in the FM23 Resource Archive and extract the files doesn't work despite them being .FMF files.

  10. I've been working on some skin changes to replace Attribute numbers with a grading system. I've got it working fine on Player Profiles but cannot fully work out how to transpose these grades to the Squad view list.

    t8nSHFs.png

     

    Deconstructing what bluestillidie00 for the WTS skin, it looks like I need to add some widget info to each attribute within person properties.xml pointing to the class handling the graphical change?

    Example:

    <record id="widget_info">
      <symbol id="class" value="attribute_grade" />
    </record>

    When I do switch to the WTS Attributeless skin, the Squad list view only ever shows numbers for me, not sure if it is suppose to be the Bars only for all views or just player profiles.

    The other night while editing some other panel not related to this change, after reloading the skin and switching to other skins a few times, suddenly FM displayed only the Grades above for Manager profiles, squad lists, scout lists etc. I wish I took some screenshots because when I reloaded FM23 again it reverted back to numbers except for the panel above I specifically made changes for previously. Not sure if I hit a bug with all the skin reloads.

    EDIT: Just before I was about to head to bed, I downloaded @GIMN latest Mustermann Dark Graphical skin to poke around, extracting the RAR and loading the skin in FM. Before closing down FM23, I switched back to my modified Tato skin and lo-and-behold, every screen is now using the Grades I put in. Has FM cached the person properties.xml or is something else at play?

    vnM3Jni.png

     

    es1SgcL.png

     

    H53JAYH.png
     

     

  11. I've been working on adding an additional Spider-Chart/Radar Chart dashboard panel to the main centre panel in the Player Profile screen.

    fMrYPtT.png

    Needs some further tweaking, but happy with it so far. I wish I could make the charts be more like the spider charts used in the Data Hub with a shaded chart line centre.

  12. 4 hours ago, bluestillidie00 said:

    If you look through some old TCS skins (2019/2020 spring to mind), I commented some pretty heavily.

    The layout arranges the panel horizontally, positive numbers indicate pixel counts. Negative use ratios to fill the rest of the space. I wrote this like 18 months ago for a project i eventually abandoned

    image.png.6d869e8c4074cdebae02c3d8de31f1dd.png 

    Thanks mate, will give it a read and download one of the older TCS skins to check the comments. 

  13. Is there a concise breakdown anywhere about <label/> & <container/> and what all there parameters are and do?

    i.e.

    <layout class="horizontal_arrange" horizontal_layout="15,95,15,-11,15,-2" offset="0" gap="0"/>
    <container class="horizontal_adaptive_container" offset="0" inset="0" gap="0" mode="distribute_equally">

    I've read some of the Skinning bible but it glosses over most of the options. I wish the files that SI put together had comments in them more, especially all the different classes.

  14. 7 hours ago, GIMN said:

    Sensational!  A brilliant idea.  What has been your thinking behind attribute ranges - is it an even spread, or have you chosen for something a little more funky?

    Thanks. I always liked the newer scouting grades and thought they’d work well with the attributes. 
     

    There are 12 grades so it’s no possible to evenly spread them, however at the moment it is more of a bell curve allocation with a push to the left a bit. The A grades cover single digits only. I might experiment with the colouring so grades are grouped together by a common colour. 

  15. Thanks @Wozzie for a great skin, its been my favourite for a couple of games now.

    I've been making some small additions to suit my needs and have been working on the following Attributeless panel and exchanging numbers for Attribute grade rankings.

    Grades are based on the Scout Recommendation Grades already in the game and using the same colour scheme. Still a work in progress, I'll move on the Squad List panels next.

    The below screenshot are Lionel Messi.

    eSgGeSG.png

  16. Is it possible to add additional attribute boundaries that are configurable from within the game like the existing boundaries?

    I can find the settings in application_settings.xml

    	<!--see game_types.h-->
    	<integer id="auto_save_mode" value="30" />
    	<integer id="match_scheduling_mode" value="1" />
    	<integer id="view_match_result_only" value="1" />
    	<boolean id="skip_match_day_experience" value="false" />
    	<boolean id="enable_background_changes" value="true" />
    	<boolean id="always_reload_skin" value="false" />
    	<boolean id="save_shortlist_with_suffix" value="true" />
    	<integer id="average_attribute_boundary" value="6" />
    	<integer id="good_attribute_boundary" value="11" />
    	<integer id="excellent_attribute_boundary" value="16" />

    Adding something like:

    	<integer id="poor_attribute_boundary" value="3" />
    	<integer id="verygood_attribute_boundary" value="14" />

    I can see files like game_settings_meta_data.xml and fm colours.xml would also need to be updated with corresponding updates.

    I can't see how these boundaries get referenced so they are reflected in panels that show player lists with attributes? The existing boundary references look to be locked by the underlying code? Or am I missing something?

    From deconstructing other community skins I can see how people get around by some custom xml files but cannot find any examples of custom boundaries being utilised.

×
×
  • Create New...