PDA

View Full Version : Module variable generator?



Vishera
June 18th, 2013, 11:49
Is there a faster way I can write a module other than manually typing in all the variables like HD, Speed, Alignment etc. and then all the filler in between?

I have been working on creating the Bestiary 2 for my own campaign use and its taking FOREVERRRR If there were some sort of app or webpage where it has for example, text boxes for each of those values and I fill them in, hit "generate" and it spits out the XML and I just paste it into my existing module?

If there isnt something like this.. how hard would it be to make? Even if it generated 1 creature at a time, it would save literally HOURS and I would just arrange them alphabetically.. there HAS to be a way..

Callum
June 18th, 2013, 12:03
There's Trenloe's excellent Pathfinder Creature Parser (https://www.fantasygrounds.com/forums/showthread.php?t=15475)! (Hmm...that could almost be a spell name.) The Bestiary 2 is already available in the list of modules (https://www.fantasygrounds.com/forums/showthread.php?t=16074).

Vishera
June 18th, 2013, 12:08
There's Trenloe's excellent Pathfinder Creature Parser (https://www.fantasygrounds.com/forums/showthread.php?t=15475)! (Hmm...that could almost be a spell name.) The Bestiary 2 is already available in the list of modules (https://www.fantasygrounds.com/forums/showthread.php?t=16074).


unfortunately I dont have windows (i have OSX) and cant get this to work with wine.

I am probably going to make a webpage for myself that has the text boxes for the data entry, and use probably JAVA or something to spit out the correct format.. just gotta figure out exactly how to do it.. been a while since I messed with Java

Vishera
June 18th, 2013, 12:10
hmm and kind of upsetting somebody already made the 2 and 3.. sort of takes the enjoyment out of learning how to make this lol

damned
June 18th, 2013, 13:17
the parser is sooooo much faster than anything you are looking at but i have written something similar.
https://www.swordsnsorcery.com/fantasygrounds/
havent done anything with it but basically you can enter all the stats for your NPCs and even tokens and it will export the module with an icon ready for use in FG...
i wouldnt use something like this for copying a whole monster manual - this was to create a bunch of ready made NPCs.

Vishera
June 19th, 2013, 01:25
This is almost perfect for what I want to use it for. would you be willing to share the source? I would like to modify a few things on that for my campaign specifically. If so my email is [email protected] thanks!

damned
June 19th, 2013, 01:38
I use a RAD tool to build a lot of the code. Happy to send you the source code but without CodeChargeStudio you wont be able to use it - although you can install a trial and use/edit the project for 14days. It will add some extra tags in there like "Generated with Code Charge Studio". You will also need hosting with PHP and MySQL - although the RAD tool can convert the code to use it for ASP, CFM etc and different database. alternatively you might just pull out the logic behind it and rebuild using your own tools.
also - my output file is specific to Castles&Crusades - but that is easy to fix.

Vishera
June 19th, 2013, 01:44
sounds good please do fwd my way. I have a host and it supports PHP/MySQL. and thank you!