Crustan / fm06elevated

Skin for Football Manager 2006

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conditionals

Here are the kind of conditionals in the game I've found during rebuilding this skin. mode="0" equals to === mode="1" equals to !== no mode attribute equals mode="0"

Hide if fullscreen mode

<attachment class="test_global_attachment" get_property="FS  " value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>

Hide if not fullscreen mode

<attachment class="test_global_attachment" get_property="FS  " value="true" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>

Hide if intro screen

<attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/>

Hide if NOT intro screen

<attachment class="test_global_attachment" get_property="scid" value="2" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/>

Hide if the game isn't set up yet

<attachment class="test_global_attachment" get_property="scid" set_property="hidn" skip_if_false="false">
  <unsigned id="value" value="1"/>
</attachment>

Hide if history back is disabled

<attachment class="test_global_attachment" get_property="disp" value="1" skip_if_null="false" set_property="hidn"/>

Hide if history forward is disabled

<attachment class="test_global_attachment" get_property="disn" value="1" skip_if_null="false" set_property="hidn"/>

Hide if Match

<attachment class="test_global_attachment" get_property="scid" value="22" set_property="hidn" skip_if_null="false" />

Hide if not match (mode = 1)

<attachment class="test_global_attachment" get_property="scid" value="22" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/>

Hide if no main logo

<attachment class="test_global_attachment" get_property="mnpc" skip_if_null="false" set_property="hidn"/>

Hide if no second team logo

<attachment class="test_global_attachment" get_property="scpc" skip_if_null="false" set_property="hidn"/>

Hide if no subtitle

<attachment class="test_global_attachment" get_property="subt" skip_if_null="false" set_property="hidn"/>

Hide if no news

<attachment class="test_global_attachment" get_property="mgru" mode="0" value="0" set_property="hidn"/>

Hide if news

<attachment class="test_global_attachment" get_property="mgru" mode="1" value="0" set_property="hidn"/>

Layout attributes

Layouting FM elements is a tricky part of skinning. There are numerous of layout classes and some are more common than others. Here are the ones I've found and a little explanation of each.

<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

<layout class="fill_space_attachment"/>

Fills the element in parent. Good for elements that have responsive measure (eg. -1), and maybe has other elements on the side.

<layout kind="stick_to_object_attachment" priority="1" target="ibng" get_side="right" set_side="left" move_side="true"
offset="8"/>

Self layout vs children layout

Some layout classes have effect on the containers positioning. Other classes have effect on the children of the container.

Self

stick_to_sides_attachment

Children

arrange_vertical_attachment arrange_horizontal_attachment fill_space_attachment

Layout tips

  • Setting group=1 ensures that widget isn't included in the widgets that the vertical fit_children_attachments operate on

Screen ID:s

Every screen has an ID that's used for disabling, enabling different components (see Conditionals above)

  • Intro/Start - 0

  • Intro/Start - 2

  • Team - 10

  • Match - 22

  • Preferences - 23

  • 3 - ? (used in Shoot skin header.xml)

  • 6 - ? (used in Shoot skin header.xml)

  • 16 - ? (used in Shoot skin header.xml)

  • 47 - ? (used in Shoot skin header.xml)

  • 61 - ? (used in Shoot skin header.xml)

Coloring

Use team color as background over "infrared" image

<attachment class="get_global_attachment" get_property="bkcl" set_property="colr"/>

About

Skin for Football Manager 2006


Languages

Language:HTML 100.0%