Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to incorporate PCGen into my application to avoid recreating the wheel for D20 system. (Are there any other libraries out there?)

In other words I would like to use PCGen as a library and do things like:

  1. CRUD characters (and all related information)
  2. Experience/level managements

I don't need the GUI part of it just the information to pass to my application.

This is a scenario I can think of: 1. Load available custom classes 2. Create a new Character/NPC 3. Transfer the stats to my system 4. Player keeps playing so I need to update experience 5. Save player in my system and recreate it later.

I'm trying to start to create a character from PCClass with no luck. Looking at the code it seems it'll try to load it. I assume load from a file generated from the GUI. Is there a way of bypassing the GUI for all this?

I was looking for a tutorial of some sorts without luck.

I was able to figure out how to use the dice within PCGen but that's about it.

Any ideas?


migration rejected from Dec 4 '13 at 6:10

This question came from our site for gamemasters and players of tabletop, paper-and-pencil role-playing games. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as too broad by Josh Petrie Dec 4 '13 at 6:10

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

It's worth taking a look at the AD&D/d20 licensing/trademark issues. Most of the rules are published under the Open Gaming License under the title System Reference Documentation. Not covered is the the chargen rules and trademarked spells/monsters. If you use the d20/AD&D trademarks you have to abide by some rules that require you to not publish character generation rules, put on some AD&D branding and a statement on the back saying that your book requires the AD&D players handbook. – David C. Bishop Jan 12 '12 at 21:40
Thanks for the link. I would most likely use what PCGen already has available but have the ability to use my own (generated in PCGen probably). – javydreamercsw Jan 12 '12 at 21:50
A lot of progress towards this being possible is being done on PCGen. Starting from release 6.0. Still not there, but getting closer. – javydreamercsw Nov 25 '12 at 21:43

Browse other questions tagged or ask your own question.