Evet arkadaşlar Üst Çubukta bulunan, yani takım adının, oyuncu adının yazdığı kısımdaki renkleri değiştirmeye yardımcı olacağım. Zaten çok basit. Sadece bir harf değiştireceğiz.
İşte Resimdeki Kısım;
Bilindiği gibi her takımın rengine göre değişiyor bu. Biz bunun tam tersini yapacağız. Yani mavi renk olan kısım kırmızı, kırmızı olan kısım ise mavi olacak.
Hangi temanın çubuk renklerini değiştirmek istiyorsanız o temanın klasörüne ulaşın.
Belgelerim\Sports Interactive\Football Manager 2011\skins\Skin_Adı\panels\titlebar.xml
titlebar.xml adlı dosyayı not defteri ile açalım ve aşağıdaki kısımları bulalım.
<!-- title area --> ve <!-- description -->
Kırmızı renk ile belirttiğim yerlerde ufak bir değişiklik yapacağız.<!-- title area -->
<widget class="text" id="sect" alignment="left,top" colour="black" font="fonts/adventure" size="17" multiline="false" auto_size="horizontal">
<layout class="stick_to_sides_attachment" alignment="vertical" inset="17"/>
<attachment class="get_global_attachment" get_property="titl" set_property="text"/>
<attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/>
</widget>
<!-- description -->
<widget class="text" id="subs" size="9" colour="black" alignment="left, top" multiline="true" auto_size="vertical">
<layout class="stick_to_sides_attachment" alignment="vertical" inset="22"/>
<attachment class="test_global_attachment" get_property="subt" skip_if_null="false" set_property="hidn"/>
<attachment class="get_global_attachment" get_property="subt" set_property="text"/>
<attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/>
</widget>
</container>
"get_property="ttcl" buradaki "ttcl" kodunu "tbcl" olarak değiştiriyoruz. Bu işlemi yukarıda belirtiğim her iki kısım içinde yapıyoruz. Yani şöyle olacak;
Daha sonra kaydedip not defterini kapatıyoruz.<!-- title area -->
<widget class="text" id="sect" alignment="left,top" colour="black" font="fonts/adventure" size="17" multiline="false" auto_size="horizontal">
<layout class="stick_to_sides_attachment" alignment="vertical" inset="17"/>
<attachment class="get_global_attachment" get_property="titl" set_property="text"/>
<attachment class="get_global_attachment" get_property="tbcl" set_property="colr"/>
</widget>
<!-- description -->
<widget class="text" id="subs" size="9" colour="black" alignment="left, top" multiline="true" auto_size="vertical">
<layout class="stick_to_sides_attachment" alignment="vertical" inset="22"/>
<attachment class="test_global_attachment" get_property="subt" skip_if_null="false" set_property="hidn"/>
<attachment class="get_global_attachment" get_property="subt" set_property="text"/>
<attachment class="get_global_attachment" get_property="tbcl" set_property="colr"/>
</widget>
</container>
Yine aynı klasörde header.xml adında bir dosya olacak. Bu dosyayı da not defteri yardımı ile açalım.
Belgelerim\Sports Interactive\Football Manager 2011\skins\Skin_Adı\panels\header.xml
Ve şu kısmı bulalım;
Buradaki belirttiğim yerde de biraz önce yaptığımız işlemin tam tersini uygulayacağız.<!-- coloured bar image -->
<widget class="picture" id="pict" file="interface/titlebar/bar" height="171" rthr="68">
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>
<layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
<!-- set the colour of the image to the team background colour -->
<attachment class="get_global_attachment" get_property="tbcl" set_property="colr"/>
</widget>
Yani ;
"get_property="tbcl" buradaki "tbcl" kodunu "ttcl" yapacağız. Şöyle olacak;
Bunuda yaptıktan sonra kaydedip çıkalım not defterinden ve "cache" klasörünü seçip oyunda temayı tekrar seçelim.<!-- coloured bar image -->
<widget class="picture" id="pict" file="interface/titlebar/bar" height="171" rthr="68">
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>
<layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
<!-- set the colour of the image to the team background colour -->
<attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/>
</widget>
Görüldüğü gibi renkler tersine döndü bir harf değişikliği ile.Oyuna değişiklik katmak isterseniz deneyebilirsiniz...
titlebar.xml deki kısımlar takım yazısının ve yazının yanında bulunan (lig,puan durumu,oyuncu pozisyonları) kısımdır.
header.xml deki değiştirdiğimiz kısım ise arkaplan rengidir.