PDA

View Full Version : Brand new to FG - questions to deveop a ruleset/module



Xarxus
December 9th, 2020, 22:53
Hi, I'm a newbie on FG. I would like to develop a ruleset for the game that I have been running for years with some friends. It's a personal rpg. In this pandemic period it would be perfect to be able to use FG.

I started developing a ruleset and a module and I've understood something, but I'm really at the beginning. I tried to do a bit of research but I've not found the things I am about to ask, I hope this is the right place.

What I would like to do now is add the races. I saw that in the CoreRPG there is no trace of it in the library. I guess I need to put the data inside a list in the module, but then I stop. So here are the questions.

1. How do I make the ruleset read them when I load the module?
2. How do I generate a window (and perhaps a class) with the list?
3. How do I develop a detail window with the statistics?
4. Is there a dedicated forum (or reference guides) for rulesets / modules developers?

(edited: there were two point 3. :D )

Ty all

Moon Wizard
December 9th, 2020, 22:57
Here are links to the Developer's Guide on our wiki. The main thing to remember is that it's not written as a tutorial, but more as a reference. Your best bet is to crack things open on examples, and start making small changes.
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996644285/Developer+Guide

Regards,
JPG

Xarxus
December 9th, 2020, 23:13
Ty, I'll give a look!
I'v already opened 2 rulset but the way these use races are (by now) complex, I've to understand the process.

Ty again

damned
December 10th, 2020, 01:26
You could look at how I implemented races and classes in MoreCore
This should give you a bit of a starting point.
Most things are LOGGED rather than actioned.
If you want to look at a more advanced version but less complex than 5E have a look at the Low Fantasy Gaming version.


Also some videos:
https://www.youtube.com/watch?v=c9RyzgeiQOI&list=PLsgd1zJLdiKW23yt4X2qc_9w1TWQfTPUA&index=10
https://www.youtube.com/watch?v=PPmDMxCgQRg&list=PLsgd1zJLdiKW23yt4X2qc_9w1TWQfTPUA&index=11
https://www.youtube.com/watch?v=YkWALRzhUHY&list=PLsgd1zJLdiKW23yt4X2qc_9w1TWQfTPUA&index=12
https://www.youtube.com/watch?v=qgk1RFyainM&list=PLsgd1zJLdiKW23yt4X2qc_9w1TWQfTPUA&index=15

Xarxus
December 10th, 2020, 10:28
Oh, really ty. I'll see them!

Edit: and I start from the 1st. I do not want to loose something important. I'm a real newbie in FG. ;)

Xarxus
December 10th, 2020, 16:52
I think I guessed what <labelres> and char_label_race are, but I don't find any trace of them anywhere.
Is there a way override the char_label_race default value?
Where do I find a list of these variables (or constants)?

damned
December 11th, 2020, 03:53
Hi Xarxus

Please be aware that this video series was based on layering on MoreCore which is in turn layered on CoreRPG
When working with layered rulesets/extensions you sometimes need to check through all of them

If you are new to FG and FG coding you might start with the non MoreCore tutorials - and start with

https://www.youtube.com/watch?v=R_CulFJYs-M&list=PLsgd1zJLdiKVbJg6KJv668LyJXmfk25Yv&index=1
then
https://www.youtube.com/watch?v=UPKJDwUt554&list=PLsgd1zJLdiKVbJg6KJv668LyJXmfk25Yv&index=5
then
https://www.youtube.com/watch?v=x4leZBomtOc&list=PLsgd1zJLdiKVbJg6KJv668LyJXmfk25Yv&index=2

Xarxus
December 11th, 2020, 09:49
Ty again damned!