mythweaver
November 2nd, 2006, 14:58
I'm working on a ruleset for my personal game and am having some difficulty getting a character sheet to display properly. No matter what I set the height attribute to the sheet seems to truncate and not display about the bottom 1/3 of the sheet.
I have the following in the d20_graphics.xml
<framedef name="charsheet_1">
<bitmap file="rulesets\mymod\frames\charsheet_1.png" />
<topleft rect="0,0,0,0" />
<top rect="0,0,0,0" />
<topright rect="0,0,0,0" />
<left rect="0,0,0,0" />
<middle rect="0,0,822,1025" />
<right rect="0,0,0,0" />
<bottomleft rect="0,0,0,0" />
<bottom rect="0,0,0,0" />
<bottomright rect="0,0,0,0" />
</framedef>
<framedef name="charsheet_2">
<bitmap file="rulesets\mymod\frames\charsheet_2.png" />
<topleft rect="0,0,0,0" />
<top rect="0,0,0,0" />
<topright rect="0,0,0,0" />
<left rect="0,0,0,0" />
<middle rect="0,0,822,1025" />
<right rect="0,0,0,0" />
<bottomleft rect="0,0,0,0" />
<bottom rect="0,0,0,0" />
<bottomright rect="0,0,0,0" />
</framedef>
and charsheet.xml looks like this:
<root>
<windowclass name="charsheet_1">
<frame name="charsheet_1" />
<datasource name="charsheet" />
<defaultsize width="822" height="1025" />
<sheetdata>
</sheetdata>
</windowclass>
<windowclass name="charsheet_2">
<frame name="charsheet_2" />
<datasource name="charsheet" />
<defaultsize width="822" height="1025" />
<sheetdata>
</sheetdata>
</windowclass>
<windowclass name="charsheet">
<datasource name="charsheet" />
<defaultsize width="822" height="1025" />
<defaultposition x="415" y="50" />
<minimize />
<nodelete />
<playercontrol />
<sheetdata>
<subwindow name="1main">
<class name="charsheet_1" />
<activate />
</subwindow>
<subwindow name="3inventory">
<class name="charsheet_2" />
</subwindow>
<windowchangecontrol>
<bounds rect="530,10,15,89" />
<target name="1main" />
</windowchangecontrol>
<windowchangecontrol>
<bounds rect="530,198,15,89" />
<target name="3inventory" />
</windowchangecontrol>
</sheetdata>
</windowclass>
</root>
Also base.xml has the line:
<includefile source="rulesets\mymod\charsheet.xml" />
What am I missing? Is there a hard limit to the height attribute?
I have the following in the d20_graphics.xml
<framedef name="charsheet_1">
<bitmap file="rulesets\mymod\frames\charsheet_1.png" />
<topleft rect="0,0,0,0" />
<top rect="0,0,0,0" />
<topright rect="0,0,0,0" />
<left rect="0,0,0,0" />
<middle rect="0,0,822,1025" />
<right rect="0,0,0,0" />
<bottomleft rect="0,0,0,0" />
<bottom rect="0,0,0,0" />
<bottomright rect="0,0,0,0" />
</framedef>
<framedef name="charsheet_2">
<bitmap file="rulesets\mymod\frames\charsheet_2.png" />
<topleft rect="0,0,0,0" />
<top rect="0,0,0,0" />
<topright rect="0,0,0,0" />
<left rect="0,0,0,0" />
<middle rect="0,0,822,1025" />
<right rect="0,0,0,0" />
<bottomleft rect="0,0,0,0" />
<bottom rect="0,0,0,0" />
<bottomright rect="0,0,0,0" />
</framedef>
and charsheet.xml looks like this:
<root>
<windowclass name="charsheet_1">
<frame name="charsheet_1" />
<datasource name="charsheet" />
<defaultsize width="822" height="1025" />
<sheetdata>
</sheetdata>
</windowclass>
<windowclass name="charsheet_2">
<frame name="charsheet_2" />
<datasource name="charsheet" />
<defaultsize width="822" height="1025" />
<sheetdata>
</sheetdata>
</windowclass>
<windowclass name="charsheet">
<datasource name="charsheet" />
<defaultsize width="822" height="1025" />
<defaultposition x="415" y="50" />
<minimize />
<nodelete />
<playercontrol />
<sheetdata>
<subwindow name="1main">
<class name="charsheet_1" />
<activate />
</subwindow>
<subwindow name="3inventory">
<class name="charsheet_2" />
</subwindow>
<windowchangecontrol>
<bounds rect="530,10,15,89" />
<target name="1main" />
</windowchangecontrol>
<windowchangecontrol>
<bounds rect="530,198,15,89" />
<target name="3inventory" />
</windowchangecontrol>
</sheetdata>
</windowclass>
</root>
Also base.xml has the line:
<includefile source="rulesets\mymod\charsheet.xml" />
What am I missing? Is there a hard limit to the height attribute?