NekoCheshire 发表于 2024-8-31 13:56

666666666666666

天灵灵地灵灵 发表于 2024-8-31 15:12

6666666666

soon08 发表于 2024-8-31 16:18

感谢大佬!
感谢大佬!

soon08 发表于 2024-8-31 17:58

感谢大佬!
分享给大伙只要体能/状态百分比环图的方法

1. 打开皮肤目录下/panels/team/team squad.xml文件

在视图的record标签下,增加一行
<!-- player condition/fitness 体能/状态百分比环图-->
<record id="PRCF" auto_hide_priority="11" width="140"/>

2. 检查皮肤目录下/panels/widgets/pie condition label mixed.xml 文件是否存在,不存在就将lz提供的文件拷贝进去
3. 检查皮肤目录下/properties/person properties.xml 文件中是否包含PRCF的内容

如上图所示,若没有此内容,则复制以下代码进去

<!-- 体​能/状​态 -->
                <record>
                        <integer id="id" value="PRCF" />
                        <integer id="width" value="20" />
                        <translation id="name" type="use" value="体​能/状​态" />
                        <flags id="customisation_context" value="play" />
                        <translation id="category"type="use" value="体​能" />
                        <boolean id="sort_ascending" value="false" />
                        <list id="multi_sort_props">
                                <record index="0">
                                        <translation id="name" translation_id="394524" type="use" value="Overall Physical Condition" />
                                </record>
                                <record index="1">
                                        <translation id="name" translation_id="388919" type="use" value="Match Sharpness" />
                                </record>
                        </list>
                        <integer id="auto_hide_priority" value="1200" />
                        <record id="widget_info" file="widgets/pie condition label mixed">
                                <symbol id="class" value="pie_condition_label" />
                                <flags id="mode" value="2" />
                        </record>

                        <record id="widget_edit_info">
                                <symbol id="class" value="max_edit_box" />
                                <flags id="edit_event" value="CDBd" />
                                <flags id="mode" value="2" />
                                <integer id="min_value" value="1" />
                                <integer id="max_value" value="10000" />
                        </record>

                        <!-- Need the raw fitness to display this as we combine them slightly -->
                        <list id="dependent_properties">
                                <integer value="Pfit" />
                        </list>

                        <record id="column_widget_properties">
                                <flags id="alignment" value="centre" />
                        </record>
                        <record id="column_heading">
                                <flags id="alignment" value="centre" />
                                <translation id="text" type="use" value="体​能/状​态" />
                                <translation_list id="hint">
                                        <translation type="use" value="体​能/状​态" />
                                        <translation />
                                        <translation translation_id="396496" type="use" value="Overall Physical Condition represents the player's level of fitness. If he is fatigued, recently recovered from injury or just unfit he will have a low Overall Physical Condition rating. Playing matches when this is low risks injury as well as an even lower rating in future. Only rest from matches and/or training can help a player to recover." />
                                        <translation />
                                        <translation translation_id="396491" type="use" value="Match Sharpness represents the player's readiness for competitive football. If he is lacking in recent game time this rating will suffer, but the only way to build it up is through minutes on the pitch. Players low in Match Sharpness will struggle to keep up with the pace of a competitive match and will also be more susceptible to injury." />
                                </translation_list>
                        </record>

                        <!-- can't put a filter on this yet as it shows two values-->
                        <!--<record id="search_filter">
                                        <integer id="id" value="pfpc"/>
                                </record>-->
                </record>

                <record>
                        <integer id="id" value="ShPC" />
                        <integer id="width" value="100" />
                        <translation id="name" type="use" value="体​能/状​态" />
                        <flags id="customisation_context" value="none" />
                        <integer id="exchange_column_id" value="PRCF" />
                        <boolean id="sort_ascending" value="false" />
                        <list id="multi_sort_props">
                                <record index="0">
                                        <translation id="name" translation_id="394524" type="use" value="Overall Physical Condition" />
                                </record>
                                <record index="1">
                                        <translation id="name" translation_id="388919" type="use" value="Match Sharpness" />
                                </record>
                        </list>
                        <integer id="auto_hide_priority" value="1201" />
                        <record id="widget_info" file="widgets/pie condition label mixed">
                                <symbol id="class" value="pie_condition_label" />
                                <flags id="mode" value="2" />
                        </record>

                        <record id="widget_edit_info">
                                <symbol id="class" value="max_edit_box" />
                                <flags id="edit_event" value="CDBd" />
                                <flags id="mode" value="2" />
                                <integer id="min_value" value="1" />
                                <integer id="max_value" value="10000" />
                        </record>

                        <!-- Need the raw fitness to display this as we combine them slightly -->
                        <list id="dependent_properties">
                                <integer value="Pfit" />
                        </list>

                        <record id="column_widget_properties">
                                <flags id="alignment" value="centre" />
                        </record>
                        <record id="column_heading">
                                <flags id="alignment" value="centre" />
                                <translation id="text" type="use" value="体​能/状​态" />
                                <translation_list id="hint">
                                        <translation type="use" value="体​能/状​态" />
                                        <translation />
                                        <translation translation_id="396496" type="use" value="Overall Physical Condition represents the player's level of fitness. If he is fatigued, recently recovered from injury or just unfit he will have a low Overall Physical Condition rating. Playing matches when this is low risks injury as well as an even lower rating in future. Only rest from matches and/or training can help a player to recover." />
                                        <translation />
                                        <translation translation_id="396491" type="use" value="Match Sharpness represents the player's readiness for competitive football. If he is lacking in recent game time this rating will suffer, but the only way to build it up is through minutes on the pitch. Players low in Match Sharpness will struggle to keep up with the pace of a competitive match and will also be more susceptible to injury." />
                                </translation_list>
                        </record>

                        <!-- can't put a filter on this yet as it shows two values-->
                        <!--<record id="search_filter">
                                <integer id="id" value="pfpc"/>
                        </record>-->
                </record>


注意,以上操作需要懂xml规范,操作完记得检查格式是否正确

kimura 发表于 2024-9-1 02:02

11111111111111111111111111111111

woshiwocs 发表于 2024-9-1 09:18

就需要这个 谢谢

cyfvip 发表于 2024-9-1 17:24

谢谢分享·········

lida888qq 发表于 2024-9-1 19:18

666666666666{:16_800:}

umbreon 发表于 2024-9-2 00:16

666666666666666

柴崎幸 发表于 2024-9-2 22:05

谢谢楼主 拯救勒需要体力的人

luyunqing 发表于 2024-9-2 22:14

真心感谢。

peacefreak 发表于 2024-9-2 23:17

666666666666666666

baolilike 发表于 2024-9-3 06:30

收藏备用!!!!!!

huajius 发表于 2024-9-3 09:26

1111111111111

安菲尔德G8 发表于 2024-9-3 10:51

ddddddddddd

Heroumei 发表于 2024-9-3 17:27

666666666666

305476944 发表于 2024-9-3 17:34

11111111111111

我就是大胡子 发表于 2024-9-3 20:14

感谢大佬的分享

wangfan123! 发表于 2024-9-3 23:40

66666666666666

1661027282 发表于 2024-9-4 10:31

111111111111111111111111111111111111111111111
页: 69 70 71 72 73 74 75 76 77 78 [79] 80 81 82 83 84 85 86 87 88
查看完整版本: 我来拯救一下需要显示体力百分比的小伙伴