Jump to content

ram63

Members+
  • Posts

    29
  • Joined

  • Last visited

Posts posted by ram63

  1. vor 27 Minuten schrieb snowofman:

    game.xml from the menus.fmf

    Great, I found thanks.

    Unfortunately this directly leads to the next question :)

    In there, the Link to SI support pages are defined like following:

     

    <record id="guIB">
                        <translation id="text" translation_id="551807" type="use" value="Guides[COMMENT: AREA: FM Menu; SUB-AREA: Support; FR-BN: FM-4106; TONE: Formal; CHARLIMIT: None; REF-ID: XXXXXX; NOTE; links to guides]" />
                        <flags id="event_id" value="sGui" />
                        <flags id="mode" value="1" />
                    </record>

     

    Where do I find the definiton for 

     

     <flags id="event_id" value="sGUI" />

    and which action it actually triggers? I checked through all extracted original Files but "sGUI" is nowhere to be found except in a couple of game.xml files...

     

    The background is, if you add external content links to pages, the FM button disappears... It gets replaced with either the Icon you have assigned (kind of faded version) or with nothing if no Icon assigned.

    However, in SIs implementation this does NOT happen. FM Icon stays untouched, so this must have something to do with how external references are called...

    For now this works like:

     

    <record>
          <translation id="text" type="use" value="Ultrarealistic NewGen Faces"/>
          <flags id="event_id" value="OURL"/>
          <flags id="url" value="https://fm.zweierkette.de/grafiken-mods/ultrarealistic-newgan-faces/"/>
          <flags id="icon" value="icons/custom/rr"/>
        </record>

     

    and this leads to the result, that the orginal Button assigned to the menu, gets replaced with a shaded version of the icon assigned to the content entry...

     

    So has anyone an idea on how to avoid this behaviour?

     

     

     

     

  2. Good morning,

     

    I'd really like to learn and understand soemthing which I seem to completely miss so far - It's something from Tato Skin but I think it might be something really basic I miss here - so maybe I can get some answer here...

     I tried to extend something within his skin (selectable panel in club overview):

     

    image.png.c3c7e212a0718b6b71597068ff84e932.png

     

    As you can see, I tried adding the technical directory and it fails...

     

    So I checked the the code for the file responsible for that (club overview staff extended panel.xml) and it starts like:

     

            <!--manager-->
            <container class="tato" default_height="60" priority="1">
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

                <container id="manC">
                    <layout class="arrange_horizontal_attachment" layout="-1,-2" />
                    <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />

                    <widget class="label" alignment="left,centre_y" size="9">
                        <translation id="text" translation_id="227981" type="use" value="Manager" />
                    </widget>
                    <widget class="person_snapshot_club_overview_panel" file="club/woz/tab/person snapshot club overview manager" id="mana" player="false">
                        <record id="object_property">
                            <integer id="get_property" value="TMnR" />
                            <integer id="set_property" value="objt" />
                        </record>
                    </widget>
                </container>

                <container id="nomC">
                    <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

                    <widget class="object_action_button" id="oabt" action_id="TCpJ">
                        <record id="object_property">
                            <integer id="get_property" value="objt" />
                            <integer id="set_property" value="objt" />
                        </record>
                    </widget>
                </container> 
            </container>

         <container class="tato" red_replacement="woz_3rd" default_height="60"  priority="1">
                <layout class="arrange_horizontal_attachment" layout="-1,-2" />
                <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />
             <widget class="label" alignment="left,centre_y" size="9">
                <translation id="text" translation_id="227983" type="use"/>
            </widget>
            <widget class="person_snapshot_club_overview_panel" file="club/woz/tab/person snapshot club overview ass" id="cmta" player="false">
            <record id="object_property">
              <integer id="get_property" value="CMTA" />
              <integer id="set_property" value="objt" />
            </record>
          </widget>
        </container>

     

    While for the first entry we have:

     <integer id="get_property" value="TMnR" />

    which seems logical for me as it can be found in person properties.xml and does relate to the manager, for the second widget call (assistant manager) we have this:

     

            <translation id="text" translation_id="227983" type="use"/>
            </widget>
            <widget class="person_snapshot_club_overview_panel" file="club/woz/tab/person snapshot club overview ass" id="cmta" player="false">
            <record id="object_property">
              <integer id="get_property" value="CMTA" />
              <integer id="set_property" value="objt" />
            </record>
          </widget>

     

    and as you can see in the picture - it does properly display the assistant manager. So I thought adding another staff person (technical director in this case) should work like:

     

     <container class="tato" red_replacement="woz_3rd" default_height="60"  priority="1">
                <layout class="arrange_horizontal_attachment" layout="-1,-2" />
                <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />
             <widget class="label" alignment="left,centre_y" size="9">
                <translation id="text" translation_id="482629" type="use"/>
            </widget>
            <widget class="person_snapshot_club_overview_panel" file="club/woz/tab/person snapshot club overview td" id="PPtd" player="false">
            <record id="object_property">
              <integer id="get_property" value="PPtd" />
              <integer id="set_property" value="objt" />
            </record>
          </widget>
        </container>

    PPtd is the definition in person properties.xml - but it fails. 

    When I rechecked what might be wrong, I realized that only the first definiton for the manager has a valid reference to person properties.xml:

     <integer id="get_property" value="TMnR" />

    However

    <integer id="get_property" value="CMTA" />

    as used for the assistant manager does not. Actually this is nowhere to be found other than in this particular xml... Same goes for all other displayed staff people,

    none of the 

    <integer id="get_property" value="*" /> 

    definitions actually match with person properties.xml - still they all do work properly - except the one I added :)

     

    So obviously I miss on something very basic here in my understanding how this is adressed. In particular, because of all the referenced subpanels called, like:

       <widget class="person_snapshot_club_overview_panel" file="club/woz/tab/person snapshot club overview ass" id="cmta" player="false">

    are pretty much identical - except the attributes shown, which are aligning to the functionality.

     

    I would really be glad, if someone can explain to me what I obviously do not know and understand yet and what I miss in basic understanding how that adressing works...

     

     

     

     

     

     

  3. I really like this view...

     

    image.png.e3d24017a685b0ac1a0acafd1e596aa0.png

    So I tried to extend and add the Technical Director - which is "KEY-482629: Technical Director".

    As you can see, it translates properly, so the key seems to be fine. So for displaying the TD, I copied the file from DOF and hoped it would appear - however it does not.

    Comparing the individual "person snapshot club overview xxx" xmls, I realized that they are pretty much identical - besides the displayed attributes of course. so I was prepared to adjust them once the TD shows up.

    As I'd also would like to add the Loan manager as well (not sure if the panel scales but could easily remove the manager here, as it does show on the Key Persons tab as well, so that should work at least) , I'd like

    to learn what I overlook here in the calling widget, so the adressed person shows up?

     

    The code I use to call the TD (additional xml) is:

    <container class="tato" red_replacement="woz_3rd" default_height="60"  priority="1">
                <layout class="arrange_horizontal_attachment" layout="-1,-2" />
                <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />
             <widget class="label" alignment="left,centre_y" size="9">
                <translation id="text" translation_id="482629" type="use"/>
            </widget>
            <widget class="person_snapshot_club_overview_panel" file="club/woz/tab/person snapshot club overview td" id="PPtd" player="false">
            <record id="object_property">
              <integer id="get_property" value="PPtd" />
              <integer id="set_property" value="objt" />
            </record>
          </widget>
        </container>

     

    Hope someone can help me with that... 

    Just to add, if there is no one on a particluar position, it does show porperly...
    image.png.c2a68de72efd12f6b29e29e31bf54668.png

     

    So something must be dead wrong with my approach for displaying the TD :(

    I my two examples, both Clubs (Bayern, Kaiserslautern) do have a TD of course :)

     

  4. New day, new issue :)

    I lately copied Ben's addtion to the team squad view - as I like the short summary of additonal information of the team.

    image.thumb.png.86b84e5fb51023762be5cbb6534696b2.png

    As you can see, it's working fine so far.

    However, as soon as I switch to a different team and into their squad overview  - all values get lost. When I return to my own squad - they stay in lost status. Only reloading the skin does bring them back.

    So I think I miss some kind of "refresh" mechanism here, which might be implemented somehwere in the skins where it's working properly.

    Can someone push me into the right direction what I need to look for, to make it work properly?

    Thanks in advance...

  5. vor 9 Stunden schrieb snowofman:

    have you looked at other stadiums to see if it's maybe only a few that has no owners ?

    Oh, good you mentioned it - I lamost forgot... 

     

    Yes, it does show owner - but only when the club owns the stadium. If it's the city or community it doesnt show anything... Still, I'm sure it did in the past.

    So I did some cross checking and found out, it relates to potential inconsistency in the database....

     

    For example:

     

     

    Malmö FF - owner Malmö FF owner type is club

    AIK Solna - owner empty owner type council

    Degerfors IF - owner is Degerfors IF   owner type is council

     

    So even though both Solna and Degerfors do NOT own the stadium, it does show the clubname as it's nevertheless set as owner in the database.

     

    So I think it's the better approach to switch the call (and class for the widget) to something like

    <widget class="stadium_owner_type_label" spec="text,large,bold" id="Soty" size="10" colour="yellow" alignment="centre_x,top,can_scale" icon_alignment="left,top" icon_enabled="false" font="fonts/capitals_bold">
                            <record id="object_property">
                              <integer id="get_property" value="Soty" />
                            </record>
                          </widget>                          

     

    which I did and now get the wanted result.

    Now you can see if actually the club owns the stadium or the council (or whatever is set as stadium type owner) - which was the initial purpose...

    Thanks for pointing into the right direction!

     

     

     

  6. vor 1 Minute schrieb snowofman:

    Why not just ask Flut ? he's normaly very helpfull when it comes to his skin if something isnt working

    but the code seems fine.

    I agree, he is very helpful and I already did ask him on that, Unfortunately, he doesn't know either why it's not working.

    That's why I thought to come here and ask if something has changed... 

  7. It's still weird anyway - this is a part of the satdium overview page from Flut skin

    image.png.a529f24ca98835ca8c9383c813659f4c.png

    The code for this is:

     

    <widget class="club_button" spec="text,large,bold" id="Sown" size="10" colour="yellow" alignment="centre_x,top,can_scale" icon_alignment="left,top" icon_enabled="false" font="fonts/capitals_bold">
                            <record id="object_property">
                              <integer id="get_property" value="Sown" />
                            </record>
                          </widget>                          
                    </container> 

     

  8. Just a minor question and hoping somebody can help.

     

    While having fun with the game, I regularly switch between SAS and Flut Skin - as I like both a lot. During the 3 D Match, I realized a difference within the substitute sceen. One shows the icons, whil ethe other one shows the %

    image.png.d3a0cd92a8671bcef909c414eeead356.png

    So I checked into the code and to my surprise the code is pretty much identical - in the end its like

    <widget class="icon_button" id="qsub" .... with slightly differering format options.

    So both skins call the same ID cbut get a different result? 

    Further checks for any appearance of "qsub" within any panel was unsuccesful, so I assume it comes from the original game rather then from one of the two individual skins. However, if so how can the same call end up with different panels?

    I would really like to understand how to define which version of the substitution panel will be displayed.

    Any help would be very appreciated...

     

     

     

     

     

     

  9. Good morning,

     

    still trying to understand things in skins and at least slightly progressing :)

     

    I'm currently trying to understand how to display various background pictures within pages.

    Something like

    <widget class="background" file="backgrounds" id="bgnd">

    will end up showing me the Stadium background picture, which is used in some skins.

     

    How would that need to look, if I want to show the city background instead?

  10. vor 4 Minuten schrieb snowofman:

    as said, you should be able to just do a replace

    meaning that you place the new widget where the once you removed was

    Yes, I understood the principle, but what is the actual code to call that widget?

    The code I removed to make the link dissappearing was for displaying a link - not the widget itsself...

  11. vor 16 Minuten schrieb snowofman:

    You should be able to just take the widget and replace the current widget.

    the customized widget remembers how you left it.

    I was able to remove the constructed comparison bar as well as the link to the widget...

    image.png.3a60f300208ed7e5ffb029874dcf47fe.png

    The code which removed the link was:

    <widget class="link_button" id="MSln" section="mtst" alignment="centre" auto_size="all" colour="match accent" red_replacement="match accent" blue_replacement="match accent">
                        <translation id="text" translation_id="247439" type="use" value="Match Stats" />
                    </widget>

    How do I now place the actual widget?

     

     

     

  12. vor 32 Minuten schrieb snowofman:

    I know this is not what you're asking, but if i were you i would just have located the same widget where you have the customize button, then you have all the data you'll ever need and can click them on a and off

     

    as to your question, i have no idea tbf, i would have taken the easy way as said above

    You're right, that was intentionally not what I was looking for - but still could be an option.

    Unfortunately I have no idea on how to do that? I mightz be able to locate it but how do I put it in expanded already? Currently it is there as a link obviously...

     

     

     

  13. Good morning,

     

    I have a small question regarding a skin I'm using.

     

    If I go to Schedule, select a match and go to "view match" I get a nicely prepared page like in the picture.

    image.thumb.png.a7ff43f1d2947f7d32cd33c7b4bfb615.png

     I was able to track down, how the statistic lines in the marked area are created

    <widget class="match_analysis_stat_comparison" comparison_type="0" />

    where "comparison_type="number"

    represents a particular statistic.

    So I did some try and error to find out which value respresents which statistic - and I added the "Shots on woodwork" as in the pciture as an example.

    Initially I was looking to add the xG but even trying all numbers between 0 and 50 I did not find it. Even further, every value above 40 does only show a "-1" in the line and no describing text - so I guess it's unused.

    However, if I expand the "Match Stats" - it's there!

    image.png.65ee5a9eaffc6bb087c775e60a4a6748.png

     

    That's most likely a pre-defined widget?

     

    So can someone tell me if it's possible to display the xG in the self created overview in the first picture as well?

    As said before, with different values for "comparison_type="*"" I can make all kind of different match stats visible - except the xG :( 

     

     

     

     

     

×
×
  • Create New...