Thread: Creating New Rulesets Properly
-
January 21st, 2006, 12:23 #1
- Join Date
- Jan 2006
- Posts
- 13
Creating New Rulesets Properly
Ever tried creating a new ruleset but kept getting the d20 stuff instead of your changes? Well here are a few steps to get you set up for a ruleset of your own:
1. Delete the d20 folder under rulesets "[FG Root]/rulesets/d20". This folder isn't necessary to run FG as it draws this information from a different file (see below). I beleive Goblin-King had posted that the d20 folder was an example on rulesets. Well, it's incomplete and that's the problem. So get rid of it.
2. Go to your "[FG Root]" directory. You should see a file called "resource.pak". This is the file that FG draws its information from.
3. Backup the "resource.pak" file (i.e. copy/paste it and then rename it "resource.pak.bak"). This way the original file won't be messed if you your surgery goes awry.
4. Now rename the "resource.pak" file to "resource.pak.zip". You will now be able to open the file to extract the complete d20 ruleset.
5. Extract the d20 folder under rulesets to "[FG Root]/rulesets/". Now you will have a complete ruleset to base your new ruleset off of.
6. Rename the "resource.pak.zip" back to "resource.pak" to ensure your game continues to work properly.
7. Copy/paste and/or rename the d20 folder to your ruleset name (i.e. "[FG Root]/rulesets/Pentays_Rules").
8. Use an .XML editor to edit all the files. If you don't have an .XML editor, then "Word Pad" will work. Don't use notepad as it can't edit the larger files without locking up. You'll need to edit all the .XML files and look for any "rulesets/d20/" references. Replace it with your ruleset's name (i.e. "rulesets/Pentays_Rules"/). Search every file. You won't find it in every one, but I don't remember exactly which ones I modified. Now you'll have a properly linked ruleset you can modify.
Also, if you want to get rid of those pesky A-Z tokens, delete them from the "resource.pak" file and your "[FG Root]/data/tokens" folder. I don't know what effect it has on connecting with other users, but they don't show up anymore.
Hope this helps those who've been having some trouble out there.Last edited by pentay; January 21st, 2006 at 13:21.
Pentay Zae Gammie
"I am altering the deal... pray I don't alter it further" -- Darth Vader
-
January 22nd, 2006, 14:16 #2
I'll add some observations to the list.
Originally Posted by pentay
https://www.fantasygrounds.com/forum...ead.php?t=2561
Originally Posted by pentay
Of course, this might actually be what you want if you are working on a completely different set of rules.
You can avoid this for most small changes by only copying the base.xml file and the files you are planning to modify to the new folder, and letting the base.xml refer to the files in the original ruleset.
Originally Posted by pentay
<tokenroot source="data\tokens" />Tero Parvinen
Fantasy Grounds Guru
-
January 23rd, 2006, 14:43 #3
- Join Date
- Jan 2006
- Posts
- 13
Thank you for those clarifications on the rulesets. I will definately take those into consideration as I create my custom ruleset. I've been trying to modify the dice using the completely independent ruleset, but so far I've had no avail. Any advice on that?
Pentay Zae Gammie
"I am altering the deal... pray I don't alter it further" -- Darth Vader
-
January 23rd, 2006, 18:56 #4Originally Posted by pentay
Code:<includefile source="rulesets\d20-SRD\gameelements.xml" />
The new entries in gameelements.xml look like so:
Code:<die name="DOMT"> <values list="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22"/> <icon file="data\icons\d20_icon.png" /> </die> <die name="d3"> <values list="1,2,3" /> <icon file="data\icons\d4_icon.png" /> </die>
-
January 24th, 2006, 07:01 #5
- Join Date
- Jan 2006
- Posts
- 13
But were you able to add a "die" on the table? That's what I'm trying to do. Like all 5 dice to be d6's or d8's. It seems the game engine doesn't recognize it or I still need to find it in the files (which I'm doing detailed analysis of).
Pentay Zae Gammie
"I am altering the deal... pray I don't alter it further" -- Darth Vader
-
January 24th, 2006, 07:52 #6
You can only relocate the default positions of the dice but not get rid off or change the types of them in the current release.
-
January 27th, 2006, 04:07 #7
- Join Date
- Jan 2006
- Posts
- 13
Originally Posted by Goblin-King
The problems is when the clients connect, FG wants to transfer everything again. Why doesn't transferring work?Pentay Zae Gammie
"I am altering the deal... pray I don't alter it further" -- Darth Vader
-
January 28th, 2006, 17:01 #8
Unable to Create d3
I am unable to get a custom d3 into my ruleset, though I followed the steps above.
In my gameelements.xml file, I added the following code...
<die name="d3">
<values list="1,2,3" />
<icon file="data\icons\d3_icon.png" />
</die>
(The d3_icon.png is just a duped version of the d6)
From inside the game, I type in /die 1d3 but I get no result.
Is there something I am missing? Any help would be appreciated.
Regards,
Vayman
-
January 29th, 2006, 14:17 #9
- Join Date
- Mar 2005
- Posts
- 671
try using one of the standard dice first, and see if it works. If so, then you will know its an issue with the die graphic.
-
January 29th, 2006, 15:32 #10
Last edited by kalmarjan; January 29th, 2006 at 15:39.
Ultimate Licence holder
I've had FG for so LONG I DON'T KNOW HOW TO USE IT!
But I'm learning!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks