Thread: DCC RPG Ruleset
-
December 24th, 2018, 04:09 #401Warrior-Priest
- Join Date
- Jan 2018
- Posts
- 58
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
-
December 24th, 2018, 19:26 #402
-
December 26th, 2018, 01:15 #403
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.
-
December 27th, 2018, 17:16 #404Warrior-Priest
- Join Date
- Jan 2018
- Posts
- 58
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
-
December 28th, 2018, 00:13 #405
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!
-
December 28th, 2018, 16:31 #406Warrior-Priest
- Join Date
- Jan 2018
- Posts
- 58
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
-
December 28th, 2018, 16:56 #407Warrior-Priest
- Join Date
- Jan 2018
- Posts
- 58
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.
-
December 28th, 2018, 21:03 #408Warrior-Priest
- Join Date
- Jan 2018
- Posts
- 58
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
KirklandoneLast edited by kirklandone; December 28th, 2018 at 22:15.
-
December 29th, 2018, 01:28 #409
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.
-
December 29th, 2018, 11:29 #410
I fixed the script error for armor - download the ruleset again, and it should work now. Thanks for catching that!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)

Reply With Quote



Bookmarks