- 主题
- 回帖
- 0
- 精华
- 注册时间
- 2010-2-7
- 最后登录
- 1970-1-1
- 在线时间
- 小时
- 爆棚声望
-
- PGB
-
|
本帖最后由 caotamawlk 于 2010-12-15 15:40 编辑
老大你好 我用了个职员大头像补丁 看不到 教练知识了 panels文件具体如下
<?xml version="1.0" encoding="UTF-8"?>
<panel title="Non Player Profile Panel">
<!-- attribute colouring -->
<integer id="exca" value="15"/>
<!-- excellent threshold -->
<integer id="excn" value="10"/>
<!-- normal threshold -->
<integer id="excl" value="5"/>
<!-- low threshold -->
<!-- MAIN AREA -->
<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
<container class="titled_box" title="Staff Profile">
<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0"/>
<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true"
inset="0"/>
<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
<!-- main box -->
<container>
<layout class="fit_children_attachment" alignment="vertical, extend" offset="0" gap="0"/>
<layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="0"
layout_children="true"/>
<layout class="stick_to_sides_attachment" alignment="top" layout_children="true" inset="0"/>
<layout class="arrange_horizontal_attachment" alignment="right,fill" layout="-3,-2" offset="0"
gap="0"/>
<!-- Personal Information Panel -->
<container>
<layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>
<!-- WITH PORTRAIT -->
<!-- this version of the table is used if the player portrait is visible -->
<widget class="table" id="pld1" mode="printable" layout="300,-1,-1,-1" auto_size_rows="true"
stretch_to_fit_rows="true" row_spacing="0" row_height="20">
<list id="headings">
<record text="Personal Details" alignment="left, centre_y" column_span="4"/>
</list>
<list id="column_properties">
<record indx="0" alignment="left,centre_y" spec="text"/>
<record indx="1" alignment="left,centre_y" spec="text"/>
<record indx="2" alignment="right,centre_y" colour="selection"/>
<record indx="3" alignment="right,centre_y" colour="selection"/>
</list>
<list id="column_display_properties">
<record indx="0" left="0" sort_disabled="true"/>
<record indx="1" left="3" sort_disabled="true"/>
<record indx="2" rght="3" sort_disabled="true"/>
<record indx="3" rght="3" sort_disabled="true"/>
</list>
<!-- Logo and Picture Container -->
<widget class="group_box" row="0" col="0" column_span="4" row_span="10">
<!-- Player Picture -->
<widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true"
height="200" width="300">
<layout class="stick_to_sides_attachment" alignment="left" inset="0"/>
<layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
</widget>
<!-- Club Logo -->
<widget class="picture" id="rgtF" transparency="1" scale_picture="true"
keep_aspect_ratio="true" height="80" width="80" image_alignment="centre">
<layout class="stick_to_sides_attachment" alignment="left" inset="312"/>
<layout class="stick_to_sides_attachment" alignment="top" inset="120"/>
<!-- tells the picture to listen to the 'main picture' global property being set, and
set its own file property from it -->
<attachment class="get_global_attachment" get_property="mnpc" set_property="file"
skip_if_null="false"/>
<!-- tells the picture to listen for the 'main picture needs recolouring' property and
sets its own 'should recolour' property from it -->
<attachment class="get_global_attachment" get_property="mprc" set_property="srec"
skip_if_null="false"/>
<!-- the background, foreground and outline colours of the object we use for
recolouring the default main picture if there is one, and it should be recoloured -->
<attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/>
<attachment class="get_global_attachment" get_property="fcol" set_property="grep"/>
<attachment class="get_global_attachment" get_property="ocol" set_property="brep"/>
</widget>
<!-- League Logo -->
<widget class="picture" id="lftF" transparency="1" scale_picture="true"
keep_aspect_ratio="true" height="80" width="80" image_alignment="centre">
<layout class="stick_to_sides_attachment" alignment="right" inset="12"/>
<layout class="stick_to_sides_attachment" alignment="top" inset="120"/>
<!-- tells the picture to listen to the 'main picture' global property being set, and
set its own file property from it -->
<attachment class="get_global_attachment" get_property="scpc" set_property="file"
skip_if_null="false"/>
<!-- tells the picture to listen for the 'main picture needs recolouring' property and
sets its own 'should recolour' property from it -->
<attachment class="get_global_attachment" get_property="sprc" set_property="srec"
skip_if_null="false"/>
<!-- the background, foreground and outline colours of the object we use for
recolouring the default main picture if there is one, and it should be recoloured -->
<attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/>
<attachment class="get_global_attachment" get_property="fcol" set_property="grep"/>
<attachment class="get_global_attachment" get_property="ocol" set_property="brep"/>
</widget>
</widget>
<!-- DIY -->
<widget class="label" text="DIY" col="0" row="10" />
<widget class="label" text="Nationality" col="1" row="0" column_span="2" />
<widget class="nation_button" id="pfna" col="2" row="0" icon_alignment="right,can_scale"
column_span="2" dspf="1" row_spacing="2"/>
<widget class="label" text="International" col="1" row="1" column_span="2" />
<widget class="international_appearances_label" id="pfcg" col="2" row="1"
icon_alignment="right,can_scale" column_span="2" />
<widget class="label" text="Born" col="1" row="2" column_span="2" />
<widget class="label" id="pdob" col="2" row="2" column_span="2" />
<widget class="label" text="Age" col="1" row="3" column_span="2" />
<widget class="label" id="pfag" col="2" row="3" column_span="2" />
<widget class="label" text="Gender[COMMENT: the non-player's gender e.g. female]" col="1"
row="4" column_span="2" />
<widget class="label" id="pgen" col="2" row="4" column_span="2" />
<widget class="label" text="Reputation" col="1" row="5" column_span="2" />
<widget class="label" id="prep" col="2" row="5" column_span="2" />
<widget class="label" text="Club Job[COMMENT: the non-player's job for a club e.g. coach]"
col="1" row="8" column_span="2" />
<widget class="label" id="pcjo" col="2" row="8" column_span="2" />
<widget class="label" text="National Job[COMMENT: the non-player's job for a national team
e.g. coach]" col="1" row="9" column_span="2" />
<widget class="label" id="pnjo" col="2" row="9" column_span="2" />
<!-- Contracted To (when context team is national side so you know which club he belongs
to) -->
<widget class="text" spec="text" id="pinf" col="1" row="10" column_span="3"
colour="profile extra text" alignment="right, centre_y"/>
</widget>
<!-- WITHOUT PORTRAIT -->
<!-- this version of the table is used if the player portrait is hidden -->
<widget class="table" id="pld2" mode="printable" layout="-1,-1,-1" auto_size_rows="true"
stretch_to_fit_rows="true" row_spacing="0">
<list id="headings">
<record text="Personal Details" alignment="left, centre_y" column_span="3"/>
</list>
<list id="column_properties">
<record indx="0" alignment="left,centre_y" spec="text"/>
<record indx="1" alignment="right,centre_y" colour="selection"/>
<record indx="2" alignment="right,centre_y" colour="selection"/>
</list>
<list id="column_display_properties">
<record indx="0" left="4" sort_disabled="true"/>
<record indx="1" left="4" sort_disabled="true"/>
<record indx="2" rght="4" sort_disabled="true"/>
</list>
<widget class="label" text="Nationality" col="0" row="0" column_span="2" />
<widget class="nation_button" id="pfna" col="1" row="0" icon_alignment="right,can_scale"
column_span="2" dspf="1"/>
<widget class="label" text="International" col="0" row="1" column_span="2" />
<widget class="international_appearances_label" id="pfcg" col="1" row="1"
icon_alignment="right,can_scale" column_span="2" />
<widget class="label" text="Born" col="0" row="2" column_span="2" />
<widget class="label" id="pdob" col="1" row="2" column_span="2" />
<widget class="label" text="Age" col="0" row="3" column_span="2" />
<widget class="label" id="pfag" col="1" row="3" column_span="2" />
<widget class="label" text="Gender[COMMENT: the non-player's gender e.g. female]" col="0"
row="4" column_span="2" />
<widget class="label" id="pgen" col="1" row="4" column_span="2" />
<widget class="label" text="Reputation" col="0" row="5" column_span="2" />
<widget class="label" id="prep" col="1" row="5" column_span="2" />
<widget class="label" text="Club Job[COMMENT: the non-player's job for a club e.g. coach]"
col="0" row="6" column_span="2" />
<widget class="label" id="pcjo" col="1" row="6" column_span="2" />
<widget class="label" text="National Job[COMMENT: the non-player's job for a national team
e.g. coach]" col="0" row="7" column_span="2" />
<widget class="label" id="pnjo" col="1" row="7" column_span="2" />
<!-- Contracted To (when context team is national side so you know which club he belongs
to) -->
<widget class="text" spec="text" id="pinf" col="0" row="8" column_span="3" colour="profile
extra text" alignment="right, centre_y" style="semi_bold"/>
</widget>
</container>
<!-- Properties Panel -->
<container>
<layout class="fit_children_attachment" alignment="vertical, extend" offset="0" gap="0"/>
<layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="0"
layout_children="true"/>
<layout class="stick_to_sides_attachment" alignment="top" layout_children="true" inset="0"
/>
<layout class="arrange_horizontal_attachment" alignment="right,fill" offset="0" gap="0"/>
<!-- Coaching Panel -->
<container id="npcn">
<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"
/>
<widget class="table" id="npct" mode="printable" layout="-6,-1" stretch_to_fit_rows="true"
row_spacing="0" row_height="18">
<list id="headings">
<record text="Coaching" alignment="left, centre_y" column_span="2"/>
</list>
<list id="column_properties">
<record indx="0" alignment="left,centre_y" spec="text"/>
<record indx="1" alignment="right,centre_y" style="semi_bold"/>
</list>
<!-- small inset from sides of table -->
<list id="column_display_properties">
<record indx="0" left="3" sort_disabled="true"/>
<record indx="1" top="3" bottom="3" right="3" sort_disabled="true"/>
</list>
</widget>
</container>
<!-- Mental Panel -->
<container id="npmc">
<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"
/>
<widget class="table" id="npmt" mode="printable" layout="-6,-1" stretch_to_fit_rows="true"
row_spacing="0" row_height="18">
<list id="headings">
<record text="Mental" alignment="left, centre_y" column_span="2"/>
</list>
<list id="column_properties">
<record indx="0" alignment="left,centre_y" spec="text"/>
<record indx="1" alignment="right,centre_y" style="semi_bold"/>
</list>
<!-- small inset from sides of table -->
<list id="column_display_properties">
<record indx="0" left="3" sort_disabled="true"/>
<record indx="1" top="3" bottom="3" right="3" sort_disabled="true"/>
</list>
</widget>
</container>
</container>
</container>
<!-- Tactics Panel -->
<container>
<layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="0"/>
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"
layout_children="true"/>
<widget class="table" mode="fill_rows, stripe_rows, printable" id="nptt" layout="-1,-1,-1,-1"
auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0">
<layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
<boolean id="scst" value="true"/>
<boolean id="sdst" value="true"/>
<list id="headings">
<record text="Tactics" alignment="left, centre_y" column_span="4"/>
</list>
<list id="column_properties">
<record indx="0" alignment="left,centre_y" spec="text"/>
<record indx="1" alignment="right,centre_y" colour="selection"/>
<record indx="2" alignment="left,centre_y" spec="text"/>
<record indx="3" alignment="right,centre_y" colour="selection"/>
</list>
<list id="column_display_properties">
<record indx="0" left="3" sort_disabled="true"/>
<record indx="1" rght="3" sort_disabled="true"/>
<record indx="2" left="3" sort_disabled="true"/>
<record indx="3" rght="3" sort_disabled="true"/>
</list>
</widget>
</container>
<!-- Information Panel -->
<container id="infp">
<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0"/>
<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true"
inset="0" />
<widget class="non_player_contract_panel" id="npcp"/>
<!-- container showing staff roles and knowledge side by side -->
<container>
<layout class="arrange_horizontal_attachment" alignment="left" layout="-1, -1" offset="0"
gap="0"/>
<layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true"
inset="0" />
<widget class="non_player_roles_panel" id="nprp"/>
<widget class="non_player_knowledge_panel" id="npkp"/>
</container>
</container>
</container>
</panel>
预览效果
各栏的设置我都满意 也符合我用的头像包 但是唯独没有教练知识比较遗憾 请问如何修改能够显示 谢谢 (分辨率1024 768) |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|