GI JOE RPG Launch
Page 1 of 19 12311 ... Last
  1. #1
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    6,255
    Blog Entries
    21

    Universal Character Sheet Printer for FG

    If any brave souls want to help test out some new character sheet printing features for FG, please check the following links. There are XSL sheets for D&D 4E, D&D 5E and Deadlands Reloaded. You should be able to look at those files (the deadlands and 5E ones may be the easiest to follow) and build your own XSL sheets or modify the ones included. This is just an early alpha stage at this point. If we like this general approach, then we can look to include this functionality as a built-in component to Fantasy Grounds once we complete the move to Unity.

    Link to the file:
    Windows:
    https://www.fantasygrounds.com/filel...eetPrinter.zip

    Mac:
    https://www.fantasygrounds.com/filel...rinter.app.zip

    Linux:
    https://www.fantasygrounds.com/filel...nter_Linux.zip


    Steps to print your character:
    1. Launch the Campaign and go to the Character Select Window
    2. Export the character using the list menu (turn on first)
    3. Launch the character printing tool
    4. Select an XSL sheet that matches that system (only 3 supported right now)
    5. Select your character xml file that you exported earlier
    6. Select the name of the output HTML
    7. View the result in the launched web browser and print


    Update:
    2022-11-30 New version uploaded for Windows with new filebrowser and additional XSL stylesheets written by community members in thread
    Last edited by ddavison; November 30th, 2022 at 15:39.

  2. #2
    I was really excited when I saw this thread title! Sadly, it appears I was misled by the word "universal". I would be so happy if this worked for 3.5E and PFRPG.

  3. #3
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    27,079
    Blog Entries
    1
    I *think* the intention is to test it and bed it down on the above rulesets and if its good and worthwhile it may get expanded

  4. #4
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    6,255
    Blog Entries
    21
    It is Universal in that the tool doesn't care which XSL file is used to layout the content, the ruleset used or what images are used for the background image that you overlay text over. Because each ruleset and each background image is unique, though, it does require someone to perform that layout. If you look in the folder for StreamingAssets/XSLSheets, you will find several XSL files there for the 3 systems it currently supports. You can open this up inside of Notepad++ and see how it references the various data elements and positions them on the page with relatively easy to follow top and left positioning of an HTML div tag.

    For Deadlands and D&D 5E, these refer to images that we have placed on our server; however, you could be pulling these from anywhere -- including from the same directory as your XSL and character HTML files.

  5. #5
    Quote Originally Posted by Callum View Post
    I was really excited when I saw this thread title! Sadly, it appears I was misled by the word "universal". I would be so happy if this worked for 3.5E and PFRPG.
    What's wrong with PCGen for 3.5e and PFRPG? :-)

  6. #6
    I currently use PCGen for 3.5E and PFRPG! But it means manually updating the characters in PCGen every time (as well as coding in all the non-core stuff). If there was some way of exporting characters from FG and importing them into PCGen, that would make me very happy, too!

  7. #7
    Valarian's Avatar
    Join Date
    Mar 2007
    Location
    Worcestershire, UK
    Posts
    2,567
    Will this run against a db.xml if the XSL supports the multiple characters? Is it just running an XSLT transform of the XML to HTML? I've got number of XSL and CSS scripts for rulesets I've produced over the years (e.g. The One Ring, Babylon 5 d20). I usually use JEdit to run the transformation.
    Using Ultimate license - that means anyone can play.
    Valarian's Fantasy Grounds Rulesets

  8. #8

    Join Date
    Oct 2014
    Location
    Switzerland
    Posts
    238
    Great tool.

    But the skill names on the backgound pic are hard to read when printed out.

    Thanks for your great work

  9. #9
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    6,255
    Blog Entries
    21
    You can, although the XSL would have to support it and expect multiple characters. Because of how XSL handles variables, they can only be set once, so you wouldn't be able to use variables as shortcuts and would need to be a bit more verbose with your expressions.

    Thegroo, which character sheet were you using? Would it be better to put some white fill behind the text?

  10. #10

    Join Date
    Oct 2014
    Location
    Switzerland
    Posts
    238
    I'm using the 5e sheet.
    Don't know about the white fill, i think it needs a bigger font size.


Page 1 of 19 12311 ... Last

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
  •  
TALES of the VALIANT

Log in

Log in