Jump to content

Help! Panel Question


멤멤
 Share

Recommended Posts

image.thumb.jpeg.513d1e77e50a9caa495a4eab0a2fb841.jpeg

 

image.thumb.jpeg.30d82bebd6ba6fbd700fe2bb65a973f0.jpeg

 

Hi everyone, I made a panel that I can see the hidden abilities and condition, match sharpness, morale in the default skin, like a first screenshot (condition, sharpness, morale are under the weight)

look at the first screenshot, it's showing up as well as i want. but it has one problem.

For players I've never opened profile windows before, it comes out blank like second screenshot.

For example, if I've never clicked on the Haaland's name, it comes out blank the first time I open it.

but when I press the backspace button and come back into the player's profile window, it comes out as normal as the first screenshot.

which part is the problem? :(

Link to post
Share on other sites

This is part of the panel file.

 

<container>
            <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true"/>
            
            <container>
                <attachment_group class="vertical_arrange_autosize" vertical_offset="0" horizontal_alignment="horizontal" horizontal_inset="0" />

                <!-- Physical Table -->
                <widget class="table" id="plpt" layout="-1" auto_size="vertical">
                    <list id="headings">
                        <record index="0" alignment="left,centre_y" column_span="5" hide_sorting="true" disabled="true" font="title" colour="accent">
                            <translation id="text" translation_id="230003" type="use" value="Physical"/>
                        </record>
                    </list>
                </widget>

                <!-- Extra technical table for GK -->
                <widget class="table" id="plgt" layout="-1" auto_size="vertical">
                    <list id="headings">
                        <record index="0" alignment="left,centre_y" column_span="5" hide_sorting="true" disabled="true" font="title" colour="accent">
                            <translation id="text" translation_id="229413" type="use" value="Technical"/>
                        </record>
                    </list>
                </widget>
            </container>
                
                <!-- Additional attributes table -->
                    <widget class="table" layout="-1, 80" mode="fill_rows, printable" row_height="22" row_spacing="0">
                        <record id="object_property" get_property="objt" set_property="objt" />
                        <list id="column_table_properties">
                            <record index="0" left="8" sort_disabled="true"/>
                            <record index="1" right="8" sort_disabled="true"/>
                        </list>
                
                        <!-- Height-->
                        <widget class="label" row="0" column="0" >
                            <record id="object_property" get_property="Phei" name="true"/>
                        </widget>
                        <widget class="editable_client_object_property_panel" id="Phei" row="0" column="1" style="semi_bold">
                            <record id="object_property" get_property="Phei"/>
                            <record id="widget_properties" alignment="right,centre_y" />
                        </widget>
                        <!-- Weight-->
                        <widget class="label" row="1" column="0" >
                            <record id="object_property" get_property="Pwei" name="true"/>
                        </widget>
                        <widget class="editable_client_object_property_panel" id="Pwei" row="1" column="1" style="semi_bold">
                            <record id="object_property" get_property="Pwei"/>
                            <record id="widget_properties" alignment="right,centre_y" />
                        </widget>
                        <!-- Conditon -->
                        <widget class="label" row="2" column="0" >
                            <record id="object_property" get_property="Pcon" name="true"/>
                        </widget>
                        <widget class="editable_client_object_property_panel" id="conv" row="2" column="1">
                            <record id="widget_info" class="player_condition_icon_widget" appearance=""  label_disabled="true" icon_alignment="right"/>
                            <record id="widget_properties" alignment="right,centre_y" navigation_focus_target="false"/>
                            <record id="object_property" get_property="PcOI"/>
                            <integer id="editing_property_to_store" value="Pcon" />
                        </widget>
                        <!-- Match Sharpness -->
                        <widget class="label" row="3" column="0" >
                            <record id="object_property" get_property="Pfit" name="true"/>
                        </widget>
                        <widget class="editable_client_object_property_panel" id="fitv" row="3" column="1">
                            <record id="widget_info" class="player_match_sharpness_icon_widget" alignment="right,centre_y" appearance=""  label_disabled="true" icon_alignment="right"/>
                            <record id="widget_properties" alignment="right,centre_y" navigation_focus_target="false"/>
                            <record id="object_property" get_property="PftI"/>
                            <integer id="editing_property_to_store" value="Pfit" />
                        </widget>
                        <!-- Morale -->
                        <widget class="label" row="4" column="0" >
                            <record id="object_property" get_property="Pmor" name="true"/>
                        </widget>
                        <widget class="editable_client_object_property_panel" id="fmor" row="4" column="1">
                            <record id="widget_info" class="morale_label" alignment="right,centre_y" icon_alignment="left" should_recolour="true"/>
                            <record id="widget_properties" alignment="right,centre_y"/>
                            <record id="object_property" get_property="Pmor"/>
                        </widget>
                    </widget>
        </container>
        
        <!-- Additional attributes table Hidden -->
        <container class="client_object_viewer_xml_panel" id="attT">
            <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true"/>
            <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="1"/>
            
            <widget layout="-1, 38" class="table" row_spacing="0" row_height="20" mode="fill_rows, stripe_rows, printable">
                <record id="object_property" get_property="objt" set_property="objt" />
                <list id="column_table_properties">
                <record index="0" left="8" sort_disabled="true"/>
                <record index="1" right="8" sort_disabled="true"/>
                </list>

Edited by 멤멤
Link to post
Share on other sites

12 minutes ago, 멤멤 said:

image.thumb.jpeg.513d1e77e50a9caa495a4eab0a2fb841.jpeg

 

image.thumb.jpeg.30d82bebd6ba6fbd700fe2bb65a973f0.jpeg

 

Hi everyone, I made a panel that I can see the hidden abilities and condition, match sharpness, morale in the default skin, like a first screenshot (condition, sharpness, morale are under the weight)

look at the first screenshot, it's showing up as well as i want. but it has one problem.

For players I've never opened profile windows before, it comes out blank like second screenshot.

For example, if I've never clicked on the Haaland's name, it comes out blank the first time I open it.

but when I press the backspace button and come back into the player's profile window, it comes out as normal as the first screenshot.

which part is the problem? :(

the problem is the player additional stats.

remove it from the attributes file and place that and your own panel at the end of the attributes code in the player overview panel

Link to post
Share on other sites

18 minutes ago, snowofman said:

the problem is the player additional stats.

remove it from the attributes file and place that and your own panel at the end of the attributes code in the player overview panel

Thank you so much your reply XD

If it's not cumbersome, could you explain it in more detail?

Thanks once again.

Link to post
Share on other sites

1 minute ago, 멤멤 said:

Thank you so much your reply XD

If it's not cumbersome, could you explain it in more detail?

Thanks once again.

currently the player additional stats are inside and at the end of the player attributes file.

comment it out from there and move the line to the player overview panel at the  end of where the player attribute panel is being pulled in.

Link to post
Share on other sites

28 minutes ago, snowofman said:

currently the player additional stats are inside and at the end of the player attributes file.

comment it out from there and move the line to the player overview panel at the  end of where the player attribute panel is being pulled in.

image.thumb.jpeg.f9e1f43a607cf0caf0b762edad441843.jpeg

Thanks to you, I learned how to make it appear on the selection list in the biography column.

Is this the only way Attributes and Hidden Stats are displayed together?

Link to post
Share on other sites

45 minutes ago, 멤멤 said:

image.thumb.jpeg.f9e1f43a607cf0caf0b762edad441843.jpeg

Thanks to you, I learned how to make it appear on the selection list in the biography column.

Is this the only way Attributes and Hidden Stats are displayed together?

you're welcome and no, i'm not quite sure why non scouted players and trial players don't have panels etc populating correct unless we use this workaround.

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...