DICE PACKS BUNDLE
Page 41 of 52 First ... 31 39 40 41 42 43 51 ... Last

Thread: DCC RPG Ruleset

  1. #401
    Leozelig,

    In a spells module, using your spell template, can the <general></general> or <manifestation></manifestation> field etc (the so called "powerstats") be set to FORMATTEDTEXT instead of STRING?

    I am getting an error on spells where I have done that.

    Also, it looks like you cannot use <b></b> in STRING fields.

    Just finished entering all the spells...and found that I may need to go fix all the BOLD and ITALIC text I entered and anywhere I changed to FORMATTEDTEXT :-(

    Thanks
    Kirklandone

  2. #402
    leozelig's Avatar
    Join Date
    Jun 2007
    Location
    Eastern USA
    Posts
    1,735
    Blog Entries
    1
    Quote Originally Posted by kirklandone View Post
    Leozelig,

    In a spells module, using your spell template, can the <general></general> or <manifestation></manifestation> field etc (the so called "powerstats") be set to FORMATTEDTEXT instead of STRING?

    I am getting an error on spells where I have done that.

    Also, it looks like you cannot use <b></b> in STRING fields.

    Just finished entering all the spells...and found that I may need to go fix all the BOLD and ITALIC text I entered and anywhere I changed to FORMATTEDTEXT :-(

    Thanks
    Kirklandone
    The field type for a record sheet is set by the ruleset code, so the module format has to be consistent with that. It's true that string fields do not allow for bold or italics.
    Last edited by leozelig; December 26th, 2018 at 12:36.

  3. #403
    leozelig's Avatar
    Join Date
    Jun 2007
    Location
    Eastern USA
    Posts
    1,735
    Blog Entries
    1
    I am going to leave the spell record string fields as they are for now. Changing them will generate type mismatch errors for everyone with existing campaigns and modules.

  4. #404
    Leozelig,

    Thanks for looking into the spell records. I have fixed all my BOLD and ITALIC and shifted back to STRING where appropriate and everything looks great.

    Is it possible to link the Spell Lists into the Character Class <text type="formattedtext"> area?

    I have tried the following XML:

    <listlink><link type="windowreference" class="reference_classspelllist" recordname="lists.wizardspells">Wizard Spells</link></listlink>

    That creates a link, but it opens a blank window. It does not find the appropriate list in my spells module. Do I have to somehow add reference to that module in my library (DCCRPGSpells)?

    NOTE: If I look in the Library under my DCC RPG Spells module, it does have a link to Spells (Wizards Spells, Cleric Spells, Patron Spells) and if you click on Wizard Spells it does come up with the appropriate list I am trying to put into my class entry.

    Thanks
    Kirklandone

  5. #405
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,730
    Quote Originally Posted by kirklandone View Post
    LDo I have to somehow add reference to that module in my library (DCCRPGSpells)?
    Yes, otherwise FG assumes it's the campaign database you're referring to. Info on database paths here: https://www.fantasygrounds.com/wiki/...Database_Paths

    You can add @<module name> to be specific about the exact module where the database path points to, or you can use a wild card @* to look at opened modules - the gotcha with wildcards is that you can't guarantee the order in which FG will search to find the first match.
    FG Wiki: How to Compile the FG Logs

    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!

  6. #406
    Quote Originally Posted by Trenloe View Post
    Yes, otherwise FG assumes it's the campaign database you're referring to. Info on database paths here: https://www.fantasygrounds.com/wiki/...Database_Paths

    You can add @<module name> to be specific about the exact module where the database path points to, or you can use a wild card @* to look at opened modules - the gotcha with wildcards is that you can't guarantee the order in which FG will search to find the first match.
    Leozelig,

    Thanks, got the link to work properly. Not sure why I did not see that in the example 3.5E Basic Rules XML I was copying.

    So, my next question is about dropping spells onto character sheets in the Action tab.

    I get the following error.

    Script Error: [string "scripts/manager_power.lua"]:1720: attempt to index global "DataSpell" (a nil value).

    An I missing something or is something goofed up in my "scratch" campaign (where I am testing all my new mods etc)?

    Thanks,
    Kirklandone

  7. #407
    I figured out my problem. I had an older version of the ruleset loaded. The new one (3.0.8) has that section of the manager_power.lua commented out.

  8. #408
    Moving onto the next issue...

    Using the items template (not sure if it has changed lately), I find if I open any Armor (Padded, shield etc) I get the following error:

    Script Error: [string "ref_armor_header"]:1: attempt to index global 'weight_label' (a nil value)

    A quick grep of "ref_armor_header" and I find this line in the <DCCRPG.pak>/ref/ref_equipment.xml.

    Is this a case of me having an old template or some other issue?

    I also noticed that the item template seems to duplicate the data (Weapons: name, cost, damage and range; Armor: name, cost, ac, checkpenalty, speedpenalty and fumbledie) between the LIST section and the REFERENCE section. Is this just a case where the full item list would have the cost, etc as well as the individual item window?

    Thanks
    Kirklandone
    Last edited by kirklandone; December 28th, 2018 at 22:15.

  9. #409
    leozelig's Avatar
    Join Date
    Jun 2007
    Location
    Eastern USA
    Posts
    1,735
    Blog Entries
    1
    I will check the item weight error. It’s supposed to check whether encumbrance is enabled in options and hide the weight field if it’s not.

  10. #410
    leozelig's Avatar
    Join Date
    Jun 2007
    Location
    Eastern USA
    Posts
    1,735
    Blog Entries
    1
    I fixed the script error for armor - download the ruleset again, and it should work now. Thanks for catching that!

Page 41 of 52 First ... 31 39 40 41 42 43 51 ... Last

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •  
Fantasy Grounds Merchandise

Log in

Log in