Beldak
September 15th, 2017, 20:46
I'm having a heckuva time trying to make a pregenerated character module.
This module has some custom backgrounds etc, and I'll likely add a Reference Manual link as well.
However, the old public PAR5E doesn't seem to handle pregens and the manual method listed here isn't very detailed: https://www.fantasygrounds.com/wiki/index.php/Pregens
What I've tried to do:
-Create a new campaign, where I'm inputting a new background and created a PC character.
-Exited FG and edited the db.xml file to add the following code:
<library>
<id-00001>
<librarylink type="windowreference">
<class>pregencharselect</class>
<recordname>pregencharsheet@PregenTest5E</recordname>
</librarylink>
<name type="string">Pregenerated Characters</name>
</id-00001>
</library>
-Then added this code to the root:
<pregencharsheet>
<Character1>
...
</Character1_>
<Character2_>
...
</Character2_>
...
</pregencharsheet>
-Save and when I load the campaign back up and click on Library, I get a script error popup: Script Error: [string "library_booklistentry"]:1: bad argument #-1 to 'getModuleInfo' (string expected, got nil)
-Theoretically I can export the PC to xml and paste this xml manually into db.xml in place of the Character1 tags.
Any insight to those who have gone before is appreciated! I downloaded rob's FG 5E Pregens from DMs guild to try and learn more, however this is just the xml files of the characters and not a "mod" to load them.
This module has some custom backgrounds etc, and I'll likely add a Reference Manual link as well.
However, the old public PAR5E doesn't seem to handle pregens and the manual method listed here isn't very detailed: https://www.fantasygrounds.com/wiki/index.php/Pregens
What I've tried to do:
-Create a new campaign, where I'm inputting a new background and created a PC character.
-Exited FG and edited the db.xml file to add the following code:
<library>
<id-00001>
<librarylink type="windowreference">
<class>pregencharselect</class>
<recordname>pregencharsheet@PregenTest5E</recordname>
</librarylink>
<name type="string">Pregenerated Characters</name>
</id-00001>
</library>
-Then added this code to the root:
<pregencharsheet>
<Character1>
...
</Character1_>
<Character2_>
...
</Character2_>
...
</pregencharsheet>
-Save and when I load the campaign back up and click on Library, I get a script error popup: Script Error: [string "library_booklistentry"]:1: bad argument #-1 to 'getModuleInfo' (string expected, got nil)
-Theoretically I can export the PC to xml and paste this xml manually into db.xml in place of the Character1 tags.
Any insight to those who have gone before is appreciated! I downloaded rob's FG 5E Pregens from DMs guild to try and learn more, however this is just the xml files of the characters and not a "mod" to load them.