• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

New Game System:Fantasy Craft

royalfa

Active member
I am creating the data sets for this game system Fantasy Craft but have a lot of questions (non of them solved by the help).

Nevertheless with that help, the savage example, the editor tool and the dat files I have a good idea about how to proceed.

I have a question about this error I encounter (an one other thing):

I copy this from 4e data set:

<thing
id="trLevel"
name="Level"
compset="Trait"
isunique="yes">
<fieldval field="trtAbbrev" value="Level"/>
<tag group="explicit" tag="5"/>
<tag group="User" tag="BasicsNarr"/>

<!-- Calculate the Level trait as appropriate -->
<eval index="1" phase="Traits" priority="4000">
<before name="Derived trtFinal"/>
<after name="Calc trtFinal"/><![CDATA[
field[trtBonus].value = #level[]
]]></eval>
</thing>

When I try to load the system have an error message about the eval script:

Error in right-side expression of assignment

I assume this refers to the "#Level[]" but I search every dat file for this definition and can't find it!!

I will appreciate any help, guide, hint whatever to solve this....
Or let me know how I can put in the basics tab the bonus of each attribute as in the d20 3.5 system.

Thanks in advance
Roy
 
New Questions

0k

Took me a couple of hours but at last I figure it out the next two errors I have in the file:

No Group Level Defined

(Need to create a Group named Level in Tags.1st)

And

eval calls a non existing procedure...

Create the procedure in the procedure file...

My files compile and do the correct math of "point buy" attributes.

Now I have two more questions:

  1. How/Where can I have a fixed amount of Character Points?, not a choice
  2. What I need to do to display the "bonus" the character has for each attribute?

I know that must change the tab_basics but don't understand quite well his management.

Thanks in advance
Roy
 
Last edited:
Thanks again Mathias, the link you post is empty but I find what I need and fix both things.

Now I have a trouble:

I create a thing_savingthrows.dat with the Def, Fort, Dex and Will things.

<thing
id="vDef"
name="Defense"
compset="Save">
<fieldval field="vOutName" value="DEFENSE"/>
<fieldval field="vAbbr" value="Def"/>
<fieldval field="vAttrName" value="(DEXTERITY)"/>
<tag group="explicit" tag="5"/>
<link linkage="LinkAttr" thing="attrDex"/>
</thing>

And then in the traits.str I construct the component Save

<component
id="Save"
name="Save"
autocompset="no">

<!-- Bonus from ability scores -->
<field
id="defAbility"
name="Ability Bonus"
type="derived"
maxfinal="25">
<calculate phase="Traits" priority="20000" name="Calc defAbility">
<before name="Derived trtFinal"/>
<after name="Calc attrBonus"/><![CDATA[

perform linkage[LinkAttr].setfocus
~set our value and modify our bonus
@value = focus.field[attrBonus].value
perform field[trtBonus].modify[+,@value,focus.field[name].text]
]]></calculate>
<finalize><![CDATA[
@text = signed(@value)
]]></finalize>
</field>
</component>

But when I try to refer to the linkage HL send me an error message

non-existent linkage "LinkAttr" used by script

Really I look for everywhere and don'f find how to fix this.
 
Linkages are defined as part of a component. In the skeleton files, the example you can look up is in the skills component - each skill uses a linkage to tie it to a specific attribute.
 
Back
Top