PDA

View Full Version : More Questions Regarding the UI



Idabrius
May 8th, 2014, 03:45
A friend and I are working on revamping the AD&D 2e rules. In order to avoid building a character sheet from scratch, we decided to try to import the charsheet from the ADD2E pak. However, we're getting a lot of errors about undefined controls in windowclass.

Most of them look like this:

Ruleset Error: window: Control() anchoring to an undefined control (hp) in windowclass (charsheet_main)

6425

The link to the ruleset as we are working on it. (https://www.dropbox.com/s/6i7qn3ak01ufnfa/tuxE.rar) Any help would be appreciated!

damned
May 8th, 2014, 04:06
Hi Idabrius.

My suggestion would be stop what you are doing and first go and look at the CoreRPG ruleset.
There isnt a lot too it visually but it has lots of mechanics built into it.

Then go and check this thread: https://www.fantasygrounds.com/forums/showthread.php?20320-FG-3-0-CoreRPG-Extensions
in particular this one: https://www.fantasygrounds.com/forums/showthread.php?20296-New-Core-Extended-ruleset

You will have a much better end result if you build on top of CoreRPG.
It will be easier to support and bug fix and updates to CoreRPG will flow thru to your ruleset.

Keep up the good work!

Idabrius
May 8th, 2014, 04:53
We've actually managed to get most of the errors squashed. The one that still remains is "No vertical anchor defined for control (tabs) in windowclass (charsheet)" though the definitions seem pretty solid, namely:

<tabcontrol name="tabs">
<bounds>-22,50,18,492</bounds>

Am I missing something about setting the anchors for these?

Idabrius
May 8th, 2014, 06:14
Whelp! Solved all these problems one by one. Still trying to puzzle over this strange graphical glitch occurring in the charsheet (or rather, cluster of glitches).

6426

6427

Fields are somewhat squashed, cutting off text and strange artifacts appear to be happening at the edge of frames.

Moon Wizard
May 9th, 2014, 07:14
For the frame:
There was an error in the way frame definitions were handled in an older version of FG. It was fixed, but the fix disabled if the ruleset compatibility version was < v3.0. I bet this is the issue. Look at the frame definition used for the group boxes, and make sure it is correct.

For the fields cutting off:
The text field height definitions are less than the height of the font you are using. I moved to height="20" in almost all text field labels in the CoreRPG and derived rulesets.

Cheers,
JPG

benjihad
October 30th, 2015, 16:20
Great work so far, looking forward to digging into this some more! Definitely supports quite a bit of 2nd edition stuff.

Any chance of this getting a good polish and being added to the lineup of supported rulesets? A couple of things would be nice like double clickable NPC abilities like in the 3rd edition ruleset or the ability to load some of the CoreRPG extensions.

Regardless, thanks for what's already been done!