Do you need advice or just want to chat? Do you have a story or a file to share? This is the place to talk FM.   Learn More

The Skinner Panel

Radestock's Skinning Panel, really useful when developing skins

Written by   Last Updated Nov 01 2010 03:25   9167 views   0 Comments

The Skinner Panel
A really really useful asset when developing skins.
It creates a small moveable panel with a single button on it. Click the button twice and it will automatically reload your skin without having to navigate yourself to preferences then click confirm. A time saver to see your changes but also a life saver if you're working on a skin and mess things up, leaving you with no side menu.

How to use:

1. Find the global panels.xml file of the skin you wish to use the tool with and open it with a text editor (Notepad or Notepad++).
2. Scroll to the very bottom of the file and find </panel> right at the end of the file.
3. Copy the code below and paste it JUST ABOVE </panel>.
4. Make sure in FM preferences you have 'Always reload skin on confirm' ticked and 'Use skin cache' un-ticked.

<!-- RADESTOCK'S SKINNER PANEL -->

<container class="titled_box" title="Skinner Panel V1.1" width="160" height="50" appearance="boxes/hints" colour="black" size="8" alignment="centre">

    <layout class="stick_to_sides_attachment" alignment="bottom, right" inset="100"/>
    <attachment class="moveable_attachment"/>

    <widget class="action_button" text="Reload Skin" auto_size="vertical" appearance="button/button" width="148">
        <attachment class="test_global_attachment" get_property="scid" value="23" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/>
        <event id="click_event" event_id="sPRF" event_target="scrn"/>
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="5"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0"/>
    </widget>

    <widget class="action_button" text="Confirm" auto_size="vertical" appearance="button/button" width="148">
        <attachment class="test_global_attachment" get_property="scid" value="23" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/>
        <event id="click_event" event_id="conf" event_target="scrn"/>
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="5"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0"/>
    </widget>

</container>

<!-- END OF SKINNER PANEL -->

Hope people find both of these things useful and they help create some great skins.

Credits:

Thanks to radestock from the official SI forums for making this amazing skinning panel possible.


Stam's avatar
About Stam

I run FM Scout since November 2004 and I try to make it a better place every year. Read the most advanced guide to FM 2015 Wonderkids. You can find me on the site's live chat or on Google+.

0 Comments

Discussion on "The Skinner Panel"