PDA

View Full Version : FGU XML Module Creation



Xyvreal
March 10th, 2025, 23:31
When using fgu and going through module creation, I noticed that you cannot add spell lists for new classes and a few forums I saw said that I would have to write it into the XML. I'm all well and good with that but I have been able to use the export function and unpacking the .mod file to learn the xml format for much of the other content minus the specific spell lists. What format should be used when making a spell list and where should I put it in the db file.

Side question, am I able to directly import a file containing the db.xml and definition.xml into fantasy grounds or do I need some way to convert it back into a .mod file?

Zacchaeus
March 10th, 2025, 23:39
You can create spell lists for classes. Open the class list and click on spells at the top then click on definitions. Create a new list by clicking on the green plus, name it and then drag and drop the spells from the source.

FG will read a file from a folder in the modules folder(if I remember correctly) but for distribution it should be wrapped into a module.

Xyvreal
March 10th, 2025, 23:51
Many thanks for the quick reply! Creating the spell list worked. I previously misunderstood the intent of the definitions button because in most other areas of the program, custom content is added from the window where you would like to add it.