[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4780: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4784: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
PCGen • View topic - Help Getting Started with New Custom OS
Board index

PCGen


IT IS ALIVE!!!

Help Getting Started with New Custom OS

Post Output Sheets, discuss Output Sheets. Everything that encompasses Output Sheets!

Help Getting Started with New Custom OS

Postby Zenoguy3 » Wed Apr 05, 2017 5:32 pm

User avatar
Zenoguy3
 
Posts: 2
Joined: Wed Apr 05, 2017 4:58 pm

Re: Help Getting Started with New Custom OS

Postby Nylanfs » Wed Apr 05, 2017 11:04 pm

If I'm not mistaken creating the OS's is a two step process for PCGen, everything is sent to "base.xml" or "base.xml.ftl' and then output to the selected sheet.

Here is a place to start.

http://wiki.pcgen.org/OS_How-To

Also

http://wiki.pcgen.org/FreeMarker_Output

Also you can jump into our support chat room and depending on who is there get some help.

https://www.hipchat.com/gzYdCc3Vn


Paul "Yes that Paul" Grosse
PCGen BoD - PR Silverback
ICQ: 14397299
Forums: Nylan (or Nylanfs)
User avatar
Nylanfs
 
Posts: 339
Joined: Thu Sep 11, 2014 6:06 pm
Location: Elkhart, Indiana, United States

Re: Help Getting Started with New Custom OS

Postby LegacyKing » Thu Apr 06, 2017 2:00 am

PDF uses the base.xml.ftl file found in either the gamemode system root directory for that game system, or the default one in the root director of the output sheets. Then the XSLT sheets are a complicated mess - you typically break those up into specific color sheets which then call upon some master template which pulls in the other components. I constructed a building block sheet, which is what we use for the vast majority of the character sheets.

FTL is a stickler for proper syntax. It is an unforgiving template engine. But what it lacks in forgiveness it makes up for a lot more flexibility and power in the sheets.

Also, a side note: PCGen typically omits information to keep the publishers relevant. Other items like what level you gained a specific feat isn't recorded easily. I suppose if you wanted, you could do a Level 1, Level 3, Level 5 feat pool for each gain. But when designing PCGen, the powers that existed back then made the decision to allow for easier character creation, regardless of starting point - be it level 1 or 20. Thus, the design didn't include a method to track what was taken when.

If you want to work on that, then that's fine. I've found you can always record things in the notes section, or the Log sheet works nicely. That should work in the latest version.

Cheers,


Andrew Maitland
PCGen Content SB
- Data Chimp
- Quicksilver Tracker Monkey
User avatar
LegacyKing
Site Admin
 
Posts: 684
Joined: Fri Oct 11, 2013 12:35 pm
Location: California, US
Top

Re: Help Getting Started with New Custom OS

Postby Zenoguy3 » Thu Apr 06, 2017 2:54 am

I've tried both of those links and as I said in original post, I found them unhelpful. I've found and looked at the base file and more or less understand it, it's just a matter of translating that to a PDF. I would use the other methods, but I don't think it's possible to make a PDF with anything other than the XSLT stylesheets. My biggest problem is I follow the imports as far down as the go, but I can't figure out where the start of the thing is so I don't know what I have to call in order to make something happen, I'm pretty sure that the null error just means that nothing in my file actually instructs the program to do anything, but I can't figure out what actually makes it do anything. I'll try to hand out in the hipchat to see if I can get some help that way sometime, but all I need is a start, and then I can figure it out as I go.
User avatar
Zenoguy3
 
Posts: 2
Joined: Wed Apr 05, 2017 4:58 pm
Top

Re: Help Getting Started with New Custom OS

Postby LegacyKing » Thu Apr 06, 2017 6:11 am

I work on the OS the most, but it's only on an "as needed basis". You can also hit up Stefan Radermacher on hipchat. We both hang out there at different times. I'm mainly late evenings (U.S. West Coast), Stefan is in Germany.

My advice, pick a sheet you like most, and then reverse engineer it. Everything is set up in blocks, and it's much easier to edit a block, then to build something entirely from scratch, especially if you're coming into this with no XML, or XSLT knowledge. FO is not something I touch unless absolutely necessary.

Process of export - You select the Sheet - that sheet grabs the information from the XML file (.ftl) and then takes the populated information to pull into the blocks.

I have been advocating to make the export use the same files to go to pdf, and htm. But so far, not enough developers to take on this task. Be nicer to work on one set of files, instead of multiple file formats.

Cheers,


Andrew Maitland
PCGen Content SB
- Data Chimp
- Quicksilver Tracker Monkey
User avatar
LegacyKing
Site Admin
 
Posts: 684
Joined: Fri Oct 11, 2013 12:35 pm
Location: California, US
Top


Return to Output Sheets

Who is online

Users browsing this forum: No registered users and 1 guest

cron