Thread: New RuleSet creation help.
-
February 4th, 2014, 22:26 #101
It is:FantasyGroundsPatchFull-1.05c.
Is there an FG2 Base game that I can download?
I can use a comparison between the coding of FG1 and FG2 and then code my own AD&D 2nd Ed costume rule set.
I might even be able to create a conversion utility.Bridgekeeper: Hee hee heh. Stop! What is your name?
Arthur: It is Arthur, King of the Britons.
Bridgekeeper: What is your quest?
Arthur: To seek the Holy Grail.
Bridgekeeper: What is the air-speed velocity of an unladen swallow?
Arthur: What do you mean? An African or European swallow?
Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
Bedevere: How do know so much about swallows?
Arthur: Well, you have to know these things when you're a king, you know.
-
February 5th, 2014, 01:03 #102
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,564
I'm guessing that a conversion utility is unnecessary since the feature difference between FG1 and FG2 rulesets is quite vast by now.
For the latest version of FG, it comes with a ruleset called CoreRPG which implements most of the ruleset agnostic features used across all the rulesets. Also, the ability to "layer" a ruleset on top of another one was added as well. You can look at any of the downloaded rulesets to see examples of how to use the importruleset tag, and override the existing pieces.
Try loading up FG with a new CoreRPG campaign to see what is provided automatically.
Cheers,
JPG
-
February 5th, 2014, 07:23 #103
The installer on the downloads page acts as the demo now. Install as unregistered and you can run a demo with a single player connection. The sample demo campaigns are 3.5e and 4e D&D but, as stated before, there is a community ruleset for AD&D available in the ruleset library. Click on the Free Rulesets link in the menu at the top of the page to see the range available.
You won't be able to convert directly from FG1 to FG3 (or FG2). The conversion process was a manual one, even back in the day. The rulesets for FG2 separated the Fantasy Grounds functionality in the ruleset and the library, which became modules. This allowed greater sharing of community rulesets as you wouldn't have to strip out all the library data you'd put in before sharing. The rulesets are also a mix of XML and Lua script, providing a far richer range of automation options than were available in FG1.
The library modules are plain XML files, zipped. There are 3 types: client (player side required), common (shared by the GM, visible to players), db (GM only). A definition file identifies the library modules and the ruleset(s) it is valid for.
Using Ultimate license - that means anyone can play.
Valarian's Fantasy Grounds Rulesets
-
February 28th, 2014, 20:28 #104
Under: E:\Games\RPG\FantasyGrounds2\rulesets\d20-SRD I have:
"<root>
<staticdata source="rulesets\d20-SRD\database\spelllists.xml" />
<staticdata source="rulesets\d20-SRD\database\spelllists_domains.xml" />
<staticdata source="rulesets\d20-SRD\database\spelllists_schools.xml" />
<staticdata source="rulesets\d20-SRD\database\classes.xml" />
<staticdata source="rulesets\d20-SRD\database\equipment.xml" />
<staticdata source="rulesets\d20-SRD\database\spelldesc.xml" />
<staticdata source="rulesets\d20-SRD\database\monsters.xml" />
<staticdata source="rulesets\d20-SRD\database\modifiers.xml" />
<!-- Begin Custom Data -->
<staticdata source="rulesets\d20-SRD\database\feats.xml" />
<staticdata source="rulesets\d20-SRD\database\skills.xml" />
<staticdata source="rulesets\d20-SRD\database\reftxt.xml" />
<staticdata source="rulesets\d20-SRD\database\reftbl.xml" />
<staticdata source="rulesets\d20-SRD\database\powerlists.xml" />
<staticdata source="rulesets\d20-SRD\database\powerdesc.xml" />
<!-- End Custom Data -->
<includefile source="data\bmpfonts.xml" />
<includefile source="data\graphics.xml" />
<includefile source="rulesets\d20-SRD\d20_graphics.xml" />
<desktopimage file="rulesets\d20-SRD\data\textures\Granite1.png" />
<includefile source="data\gameelements.xml" />
<includefile source="data\ui_adventure.xml" />
<includefile source="data\ui_utility.xml" />
<includefile source="rulesets\d20-SRD\charsheet.xml" />
<includefile source="rulesets\d20-SRD\d20_adventure.xml" />
<includefile source="rulesets\d20-SRD\d20_desktop.xml" />
<includefile source="rulesets\d20-SRD\d20_reference.xml" />
<includefile source="rulesets\d20-SRD\d20_utility.xml" />
<includefile source="rulesets\d20-SRD\d20_export.xml" />
<tokenroot source="data\tokens" />
</root>
The key line of reference is, "<desktopimage file="rulesets\d20-SRD\data\textures\desktop.png" />"
Under: E:\Games\RPG\FantasyGrounds2\campaigns\Verbohonc I have:
<root>
<staticdata source="rulesets\AD&D 2e\database\spelllists.xml" />
<staticdata source="rulesets\AD&D 2e\database\spelllists_domains.xml" />
<staticdata source="rulesets\AD&D 2e\database\spelllists_schools.xml" />
<staticdata source="rulesets\AD&D 2e\database\class.xml" />
<staticdata source="rulesets\AD&D 2e\database\equipment.xml" />
<staticdata source="rulesets\AD&D 2e\database\proficiencies.xml" />
<staticdata source="rulesets\AD&D 2e\database\proficiencydescription.xml" />
<staticdata source="rulesets\AD&D 2e\database\spelldesc.xml" />
<staticdata source="rulesets\AD&D 2e\database\monsters.xml" />
<staticdata source="rulesets\AD&D 2e\database\modifiers.xml" />
<staticdata source="rulesets\AD&D 2e\database\classes.xml" />
<staticdata source="rulesets\AD&D 2e\database\races.xml" />
<includefile source="data\bmpfonts.xml" />
<includefile source="data\graphics.xml" />
<includefile source="rulesets\AD&D 2e\d20_graphics.xml" />
<desktopimage file="rulesets\Verbohonc\data\textures\Granite1.pn g" />
<!-- E:\Games\RPG\FantasyGrounds2\rulesets\Verbohonc\ru lesets\data\textures -->
<includefile source="data\gameelements.xml" />
<includefile source="data\ui_adventure.xml" />
<includefile source="data\ui_utility.xml" />
<includefile source="rulesets\AD&D 2e\charsheet.xml" />
<includefile source="rulesets\AD&D 2e\d20_adventure.xml" />
<includefile source="rulesets\AD&D 2e\d20_desktop.xml" />
<includefile source="rulesets\AD&D 2e\d20_reference.xml" />
<includefile source="rulesets\AD&D 2e\d20_utility.xml" />
<includefile source="rulesets\AD&D 2e\d20_export.xml" />
<tokenroot source="data\tokens" />
</root>
The key line of reference is, "<desktopimage file="rulesets\Verbohonc\data\textures\Granite1.pn g" />"
Both load just fine, but Verbohonc's background graphics are the same as d20-SRD's.
What do I need to do to fix this? Feel free to ask for any other information you my need.
Thank you,
BaksharaBridgekeeper: Hee hee heh. Stop! What is your name?
Arthur: It is Arthur, King of the Britons.
Bridgekeeper: What is your quest?
Arthur: To seek the Holy Grail.
Bridgekeeper: What is the air-speed velocity of an unladen swallow?
Arthur: What do you mean? An African or European swallow?
Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
Bedevere: How do know so much about swallows?
Arthur: Well, you have to know these things when you're a king, you know.
-
March 1st, 2014, 02:08 #105
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,402
If that is a literal copy then take the space out of the png extension. ie ... Granite1.pn g" /> should be Granite1.png" />
-
March 1st, 2014, 18:22 #106
Thank you.
Bridgekeeper: Hee hee heh. Stop! What is your name?
Arthur: It is Arthur, King of the Britons.
Bridgekeeper: What is your quest?
Arthur: To seek the Holy Grail.
Bridgekeeper: What is the air-speed velocity of an unladen swallow?
Arthur: What do you mean? An African or European swallow?
Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
Bedevere: How do know so much about swallows?
Arthur: Well, you have to know these things when you're a king, you know.
-
March 1st, 2014, 21:16 #107
Data
Ah, but you need to do that in your own ruleset. The stuff in \data is contained in the resource-file and so the program looks for that first. However, if you for instance copy those lines of code to for instance \rulesets\yourruleset\your_graphics.xml then it should work.
E:\Games\RPG\FantasyGrounds2\campaigns\Verbohonc\r ulesets\2ndEd\2ndEd_graphics.xml.
I have a lot of data like this:
<framedef name="charsheet_main">
<bitmap file="rulesets\2ndEd\frames\charsheet_main.png" />
<topleft rect="0,0,0,0" />
<top rect="0,0,0,0" />
<topright rect="0,0,0,0" />
<left rect="0,0,0,0" />
<middle rect="0,0,550,685" />
<right rect="0,0,0,0" />
<bottomleft rect="0,0,0,0" />
<bottom rect="0,0,0,0" />
<bottomright rect="0,0,0,0" />
</framedef>
And a lot of data like this:
<icon name="button_openwindow" file="rulesets/2ndEd/icons/button_opengemwindow.png" />
<icon name="button_openwindow2" file="rulesets/2ndEd/icons/button_opengemwindow2.png" />
<icon name="button_openwindow2down" file="rulesets/2ndEd/icons/button_opengemwindow2down.png" />
<icon name="button_emptytarget" file="rulesets/2ndEd/icons/button_emptytarget.png" />
<icon name="button_rulebook" file="rulesets/2ndEd/icons/button_rulebook.png" />
<icon name="button_rulebook_down" file="rulesets/2ndEd/icons/button_rulebook_down.png" />
<icon name="button_monsterbook" file="rulesets/2ndEd/icons/button_monsterbook.png" />
<icon name="button_monsterbook_down" file="rulesets/2ndEd/icons/button_monsterbook_down.png" />
Under "\data" I have:
bmpfonts.xml
d20_graphics.xml
<DIR> fonts
<DIR> frames
gameelements.xml
graphics.xml
<DIR> icons
<DIR> textures
<DIR> tokens
ui_adventure.xml
ui_utility.xml
I do not have a "resource-file" under FantasyGrounds1 or FantasyGrounds2.
Do I need to create one?Last edited by Bakshara; March 1st, 2014 at 21:20. Reason: It does not lke the Tab symbol
Bridgekeeper: Hee hee heh. Stop! What is your name?
Arthur: It is Arthur, King of the Britons.
Bridgekeeper: What is your quest?
Arthur: To seek the Holy Grail.
Bridgekeeper: What is the air-speed velocity of an unladen swallow?
Arthur: What do you mean? An African or European swallow?
Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
Bedevere: How do know so much about swallows?
Arthur: Well, you have to know these things when you're a king, you know.
-
March 1st, 2014, 21:25 #108
You'll need to change all of your references to rulesets/2ndEd/.... to remove the "rulesets/2ndEd" - in Fantasy Grounds 2 and now 3, your data contained in your rulesets is referenced from the root of the ruleset folder - which in this case would be rulesets/2ndEd.
So, <icon name="button_openwindow" file="rulesets/2ndEd/icons/button_opengemwindow.png" /> should be <icon name="button_openwindow" file="icons/button_opengemwindow.png" />
Also, move all of the items you mentioned under \data (except the tokens folder) to rulesets/2ndEd/.
You need to have everything you will be using for your ruleset in rulesets/2ndEd/
FG looks in the rulsets folder for rulesets - they can be stored in a .pak file or in a directory. rulesets/2ndEd/ will mean that FG will see a ruleset called "2ndEd" - and so when you go to create a new campaign you will have a "2ndEd" option.
You do know there is a community produced AD&D 2nd edition ruleset right? https://www.fantasygrounds.com/library/ADD2.xcpPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 4th, 2014, 04:20 #109
You'll need to change all of your references to rulesets/2ndEd/.... to remove the
"rulesets/2ndEd" - in Fantasy Grounds 2 and now 3, your data contained in your rulesets is
referenced from the root of the ruleset folder - which in this case would be
rulesets/2ndEd.
So, <icon name="button_openwindow" file="rulesets/2ndEd/icons/button_opengemwindow.png" />
should be <icon name="button_openwindow" file="icons/button_opengemwindow.png" />
Also, move all of the items you mentioned under \data (except the tokens folder) to
rulesets/2ndEd/.
You need to have everything you will be using for your ruleset in rulesets/2ndEd/
FG looks in the rulsets folder for rulesets - they can be stored in a .pak file or in a
directory. rulesets/2ndEd/ will mean that FG will see a ruleset called "2ndEd" - and so
when you go to create a new campaign you will have a "2ndEd" option.
Okay. I made a backup copy of 2ndEd_graphics.xml, just in case.
Then I did everything you recommended.
This is what transpired:
Only the tokenbag worked
These are the formats I now have:
<framedef name="charsheet_main">
<bitmap file="rulesets\2ndEd\frames\charsheet_main.png" />
<topleft rect="0,0,0,0" />
<top rect="0,0,0,0" />
<topright rect="0,0,0,0" />
<left rect="0,0,0,0" />
<middle rect="0,0,550,685" />
<right rect="0,0,0,0" />
<bottomleft rect="0,0,0,0" />
<bottom rect="0,0,0,0" />
<bottomright rect="0,0,0,0" />
</framedef>
<icon name="button_openwindow" file="icons/button_opengemwindow.png" />
<icon name="button_openwindow2" file="icons/button_opengemwindow2.png" />
<icon name="button_openwindow2down" file="icons/button_opengemwindow2down.png" />
The path is: E:\Games\RPG\FantasyGrounds2\campaigns\Verbohonc\r ulesets\2ndEd
Under that is:
2ndEd_adventure.xml
2ndEd_desktop.xml
2ndEd_export.xml
2ndEd_graphics.xml
2ndEd_reference.xml
2ndEd_utility.xml
base.xml
bmpfonts.xml
charsheet.xml
class.xml
classes.xml
equipment.xml
equipment_xml.bak
exchangerates.xml
houserules.xml
Legalbs.xml
magespells.txt
modifiers.xml
monstrouscompendiums.xml
proficiencies.xml
proficiencydescription-short.xml
proficiencydescription.xml
proficiencytables.xml
psionicpowers.xml
psionicpowersdescription.xml
races.xml
spell.xml
spelllists.xml
spelllists_domains.xml
spelllists_schools.xmlLast edited by Bakshara; March 4th, 2014 at 04:30. Reason: it chages rulesets to r ulestes
Bridgekeeper: Hee hee heh. Stop! What is your name?
Arthur: It is Arthur, King of the Britons.
Bridgekeeper: What is your quest?
Arthur: To seek the Holy Grail.
Bridgekeeper: What is the air-speed velocity of an unladen swallow?
Arthur: What do you mean? An African or European swallow?
Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
Bedevere: How do know so much about swallows?
Arthur: Well, you have to know these things when you're a king, you know.
-
March 4th, 2014, 08:07 #110
Your 2ndED folder needs to be in <FG App Folder>\rulesets directory. Open Fantasy Grounds and click the folder icon in the top right hand corner. This is the <FG App directory> and your 2ndED folder should be in <FG App directory>\rulesets - is this where you are putting it? From the directory above it looks like it is under the campaigns directory, which wouldn't even work so I'm very confused with this directory structure.
*Everything* needs to be changed so that the reference for files starts at <FG App folder>\rulesets\2ndEd - so remove rulesets\2ndEd\ from all file references.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks