- 主题
- 回帖
- 0
- 精华
- 注册时间
- 2011-8-25
- 最后登录
- 1970-1-1
- 在线时间
- 小时
- 爆棚声望
-
- PGB
-
|
感谢大佬!
分享给大伙只要体能/状态百分比环图的方法
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="体​能/状​态[COMMENT: Overall Physical Condition/Match Sharpness]" />
<flags id="customisation_context" value="play" />
<translation id="category" type="use" value="体​能[COMMENT: Fitness]" />
<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[COMMENT: label for a player's overall physical condition, when taking every element of his game into account]" />
</record>
<record index="1">
<translation id="name" translation_id="388919" type="use" value="Match Sharpness[COMMENT: label for the player's match fitness, i.e. what condition he's currently in if he were to be selected for the next fixture]" />
</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="体​能/状​态[COMMENT: CON/SHP]" />
<translation_list id="hint">
<translation type="use" value="体​能/状​态[COMMENT: Overall Physical Condition/Match Sharpness]" />
<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.[COMMENT: hint explanation for Overall Conditioning label, use top ten matches, change to ID 396172 to add context]" />
<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.[COMMENT: hint explanation for Next Match Availability fitness label, use top ten matches, change to ID 396173 based on match team feedback]" />
</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="体​能/状​态[COMMENT: Overall Physical Condition/Match Sharpness]" />
<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[COMMENT: label for a player's overall physical condition, when taking every element of his game into account]" />
</record>
<record index="1">
<translation id="name" translation_id="388919" type="use" value="Match Sharpness[COMMENT: label for the player's match fitness, i.e. what condition he's currently in if he were to be selected for the next fixture]" />
</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="体​能/状​态[COMMENT: CON/SHP]" />
<translation_list id="hint">
<translation type="use" value="体​能/状​态[COMMENT: Overall Physical Condition/Match Sharpness]" />
<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.[COMMENT: hint explanation for Overall Conditioning label, use top ten matches, change to ID 396172 to add context]" />
<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.[COMMENT: hint explanation for Next Match Availability fitness label, use top ten matches, change to ID 396173 based on match team feedback]" />
</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规范,操作完记得检查格式是否正确 |
|