PDA

View Full Version : Confused with tutorials and guides: what is still relevant and what is deprecated ?



Guame
August 3rd, 2017, 19:34
So I want to create a ruleset for Tales of the Loop which looks like a reachable target for a seasoned dev with no prior experience in LUA like me.

I've started to look at the sticky topics and at the wiki, but a lot of material seems to be outdated with latest FG version.

I also tried to "reverse engineered" some other rulesets but many parts are still quite unclear for me. I was able to perform so minor updates,
but I still can't see how to produce a complete new ruleset.

Could someone points me to the right direction ? Which tutorial should I use in order to build a ruleset with the current FG version ?

Trenloe
August 3rd, 2017, 19:41
Your best bet is to start with CoreRPG - this is where all base functionality for Fantasy Grounds is developed and updated.

Guidelines on modifying the base CoreRPG ruleset here: https://www.fantasygrounds.com/forums/showthread.php?20651-Modifying-the-CoreRPG-ruleset

Expanded to give info on layered rulesets on top of CoreRPG (the best way to go - don't modify CoreRPG, layer on top of it) for the 3.5E ruleset, but this can be applied to pretty much any layered ruleset: https://www.fantasygrounds.com/forums/showthread.php?19033-Modifying-the-3-5e-PFRPG-ruleset

And info here too: https://www.fantasygrounds.com/wiki/index.php/Developer_Guide

Moon Wizard
August 3rd, 2017, 19:48
I just rebuilt the Developer Guide. Check out this link. (https://www.fantasygrounds.com/wiki/index.php/Developer_Guide)

Your best bet is still to start with an empty ruleset layer, and begin making small modifications to existing ruleset windows to get familiar with the code. You can see how windowclass assets can be overriden and merged by looking at any ruleset built on top of CoreRPG (3.5E, 4E, 5E, Numenera, FateCore, ...) Make sure to have a multi-file searching text editor to be able to look up windowclass and template references within ruleset files to see how the originals are put together.

Regards,
JPG

Guame
August 3rd, 2017, 21:22
Thanks a lot for all these details, it will help for sure :)