saint Devill - Comments

Comments
#798556 Please please help with alignment
saint Devill
6 years ago
1 month ago
7

Hi 

Please help.. I've spent all day trying to figure this out....

Im trying to incorporate Right and Left foot strength to the attribute table... All the elements are there, but I can't get them to line up (see attached)

I would like to move or realign shoe icon + description (e.g. weak ... strong … v strong) to the corresponding foot

This is what I have done so far (under the attribute panel)

                     

                      <!-- Preferred Foot-->
                        <container class="tcs_table" transparency="0.8">
                            <attachment_group class="vertical_arrange_autosize" vertical_offset="95" horizontal_alignment="horizontal" horizontal_inset="0" />

                            <widget class="label" id="PlfG" auto_size="vertical" font="title" colour="text">
                                <record id="object_property" get_property="PlfG" name="true" />
                                <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0,0,0,20" />
                            </widget>

                            <container height="20">
                                <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" horizontal_gap="5"/>

                                <widget class="value_based_picture" file="tcs/icons/footedness/footedness" width="24">
                                    <list id="value_list">
                                        <record min_value="1" max_value="4" red_replacement="bg red" brep="white"/>
                                        <record min_value="5" max_value="8" red_replacement="bg range4" brep="white"/>
                                        <record min_value="9" max_value="11" red_replacement="bg range8" brep="white"/>
                                        <record min_value="12" max_value="14" red_replacement="bg range12" brep="white"/>
                                        <record min_value="15" max_value="17" red_replacement="bg range16" brep="white"/>
                                        <record min_value="18" max_value="20" red_replacement="bg green" brep="white"/>
                                    </list>
                                    <record id="object_property" get_property="PlfG"/>
                                </widget>

                                <widget class="footedness_label" id="PlfG" auto_size="vertical">
                                    <record id="object_property" get_property="PlfG" />
                                </widget>
                            </container>
                        </container>

                        <!-- Preferred Foot-->
                        <container class="tcs_table" transparency="0.8">
                            <attachment_group class="vertical_arrange_autosize" vertical_offset="70" horizontal_alignment="horizontal" horizontal_inset="0" />

                            <widget class="label" id="PlfG" auto_size="vertical" font="title" colour="text">
                                <record id="object_property" get_property="PrfG" name="true" />
                                <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0,0,0,20" />
                            </widget>

                            <container height="20">
                                <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" horizontal_gap="8"/>

                                <widget class="value_based_picture" file="tcs/icons/footedness/footedness" width="24">
                                    <list id="value_list">
                                        <record min_value="1" max_value="4" red_replacement="bg red" brep="white"/>
                                        <record min_value="5" max_value="8" red_replacement="bg range4" brep="white"/>
                                        <record min_value="9" max_value="11" red_replacement="bg range8" brep="white"/>
                                        <record min_value="12" max_value="14" red_replacement="bg range12" brep="white"/>
                                        <record min_value="15" max_value="17" red_replacement="bg range16" brep="white"/>
                                        <record min_value="18" max_value="20" red_replacement="bg green" brep="white"/>
                                    </list>
                                    <record id="object_property" get_property="PrfG"/>
                                </widget>

                                <widget class="footedness_label" id="PrfG" auto_size="vertical">
                                    <record id="object_property" get_property="PrfG" />
                                </widget>
                            </container>
                        </container>

#798294 Help with panel allignment
saint Devill
6 years ago
1 month ago
7

Hi 

Total novice here..

Im doing some minor editing to custom skin

I would like to move or realign the shirt/number below the player picture (see attached picture)

found the code related to this (I think) under Player personal detail panel

                <!-- CONTAINER HOLDING KIT AND PLAER PIC -->
                <container width="170">
                    <attachment_group class="horizontal_arrange" horizontal_gap="-125"/>

                    <container width="70">
                        <layout class="stick_to_sides_attachment" apply_to_children="true"/>

                        <widget id="cKit" class="kit_icon" width="1" image_alignment="centre" scale_picture="true" kit_path="zoomed/large" kit_number_path="large" >
                            <record id="object_property" get_property="Pers" set_property="objt"/>
                        </widget>

I managed to make other adjustments through trial and error.. But the shirt/number does not seem to have anything in relation to its alignment within that container.. or maybe I'm unable to identify it

#656361 La Liga squad numbers rules
saint Devill
6 years ago
1 month ago
7
By kingrobbo 31 October 2021 - 05:50 AM UTC 

https://sortitoutsi.net/content/58640/french-league-squad-number-restrictions-eg-messi-30-and-donnarumma-50#comment_645696 

 

take a read of link

 open advanced rules for spain and have a go make sure that allow any squad numbers is ticked, it may well be hard coded but worth a try

 

Wow .. thank thank you !!.. great find cos i was looking for it for teh past 2 days .. 

 

Its buried deep down in advanced option .. All you need is un-check the 2 option highlighted (see attached) in order to remove all restriction on squad numbers..

 

The only downside is im gonna have restart .. but i might as well do that when the full game is released 

 

thanx for the tip .

#656282 La Liga squad numbers rules
saint Devill
6 years ago
1 month ago
7

Hi
Im aware that LA Liga have imposed a rule in terms of squad number allocation for senior (1-25) and non senior team members (26-99) ...

 

so just wondering.. Is there a a way to mod this to open squad number selection in LaLiga?

I looked in the pregame editor of FM21 .. and there is no option there to disable.. so i guess it will be the same