DICE PACKS BUNDLE
  1. #1
    Valarian's Avatar
    Join Date
    Mar 2007
    Location
    Worcestershire, UK
    Posts
    2,567

    Minisheet extensions

    I'm trying to add some additional information to the character minisheet. I've extended the frame size values to match those of the spells minisheet (height 200), but the minisheet doesn't seem to want to grow so that the additional information can be shown. I've searched the XML for the windowclass name, but only get the declaration in charsheet_minisheets.xml and the call in charsheet_main.xml

    Where do I need to go to extend the minisheet? Can it be done?

    Code:
    	<windowclass name="charsheetmini_main">
    		<frame>minisheet</frame>
    		<placement>
    			<size>
    				<width>220</width>
    				<height>200</height>
    			</size>
    		</placement>
    		<nodelete />
    		<script file="scripts/minisheet.lua" />
    		<sheetdata>
    		...
    Using Ultimate license - that means anyone can play.
    Valarian's Fantasy Grounds Rulesets

  2. #2
    "He is everything I have ever aspired to be."
    "Your aspiration is to be impaled on a halberd? Your parents must be proud."

  3. #3
    Valarian's Avatar
    Join Date
    Mar 2007
    Location
    Worcestershire, UK
    Posts
    2,567
    Taryn,

    Thanks, the CampaignRegistry.lua script must be the reason the minisheet wasn't extending. I deleted the test campaign, and recreated from the ruleset and the minisheet showed up as the required size.
    Using Ultimate license - that means anyone can play.
    Valarian's Fantasy Grounds Rulesets

  4. #4
    Quote Originally Posted by Valarian
    Taryn,

    Thanks, the CampaignRegistry.lua script must be the reason the minisheet wasn't extending. I deleted the test campaign, and recreated from the ruleset and the minisheet showed up as the required size.
    np. Like I said in my other post... it took me quite a while to figure out why none of my sheets were showing up the proper size.
    "He is everything I have ever aspired to be."
    "Your aspiration is to be impaled on a halberd? Your parents must be proud."

  5. #5
    Valarian's Avatar
    Join Date
    Mar 2007
    Location
    Worcestershire, UK
    Posts
    2,567
    Just to clear up, you don't need to modify the CampaignRegistry.lua script. What I did was remove the campaign folder I was using to test with. Then I recreated the test campaign from the changed ruleset. The CampaignRegistry.lua script must only be populated when you create the campaign in the first place. So, window sizes are fixed at campaign creation. The content of the windows can be modified and shows up on application restart.
    Using Ultimate license - that means anyone can play.
    Valarian's Fantasy Grounds Rulesets

  6. #6
    Quote Originally Posted by Valarian
    Just to clear up, you don't need to modify the CampaignRegistry.lua script. What I did was remove the campaign folder I was using to test with. Then I recreated the test campaign from the changed ruleset. The CampaignRegistry.lua script must only be populated when you create the campaign in the first place. So, window sizes are fixed at campaign creation. The content of the windows can be modified and shows up on application restart.
    True. But then again, in my ruleset I'm making all the windows different sizes probably, so I'd hate having to re-create the campaign every time I changed a window size
    "He is everything I have ever aspired to be."
    "Your aspiration is to be impaled on a halberd? Your parents must be proud."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in