Help with other Rolemaster Modules, and extensions
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 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 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:
Quote:
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?
Code:
<?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.
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:
Quote:
Script Error: [string "scripts/rmc_merpskin.lua"]:3: attempt to index global 'RMCConstants' (a nil value)
Any help is appreciated.