Thread: Minisheet extensions
-
May 10th, 2007, 20:22 #1
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
-
May 10th, 2007, 20:31 #2
See my explanation in: https://fantasygrounds.com/forums/sh...21&postcount=2
"He is everything I have ever aspired to be."
"Your aspiration is to be impaled on a halberd? Your parents must be proud."
-
May 10th, 2007, 21:11 #3
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
-
May 10th, 2007, 21:32 #4Originally Posted by Valarian"He is everything I have ever aspired to be."
"Your aspiration is to be impaled on a halberd? Your parents must be proud."
-
May 12th, 2007, 12:50 #5
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
-
May 12th, 2007, 21:16 #6Originally Posted by Valarian"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