FG Spreadshirt Swag
Page 3 of 3 First 123
  1. #21
    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.

  2. #22
    Sulimo's Avatar
    Join Date
    Dec 2014
    Location
    Pacific Time Zone
    Posts
    879
    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:

    Code:
      <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>

  3. #23
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    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.
    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!

  4. #24
    Sulimo's Avatar
    Join Date
    Dec 2014
    Location
    Pacific Time Zone
    Posts
    879
    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.

  5. #25
    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!

  6. #26
    Mortar's Avatar
    Join Date
    May 2014
    Location
    New Brunswick, Canada
    Posts
    1,127
    Blog Entries
    18
    In the vault and encrypted.
    Ultimate License Holder

  7. #27
    Quote Originally Posted by Tulgas View Post
    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
    Attached Files Attached Files

  8. #28
    Sulimo's Avatar
    Join Date
    Dec 2014
    Location
    Pacific Time Zone
    Posts
    879
    Quote Originally Posted by Tulgas View Post
    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:
    Code:
    <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:
    Code:
    <?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>

  9. #29
    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in