George Loken
December 4th, 2008, 19:17
I am attempting to create my own ruleset so far so good I can modify exisiting stats/forms and skills. Today I tried to creat my own new form so I tried to start with something basic. I made a file called test.xml and saved it in my custom ruleset project folder. It contained
<windowclass name="test1">
<frame>storybox</frame>
<placement>
<size>
<width>250</width>
<height>306</height>
</size>
</placement>
<sizelimits>
<dynamic />
</sizelimits>
<minimize>minimized_note</minimize>
<playercontrol />
<sharable />
<tooltip>
<field>name</field>
</tooltip>
<sheetdata>
<windowreferencecontrol>
<bounds>15,11,20,20</bounds>
<icon>
<normal>button_openwindow</normal>
<pressed>button_emptytarget</pressed>
</icon>
<class>note</class>
<description>
<field>name</field>
</description>
</windowreferencecontrol>
<stringfield name="name">
<bounds>40,13,-15,20</bounds>
<empty>« New Note »</empty>
<font>sheettext</font>
<nodrag />
<nodragselect />
</stringfield>
<stringfield name="text">
<bounds>10,40,-15,-15</bounds>
<multilinespacing>18</multilinespacing>
<font>sheettext</font>
</stringfield>
</sheetdata>
</windowclass>
I added this line
<includefile source="test.xml" />
to base.xml (not sure if this step was needed).
any how when I try and up my custom form using /openwindow test1 from the command line nothing happens not even an error or anything. Can someone please help me?
Thanks
<windowclass name="test1">
<frame>storybox</frame>
<placement>
<size>
<width>250</width>
<height>306</height>
</size>
</placement>
<sizelimits>
<dynamic />
</sizelimits>
<minimize>minimized_note</minimize>
<playercontrol />
<sharable />
<tooltip>
<field>name</field>
</tooltip>
<sheetdata>
<windowreferencecontrol>
<bounds>15,11,20,20</bounds>
<icon>
<normal>button_openwindow</normal>
<pressed>button_emptytarget</pressed>
</icon>
<class>note</class>
<description>
<field>name</field>
</description>
</windowreferencecontrol>
<stringfield name="name">
<bounds>40,13,-15,20</bounds>
<empty>« New Note »</empty>
<font>sheettext</font>
<nodrag />
<nodragselect />
</stringfield>
<stringfield name="text">
<bounds>10,40,-15,-15</bounds>
<multilinespacing>18</multilinespacing>
<font>sheettext</font>
</stringfield>
</sheetdata>
</windowclass>
I added this line
<includefile source="test.xml" />
to base.xml (not sure if this step was needed).
any how when I try and up my custom form using /openwindow test1 from the command line nothing happens not even an error or anything. Can someone please help me?
Thanks