PDA

View Full Version : Help with other Rolemaster Modules, and extensions



Sulimo
December 17th, 2014, 21:57
A couple of weeks ago, my GF bought me a copy of Fantasy Grounds and the Rolemaster Classic ruleset (birthday gift :))

So far it looks pretty interesting. I plan to get her and a couple of other friends together to see if I can setup a quick sample adventure for them to see how it goes. I did a basic sample adventure/combat with her already, and that looks like it could speed things up a bit when we play.


One thing I would like to be able to do is to add the Professions/Races/Skills/Spells from the Rolemaster companion books (I own 1-7).

Looking here (https://www.fantasygrounds.com/forums/showthread.php?19648-How-do-I-create-my-own-races-classes) I was able to have a look at Dakadin's race example, and was able to add a couple of the other races from RMC I to it and have them show up correctly.

Looking here (https://www.fantasygrounds.com/forums/showthread.php?20601-Other-Rolemaster-modules) has some example text for professions and skills (again from Dakadin).

However while the races are working, the professions are not. I started by trying just one profession (Paladin) to see if I could get things working. With my current XML file, when I create a new character, it gives me the error:


Script Error: [string "rules/scripts/rules_professions.lua"]:10: attempt to index a nil value

Here is what I have (I have stripped most of it out for the sake of saving space), can anyone give me a clue of what might be wrong?



<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.9" RMCVersion="1.4">
<library static="true">
<RMCI>
<name type="string">Rolemaster Companion I</name>
<categoryname type="string">Rolemaster Classic Companions</categoryname>
<entries>
<section-901>
<librarylink type="windowreference">
<class>referenceraces</class>
<recordname>reference.racedata@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">RMC I Race Abilities</name>
</section-901>
<section-902>
<librarylink type="windowreference">
<class>referenceprofessions</class>
<recordname>reference.professions@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">RMC I Professions</name>
</section-902>
<section-902>
<librarylink type="windowreference">
<class>referenceprofessions</class>
<recordname>reference.skilllist.primaryskills@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Primary Skills</name>
</section-902>
<section-904>
<librarylink type="windowreference">
<class>referenceskills</class>
<recordname>reference.skilllist.secondaryskills@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Secondary Skills</name>
</section-904>
<section-904>
<librarylink type="windowreference">
<class>referenceskills</class>
<recordname>reference.skilllist.unskilledactions@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Unskilled Actions</name>
</section-904>
</entries>
</RMCI>
</library>


<reference>
<racedata>
<title type='string'>RMC I Race Abilities</title>
<footnote type='formattedtext'>
<p>
</p>
</footnote>
<list>
<id-00001>
<title type='string'>Bear Tribes</title>
<name type='string'>Bear Tribes</name>
<statbonuses>
<strength type='number'>+15</strength>
<quickness type='number'>-5</quickness>
<presence type='number'>+5</presence>
<intuition type='number'>+5</intuition>
<empathy type='number'>-10</empathy>
<constitution type='number'>+15</constitution>
<agility type='number'>0</agility>
<selfdiscipline type='number'>0</selfdiscipline>
<memory type='number'>0</memory>
<reasoning type='number'>0</reasoning>
</statbonuses>
<resistances>
<essence type='number'>20</essence>
<channeling type='number'>0</channeling>
<mentalism type='number'>0</mentalism>
<poison type='number'>20</poison>
<disease type='number'>15</disease>
<terror type='number'>0</terror>
</resistances>
<souldep type='number'>12</souldep>
<statdec type='number'>0</statdec>
<recx type='string'>0.7x</recx>
<languages type='number'>3</languages>
<hitdie type='string'>D10</hitdie>
<maxhits type='number'>150</maxhits>
<bmr type='number'>50</bmr>
</id-00001>
</list>
</racedata>
<professions>
<title type='string'>RMC I Professions</title>
<paladin>
<name type="string">Paladin</name>
<realm type="string">Channeling</realm>
<primerequisites>
<id-00001>
<stat type='string'>St</stat>
</id-00001>
<id-00002>
<stat type='string'>In</stat>
</id-00002>
</primerequisites>
<placement>
<size>
<width type="number">402</width>
<height type="number">198</height>
</size>
</placement>
<sizelimits>
<dynamic type="string">both</dynamic>
</sizelimits>
<resetmenuitem>
<position type="number">8</position>
<icon type="string">restorewindow</icon>
<label type="string">Reset to default size.</label>
</resetmenuitem>
<text type="formattedtext">
<p>Descriptive text</p>
<p>
<b>Prime requisites: </b>Strength and Intuition.
</p>
</text>
</paladin>
</professions>
<skilllist>
<title type='string'>RMC I Skills</title>
<primaryskills>
<title type="string">Primary Skills</title>
<list>
<id-00001>
<locked type='number'>1</locked>
<fullname type='string'>Maneuvering in Soft Leather</fullname>
<name type='string'>Man. in Soft Leather</name>
<type type='number'>4</type>
<calc type='number'>2</calc>
<stats type='string'>St/Ag</stats>
<armorfactor type='number'>0</armorfactor>
<costs>
<paladin type='string'>1/*</paladin>
</costs>
</id-00001>
<id-00002>
(Skills)
</id-00002>
(Other Skills)
</list>
</primaryskills>
<secondaryskills>
<title type="string">Secondary Skills</title>
<list>
<id-00001>
<locked type='number'>1</locked>
<fullname type='string'>Acrobatics</fullname>
<name type='string'>Acrobatics</name>
<type type='number'>1</type>
<calc type='number'>1</calc>
<stats type='string'>Ag/Qu</stats>
<armorfactor type='number'>1</armorfactor>
<costs>
<paladin type='string'>2/5</paladin>
</costs>
</id-00001>
</id-00001>
<id-00002>
(Skills)
</id-00002>
(Other Skills)
</list>
</secondaryskills>
<unskilledactions>
<title type="string">Unskilled Actions</title>
<footnote type="string">
These actions cannot be trained, but may be modified by stats, profession levels, special abilities, items, etc.
</footnote>
<list>
<id-00001>
<locked type='number'>1</locked>
<fullname type='string'>Base Casting Roll</fullname>
<name type='string'>Base Casting Roll</name>
<type type='number'>2</type>
<calc type='number'>2</calc>
<stats type='string'>In</stats>
<armorfactor type='number'>0</armorfactor>
<costs>
<paladin type='string'>---</paladin>
</costs>
</id-00001>
</id-00001>
</id-00001>
<id-00002>
(Skills)
</id-00002>
(Other Skills)
</list>
</unskilledactions>
</skilllist>
</reference>
</root>


I copied the Skills section out of Character Law and used that as a baseline. However some of the stuff at the top especially I just guessed at (based on what Dakadin had in his races example), so I am pretty sure that where the problem lies (but I could be wrong).

In addition, any example of a spell list (I have not yet checked out Spell Law to see how it is setup, if it is pretty simple, I can probably figure it out).


Another item I am having trouble with is the RMC_MERPskin (https://www.fantasygrounds.com/forums/showthread.php?16769-RMC_MERPskin).

Most of my experience with Rolemaster was using it for the MERP setting, hence my interest in this extension.

I am guessing that the problem is the way it is written, and is not compatible with either newer versions of FG or the RMC ruleset. The error message I receive is:


Script Error: [string "scripts/rmc_merpskin.lua"]:3: attempt to index global 'RMCConstants' (a nil value)


Any help is appreciated.

Trenloe
December 17th, 2014, 22:26
I have had to approve your post as you don't have enough posts on the forum and if your posts include links they will require moderation. If you subsequently edit any of your posts that contain a link then they will require moderation again. Try to avoid posts containing links (and editing those posts once approved) until you have about 10 posts on the forums (I think the count is a little less than that, but not much - I'm not sure of the exact number).

Sulimo
December 17th, 2014, 22:37
Ah, Ok, I was trying to link to examples from here on the forums.

I'll try to redo the intro to the thread.

Sorry about editing the post causing you more work. I did not know about that limitation.

If you see the reply I did, you do not have to approve it, since everything is back to how I originally posted.

For anyone looking at the XML above, I am aware of the mistakes in the <library> section (the duplicate section numbers), and have corrected them, but I still get the above error.

Dakadin
December 18th, 2014, 01:02
I have had a chance to look at it in depth but one quick thing I noticed was the <title> in the <professions> section. Try removing that and let me know if it resolves it for you. If not I will look into it in more depth later tonight.

And Happy Birthday! :)

Sulimo
December 18th, 2014, 01:38
I have had a chance to look at it in depth but one quick thing I noticed was the <title> in the <professions> section. Try removing that and let me know if it resolves it for you. If not I will look into it in more depth later tonight.

And Happy Birthday! :)

Well, removing the title section from professions, got rid of the error, but the drop down for professions in a new character still does not show Paladin in the list.

Dakadin
December 18th, 2014, 01:50
It shows up for me. Try exiting FG and restarting it. Library module updates require restarting the application instead of just reloading.

Sulimo
December 18th, 2014, 04:09
It shows up for me. Try exiting FG and restarting it. Library module updates require restarting the application instead of just reloading.

Hmmm, I always restart (just in case), and it does not show up. I'll try again here shortly.

Trenloe
December 18th, 2014, 04:13
Library module updates require restarting the application instead of just reloading.
You can also close and open the module from the module activation screen to re-load an updated module without restarting FG.

Dakadin
December 18th, 2014, 04:30
You can also close and open the module from the module activation screen to re-load an updated module without restarting FG.

That's great information. I wish I knew that years ago. :p

Sulimo
December 18th, 2014, 04:31
So I decided to simplify a bit to see if I could see where the problem was.

Here is the xml file I am using now:



<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.9" RMCVersion="1.4">
<library static="true">
<RMCI>
<name type="string">Rolemaster Companion I</name>
<categoryname type="string">Rolemaster Classic Companions</categoryname>
<entries>
<section-901>
<librarylink type="windowreference">
<class>referenceraces</class>
<recordname>reference.racedata@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">RMC I Race Abilities</name>
</section-901>
<section-902>
<librarylink type="windowreference">
<class>referenceprofessions</class>
<recordname>reference.professions@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">RMC I Professions</name>
</section-902>
<section-903>
<librarylink type="windowreference">
<class>referenceprofessions</class>
<recordname>reference.skilllist.primaryskills@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Primary Skills</name>
</section-903>
<section-904>
<librarylink type="windowreference">
<class>referenceskills</class>
<recordname>reference.skilllist.secondaryskills@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Secondary Skills</name>
</section-904>
<section-905>
<librarylink type="windowreference">
<class>referenceskills</class>
<recordname>reference.skilllist.unskilledactions@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Unskilled Actions</name>
</section-905>
</entries>
</RMCI>
</library>

<reference>
<racedata>
<title type='string'>RMC I Race Abilities</title>
<footnote type='formattedtext'>
<p>
</p>
</footnote>
<list>
<id-00001>
<title type='string'>Bear Tribes</title>
<name type='string'>Bear Tribes</name>
<statbonuses>
<strength type='number'>+15</strength>
<quickness type='number'>-5</quickness>
<presence type='number'>+5</presence>
<intuition type='number'>+5</intuition>
<empathy type='number'>-10</empathy>
<constitution type='number'>+15</constitution>
<agility type='number'>0</agility>
<selfdiscipline type='number'>0</selfdiscipline>
<memory type='number'>0</memory>
<reasoning type='number'>0</reasoning>
</statbonuses>
<resistances>
<essence type='number'>20</essence>
<channeling type='number'>0</channeling>
<mentalism type='number'>0</mentalism>
<poison type='number'>20</poison>
<disease type='number'>15</disease>
<terror type='number'>0</terror>
</resistances>
<souldep type='number'>12</souldep>
<statdec type='number'>0</statdec>
<recx type='string'>0.7x</recx>
<languages type='number'>3</languages>
<hitdie type='string'>D10</hitdie>
<maxhits type='number'>150</maxhits>
<bmr type='number'>50</bmr>
</id-00001>
<id-00002>
<title type="string">Northmen</title>
<name type="string">Northmen</name>
<statbonuses>
<strength type="number">10</strength>
<quickness type="number">0</quickness>
<presence type="number">5</presence>
<intuition type="number">0</intuition>
<empathy type="number">-5</empathy>
<constitution type="number">10</constitution>
<agility type="number">0</agility>
<selfdiscipline type="number">5</selfdiscipline>
<memory type="number">0</memory>
<reasoning type="number">0</reasoning>
</statbonuses>
<resistances>
<essence type="number">0</essence>
<channeling type="number">0</channeling>
<mentalism type="number">0</mentalism>
<poison type="number">0</poison>
<disease type="number">10</disease>
<terror type="number">0</terror>
</resistances>
<souldep type="number">12</souldep>
<statdec type="number">0</statdec>
<recx type="string">1x</recx>
<languages type="number">3</languages>
<hitdie type="string">D10</hitdie>
<maxhits type="number">150</maxhits>
<bmr type="number">50</bmr>
</id-00002>
</list>
</racedata>
<professions>
<paladin>
<name type="string">Paladin</name>
<realm type="string">Channeling</realm>
<primerequisites>
<id-00001>
<stat type='string'>St</stat>
</id-00001>
<id-00002>
<stat type='string'>In</stat>
</id-00002>
</primerequisites>
<placement>
<size>
<width type="number">402</width>
<height type="number">198</height>
</size>
</placement>
<sizelimits>
<dynamic type="string">both</dynamic>
</sizelimits>
<resetmenuitem>
<position type="number">8</position>
<icon type="string">restorewindow</icon>
<label type="string">Reset to default size.</label>
</resetmenuitem>
<text type="formattedtext">
<p>Paladins are Channeling semi-spell users who concentrate heavily in chivalric combat. The Paladin is the epitome of Arthurian knighthood. Names like Lancelot, Gawain, and especially Galahad should come to mind. He is a heave weapons and heavy armor specialist. The Paladin should be played carefully in regard to moral style (usually strictly good and chivalrous) as any variance from his conviction turns his great strength into bloody hipocracy. </p>
<p>
<b>Prime requisites: </b>Strength and Intuition.
</p>
</text>
</paladin>
</professions>
</reference>
</root>


Everything after </id-00001> does not show up, that includes the Northmen race... Not sure what the problem might be.

Dakadin
December 18th, 2014, 04:31
Hmmm, I always restart (just in case), and it does not show up. I'll try again here shortly.

Is your Bear Tribes race showing up?

Dakadin
December 18th, 2014, 04:32
So I decided to simplify a bit to see if I could see where the problem was.

Here is the xml file I am using now:



<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.9" RMCVersion="1.4">
<library static="true">
<RMCI>
<name type="string">Rolemaster Companion I</name>
<categoryname type="string">Rolemaster Classic Companions</categoryname>
<entries>
<section-901>
<librarylink type="windowreference">
<class>referenceraces</class>
<recordname>reference.racedata@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">RMC I Race Abilities</name>
</section-901>
<section-902>
<librarylink type="windowreference">
<class>referenceprofessions</class>
<recordname>reference.professions@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">RMC I Professions</name>
</section-902>
<section-903>
<librarylink type="windowreference">
<class>referenceprofessions</class>
<recordname>reference.skilllist.primaryskills@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Primary Skills</name>
</section-903>
<section-904>
<librarylink type="windowreference">
<class>referenceskills</class>
<recordname>reference.skilllist.secondaryskills@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Secondary Skills</name>
</section-904>
<section-905>
<librarylink type="windowreference">
<class>referenceskills</class>
<recordname>reference.skilllist.unskilledactions@Rolemaster Companion I</recordname>
</librarylink>
<name type="string">Unskilled Actions</name>
</section-905>
</entries>
</RMCI>
</library>

<reference>
<racedata>
<title type='string'>RMC I Race Abilities</title>
<footnote type='formattedtext'>
<p>
</p>
</footnote>
<list>
<id-00001>
<title type='string'>Bear Tribes</title>
<name type='string'>Bear Tribes</name>
<statbonuses>
<strength type='number'>+15</strength>
<quickness type='number'>-5</quickness>
<presence type='number'>+5</presence>
<intuition type='number'>+5</intuition>
<empathy type='number'>-10</empathy>
<constitution type='number'>+15</constitution>
<agility type='number'>0</agility>
<selfdiscipline type='number'>0</selfdiscipline>
<memory type='number'>0</memory>
<reasoning type='number'>0</reasoning>
</statbonuses>
<resistances>
<essence type='number'>20</essence>
<channeling type='number'>0</channeling>
<mentalism type='number'>0</mentalism>
<poison type='number'>20</poison>
<disease type='number'>15</disease>
<terror type='number'>0</terror>
</resistances>
<souldep type='number'>12</souldep>
<statdec type='number'>0</statdec>
<recx type='string'>0.7x</recx>
<languages type='number'>3</languages>
<hitdie type='string'>D10</hitdie>
<maxhits type='number'>150</maxhits>
<bmr type='number'>50</bmr>
</id-00001>
<id-00002>
<title type="string">Northmen</title>
<name type="string">Northmen</name>
<statbonuses>
<strength type="number">10</strength>
<quickness type="number">0</quickness>
<presence type="number">5</presence>
<intuition type="number">0</intuition>
<empathy type="number">-5</empathy>
<constitution type="number">10</constitution>
<agility type="number">0</agility>
<selfdiscipline type="number">5</selfdiscipline>
<memory type="number">0</memory>
<reasoning type="number">0</reasoning>
</statbonuses>
<resistances>
<essence type="number">0</essence>
<channeling type="number">0</channeling>
<mentalism type="number">0</mentalism>
<poison type="number">0</poison>
<disease type="number">10</disease>
<terror type="number">0</terror>
</resistances>
<souldep type="number">12</souldep>
<statdec type="number">0</statdec>
<recx type="string">1x</recx>
<languages type="number">3</languages>
<hitdie type="string">D10</hitdie>
<maxhits type="number">150</maxhits>
<bmr type="number">50</bmr>
</id-00002>
</list>
</racedata>
<professions>
<paladin>
<name type="string">Paladin</name>
<realm type="string">Channeling</realm>
<primerequisites>
<id-00001>
<stat type='string'>St</stat>
</id-00001>
<id-00002>
<stat type='string'>In</stat>
</id-00002>
</primerequisites>
<placement>
<size>
<width type="number">402</width>
<height type="number">198</height>
</size>
</placement>
<sizelimits>
<dynamic type="string">both</dynamic>
</sizelimits>
<resetmenuitem>
<position type="number">8</position>
<icon type="string">restorewindow</icon>
<label type="string">Reset to default size.</label>
</resetmenuitem>
<text type="formattedtext">
<p>Paladins are Channeling semi-spell users who concentrate heavily in chivalric combat. The Paladin is the epitome of Arthurian knighthood. Names like Lancelot, Gawain, and especially Galahad should come to mind. He is a heave weapons and heavy armor specialist. The Paladin should be played carefully in regard to moral style (usually strictly good and chivalrous) as any variance from his conviction turns his great strength into bloody hipocracy. </p>
<p>
<b>Prime requisites: </b>Strength and Intuition.
</p>
</text>
</paladin>
</professions>
</reference>
</root>


Everything after </id-00001> does not show up, that includes the Northmen race... Not sure what the problem might be.

Testing it now.

Dakadin
December 18th, 2014, 04:38
It is working for me. I did have to scroll down the drop down list using the mouse wheel to see them though.

Sulimo
December 18th, 2014, 04:42
It is working for me. I did have to scroll down the drop down list using the mouse wheel to see them though.


Wow, I never saw a scroll bar, so I did not think to try scrolling. I see the Paladin now. I wish I had thought of that before. :(

Dakadin
December 18th, 2014, 04:44
Yeah it isn't obvious that it is there. There are a few things like that so don't hesitate to ask questions.

Great start on the module too. :D

Sulimo
December 18th, 2014, 04:50
Do you know much about extensions?


The MERP skin specifically, I am guessing that is has something to do with the RMCConstants in the lua script file in the extension.

Is there any resources somewhere for extensions/skins?

Dakadin
December 18th, 2014, 04:55
Let me take a look at the extension. It probably just wasn't updated with some of the changes made.

Sulimo
December 18th, 2014, 05:09
Let me take a look at the extension. It probably just wasn't updated with some of the changes made.

Yeah, that is what I thought. I just have not had a chance to look into how they are created.

Thanks for taking a look.

Dakadin
December 18th, 2014, 05:17
I've resolved the script error and attached the new version to the thread so you can download and try it.

Extensions add or overwrite portions of ruleset. Skins/themes are some of the easiest ones to make since for the most part you are just replacing graphics files. You can rename them from .ext to .zip and open them up to see the contents just like you did with a module.

Start at the extension.xml file to see what is being loaded in the extension. The XML files define the classes, templates, etc and the LUA files automate the processes. Hopefully that gets you started.

Sulimo
December 18th, 2014, 05:30
I've resolved the script error and attached the new version to the thread so you can download and try it.

Extensions add or overwrite portions of ruleset. Skins/themes are some of the easiest ones to make since for the most part you are just replacing graphics files. You can rename them from .ext to .zip and open them up to see the contents just like you did with a module.

Start at the extension.xml file to see what is being loaded in the extension. The XML files define the classes, templates, etc and the LUA files automate the processes. Hopefully that gets you started.

OK, thanks for all the help today. When I have some extra time, I'll look into extensions. I unzipped the extension, but since the error mentioned the rmcconstants, I was not really sure where to start.

plastictotoro
December 22nd, 2014, 12:48
Hi Sulimo,

I can add my RMC I Race list.

Profession I did not enter now, because it was easier to make the changes within the character sheet by hand then by a xml extentsion.

In this RMC I is also one base spell list from the druids base lists.

One of my biggest problem was, that the internal references looking inside of the xml code, there is a mechanism implemented that make it possible to link to other xml file content.

In the attachment I will add a excel file, that make it easier to input the spells, in the proper xml format.

I hope this help you.

Sulimo
December 23rd, 2014, 18:29
Thanks for the samples plastictotoro.


I have another question if anyone can help me out.

I decided to put the Rolemaster companion stuff on hold for the moment, and I am trying to setup some data to include the ICE MERP races (we pretty much used Rolemaster in the MERP setting when we played), we want to run a test campaign in Middle-Earth and it would be useful to have this info included.

I have the races done (thanks for the help with that Dakadin), but I am having trouble figuring out how to include the background options.

I looked at ChL, and saw it in the client.xml file there, but when I try to use that as a guide, I just keep getting an error.

Runtime Error: desktop: Unable to create window with invalid class (referenceracebackgroundoptions : reference.racebackgroundoptions@Middle Earth Role Playing)



Here is the info from the xml I am working with:



<library static="true">
<MERP>
<name type="string">Middle Earth Role Playing</name>
<categoryname type="string">Middle Earth Role Playing</categoryname>
<entries>
<section-901>
<librarylink type="windowreference">
<class>referenceraces</class>
<recordname>reference.racedata@Middle Earth Role Playing</recordname>
</librarylink>
<name type="string">Middle Earth Role Playing Races</name>
</section-901>
<section-902>
<librarylink type="windowreference">
<class>referenceracebackgroundoptions</class>
<recordname>reference.racebackgroundoptions@Middle Earth Role Playing</recordname>
</librarylink>
<name type="string">Middle Earth Role Playing Races Background Options</name>
</section-902>
</entries>
</MERP>
</library>

<reference>
<racedata>
<title type='string'>Middle Earth Role Playing Races</title>
<footnote type='formattedtext'>
<p>
</p>
</footnote>
<list>
<id-00001>
<title type='string'>Dwarves</title>
<name type='string'>Dwarf</name>
<statbonuses>
<strength type='number'>5</strength>
<quickness type='number'>-5</quickness>
<presence type='number'>-5</presence>
<intuition type='number'>-5</intuition>
<empathy type='number'>0</empathy>
<constitution type='number'>15</constitution>
<agility type='number'>-5</agility>
<selfdiscipline type='number'>-5</selfdiscipline>
<memory type='number'>-5</memory>
<reasoning type='number'>0</reasoning>
</statbonuses>
<resistances>
<essence type='number'>40</essence>
<channeling type='number'>0</channeling>
<mentalism type='number'>0</mentalism>
<poison type='number'>10</poison>
<disease type='number'>10</disease>
<terror type='number'>0</terror>
</resistances>
<souldep type='number'>18</souldep>
<statdec type='number'>-1</statdec>
<recx type='string'>0.5x</recx>
<languages type='number'>3</languages>
<hitdie type='string'>D10</hitdie>
<maxhits type='number'>120</maxhits>
<bmr type='number'>50</bmr>
</id-00001>
</list>
</racedata>
<racebackgroundoptions>
<name type="string">MERP Races Background Options</name>
<placement>
<size>
<width type="number">317</width>
<height type="number">269</height>
</size>
</placement>
<sizelimits>
<dynamic type="string">both</dynamic>
</sizelimits>
<resetmenuitem>
<position type="number">8</position>
<icon type="string">restorewindow</icon>
<label type="string">Reset to default size.</label>
</resetmenuitem>
<text type="formattedtext">
<table>
<tr decoration="underline">
<td colspan="7">
<b>MERP Races Background Options</b>
</td>
</tr>
<tr>
<td colspan="3">
<b>Race</b>
</td>
<td colspan="3">
<b>Background Options</b>
</td>
</tr>
<tr>
<td colspan="3">Dwarves</td>
<td colspan="3">4</td>
</tr>
</table>
</text>
</racebackgroundoptions>
</reference>

Trenloe
December 23rd, 2014, 18:45
The <class> section of the <librarylink> record needs to be a valid RM ruleset class. The error basically says this, your <class>referenceracebackgroundoptions</class> is not something that the ruleset recognises. This <class> tag determines what type of window pops up when the link is clicked. For some valid examples look through the common.xml file in the RMCCharacterLaw.mod file that comes with the RM ruleset. Open up that module in FG and see what window appears when the link is clicked on - this will give you an idea of what each of the valid <class> entries relate to.

Sulimo
December 23rd, 2014, 19:11
Ok, through a bit of trial and error I figured out the correct class. Looks like it is <class>referencetext</class>. That seems to work.


Thanks.

Tulgas
April 17th, 2020, 17:38
Hi all,

I'm quite new to FG. I have played some Savage World games (as a player) but now I'm trying to setup a Rolemaster game. I purchased the Rolemaster Classic ruleset and I can see the modules when I open the modules section (Character Law, Arms Law, Spell Law and so on), and I have no trouble accessing their contents but I want to add some races and professions and cannot find the module files anywhere. I checked in the modules folder and I can see plenty of other .mod files but no trace of RMCharacterLaw.mod or the other RM related mod files. I'd appreciate any help to find them. Thanks!

Mortar
April 17th, 2020, 18:33
In the vault and encrypted.

plastictotoro
April 17th, 2020, 19:29
Hi all,

I'm quite new to FG. I have played some Savage World games (as a player) but now I'm trying to setup a Rolemaster game. I purchased the Rolemaster Classic ruleset and I can see the modules when I open the modules section (Character Law, Arms Law, Spell Law and so on), and I have no trouble accessing their contents but I want to add some races and professions and cannot find the module files anywhere. I checked in the modules folder and I can see plenty of other .mod files but no trace of RMCharacterLaw.mod or the other RM related mod files. I'd appreciate any help to find them. Thanks!

here are some of my personal moduls.
These are simpled xml files and in them you can find races, spell list and the 1st prototype for treasure item modul.
the folders can be copied into the modul folder of FG, it is not necessary to zip them.

The xml is free to modify, so you can add additional races,

have fun and Stay healthy
:-D

Sulimo
April 17th, 2020, 19:29
Hi all,

I'm quite new to FG. I have played some Savage World games (as a player) but now I'm trying to setup a Rolemaster game. I purchased the Rolemaster Classic ruleset and I can see the modules when I open the modules section (Character Law, Arms Law, Spell Law and so on), and I have no trouble accessing their contents but I want to add some races and professions and cannot find the module files anywhere. I checked in the modules folder and I can see plenty of other .mod files but no trace of RMCharacterLaw.mod or the other RM related mod files. I'd appreciate any help to find them. Thanks!

Are you using the RMC 1.8 or 2.0 ruleset?

You would have to be in the test channel to use the 2.0 ruleset.

For 2.0 the easiest thing to do is to copy an existing race (drag/drop to the races window will copy an existing one).

From there you can modify the race as you might want to then export it as a module so you can use it in other campaigns.

For 1.8 it is a bit trickier.

If you know some XML, it is pretty straight forward. Create a file like shown below called client.xml. Make a copy of the client.xml file called common.xml. Then create a definition.xml file (example below).

Once you have those three files, you can zip them up into a single file (not the folder they are, just the files themselves). Change the extension of the file from .zip to .mod, put it in your modules directory, and it should show up in the library so it can be loaded.

NOTE: you can create a small thumbnail for a picture if you want (it will show that picture in the library), the file should be 82*86 pixels, and named thumbnail.png. Include the thumbnail in the .zip file with the three .xml files. The thumbnail file is not necessary though.

Here is an example, it is one of the races from RMCI, it is a sample of some work I was experimenting with while figuring everything out. I eventually used this to create all of the MERP races for use in Rolemaster.

Sample client.xml/common.xml:

<reference>
<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.9" RMCVersion="1.4">
<library static="true">
<TestModule>
<name type="string">Module_Name</name> <!-- replace Module_Name with whatever you want, just make sure it matches throughout the file. -->
<categoryname type="string">Category_Name</categoryname> <!-- this will determine how it shows in the library. -->
<entries>
<section-901>
<librarylink type="windowreference">
<class>referenceraces</class>
<recordname>reference.racedata@Module_Name</recordname> <!-- @module_name should match the Module_Name above. -->
</librarylink>
<name type="string">Races</name>
</section-901>
</entries>
</TestModule>

<reference>
<racedata>
<title type='string'>Races</title>
<footnote type='formattedtext'>
<p>
Put any footnotes here.
</p>
</footnote>
<list>
<id-00001>
<title type='string'>Bear Tribes</title>
<name type='string'>Bear Tribes</name>
<statbonuses>
<strength type='number'>+15</strength>
<quickness type='number'>-5</quickness>
<presence type='number'>+5</presence>
<intuition type='number'>+5</intuition>
<empathy type='number'>-10</empathy>
<constitution type='number'>+15</constitution>
<agility type='number'>0</agility>
<selfdiscipline type='number'>0</selfdiscipline>
<memory type='number'>0</memory>
<reasoning type='number'>0</reasoning>
</statbonuses>
<resistances>
<essence type='number'>20</essence>
<channeling type='number'>0</channeling>
<mentalism type='number'>0</mentalism>
<poison type='number'>20</poison>
<disease type='number'>15</disease>
<terror type='number'>0</terror>
</resistances>
<souldep type='number'>12</souldep>
<statdec type='number'>0</statdec>
<recx type='string'>0.7x</recx>
<languages type='number'>3</languages>
<hitdie type='string'>D10</hitdie>
<maxhits type='number'>150</maxhits>
<bmr type='number'>50</bmr>
</id-00001>
</list>
</racedata>
</reference>
</root>


Sample definition.xml:

<?xml version="1.0" encoding="iso-8859-1"?>
<root>
<name>Module_Name</name>
<author>Author_name</author>
<ruleset>RolemasterClassic</ruleset> <-- This is the ruleset(s) this module will work with.-->
</root>

Tulgas
April 17th, 2020, 20:32
Plastictotoro & Sulimo, thank you so much for your help. I'm using v.1.8 and I think I can manage from here, following your hints. If I get stuck somewhere, I'll ask for help again and if I finally add some professions and races from the companions, I'll be more than happy to share it here. Cheers and have a good weekend!