查看: 1359|回复: 1

[翻译](来自官网)有关背景变换的一些操作

[复制链接]
发表于 2005-8-5 09:06 | 显示全部楼层 |阅读模式
<P>原文:</P>
<P>I'll make this into an idiots guide a bit later, but there are a few changes you can make to enable background changes in Football Manager 2005.<BR><BR>Firstly, locate your <B>global panels.xml</B> file which is in <B>data/skins/metallic/panels/</B> and change the part that says<BR></P><PRE>&lt;widget class="background" id="bgnd" file="backgrounds/default"&gt;
      &lt;layout class="stick_to_sides_attachment" alignment="all" inset="0"/&gt;
&lt;/widget&gt;</PRE><BR><BR>to this<BR><PRE>&lt;widget class="background" file="backgrounds/default"&gt;
    &lt;layout class="stick_to_sides_attachment" alignment="all" inset="0"/&gt;
    &lt;attachment class="test_global_attachment" get_property="bgnd" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/&gt;
&lt;/widget&gt;
         
&lt;widget class="background" file="backgrounds/default" hidden="true"&gt;
    &lt;layout class="stick_to_sides_attachment" alignment="all" inset="0"/&gt;
    &lt;attachment class="get_global_attachment" get_property="bgnd" set_property="file" skip_if_null="false"/&gt;
    &lt;attachment class="test_global_attachment" get_property="bgnd" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/&gt;
&lt;/widget&gt;</PRE>
<P><BR><BR>Then to assign a background picture to a club, you need the following line in a config.xml file in the same directory as the picture you are trying to assign.<BR><BR>&lt;record from="<B>filename</B>" to="graphics/pictures/team/<B>uniqueid</B>/background"/&gt;<BR><BR>To assign to a player, replace <B>team</B> with <B>person</B><BR><BR>It really is as simple as that, and you can thank Michael Nygreen for getting to the bottom of this long running mystery.</P>
<P>译文:</P>
<P>我做这个可以作为“傻子向导”可能是有些迟了,但是确实你可以做一些设置来在足球经理2005里应用背景变换。</P>
<P><BR>首先,找出在data/skins/metallic/panels/ 中的这个文件:global panels.xml 然后将以下这一部分<BR>&lt;widget class="background" id="bgnd" file="backgrounds/default"&gt;<BR>      &lt;layout class="stick_to_sides_attachment" alignment="all" inset="0"/&gt;<BR>&lt;/widget&gt;</P>
<P><BR>转变为如下所示:</P>
<P>&lt;widget class="background" file="backgrounds/default"&gt;<BR>    &lt;layout class="stick_to_sides_attachment" alignment="all" inset="0"/&gt;<BR>    &lt;attachment class="test_global_attachment" get_property="bgnd" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/&gt;<BR>&lt;/widget&gt;<BR>   <BR>&lt;widget class="background" file="backgrounds/default" hidden="true"&gt;<BR>    &lt;layout class="stick_to_sides_attachment" alignment="all" inset="0"/&gt;<BR>    &lt;attachment class="get_global_attachment" get_property="bgnd" set_property="file" skip_if_null="false"/&gt;<BR>    &lt;attachment class="test_global_attachment" get_property="bgnd" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/&gt;<BR>&lt;/widget&gt;</P>
<P><BR>然后,给一家俱乐部确定一张背景,按照下面这个操作在文件config.xml中确定照片。<BR>&lt;record from="filename" to="graphics/pictures/team/uniqueid/background"/&gt;</P>
<P>若是要让照片与球员结合,将这一操作中的team改为person<BR>操作就是像以上写的这么简单,感谢……(这个不用翻了。)<BR>作者:Ter     来源:SI官方论坛</P>
<P>多多指教,多谢!</P>
发表于 2005-8-5 16:47 | 显示全部楼层
我顶,虽然基本上看不懂
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|爆棚小组 PlayGM论坛

GMT+8, 2024-11-11 05:43 , Processed in 0.037968 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表