2006-08-06, 17:26
To make customizations easier for someone that just wants to add a button or two or change fonts/text/etc...
If in the UserData folder we could have a way to specify a modification XML file for XMLs in the skin.
I have changed the MyWeather.XML to add a button so now I must remove the original and replace it with my mod'd one every time I update the skin (I have several XMLs I must do this with).
Instead it would be nice to be able to include a "Skin" folder under UserData and have a file named the same: MyWeather.XML
In this file there would be two items...
1) the modifications/additions
2) the placement of those - including line # for where to insert/replace
Example MyWeather.XML in UserData\Skin\Project Mayhem III\PAL folder
- this code would be "inserted" in the regular XML at the line specified, 81.
If this is not easy to do then at least allow us to have a centralized folder in UserData where we can place our complete XMLs to be substituted for the ones in the Skin folder.
If in the UserData folder we could have a way to specify a modification XML file for XMLs in the skin.
I have changed the MyWeather.XML to add a button so now I must remove the original and replace it with my mod'd one every time I update the skin (I have several XMLs I must do this with).
Instead it would be nice to be able to include a "Skin" folder under UserData and have a file named the same: MyWeather.XML
In this file there would be two items...
1) the modifications/additions
2) the placement of those - including line # for where to insert/replace
Example MyWeather.XML in UserData\Skin\Project Mayhem III\PAL folder
- this code would be "inserted" in the regular XML at the line specified, 81.
Code:
<insertatline 81>
<control>
<description>Radar Button</description>
<type>button</type>
<id>50</id>
<posx>60</posx>
<posy>157</posy>
<width>135</width>
<height>35</height>
<label>Radar</label>
<font>font13</font>
<onclick>Q:\scripts\Xradar\Xradar.py</onclick>
<onleft>3</onleft>
<onright>3</onright>
<onup>2</onup>
<ondown>2</ondown>
<align>center</align>
<include>buttonpanelslide</include>
</control>
</insertatline 81>
If this is not easy to do then at least allow us to have a centralized folder in UserData where we can place our complete XMLs to be substituted for the ones in the Skin folder.