Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - User Projects (http://forums.wolflair.com/forumdisplay.php?f=55)
-   -   New Game System:Fantasy Craft (http://forums.wolflair.com/showthread.php?t=12417)

royalfa February 11th, 2011 01:13 AM

New Game System:Fantasy Craft
 
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:

Quote:

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

Quote:

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

Mathias February 11th, 2011 08:21 AM

Macros (the things that start with #) are defined in definition.def.

royalfa February 11th, 2011 09:14 AM

Thanks Matias!!

I complete forgot that!!

royalfa February 11th, 2011 10:28 AM

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:

Quote:

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

And

Quote:

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

Mathias February 11th, 2011 11:27 AM

Here's the page that describes how Savage Worlds builds the attribute points and skil points pools that it uses instead of a unified character points mechanic: http://hlkitwiki.wolflair.com/index...._Logic_(Savage)

royalfa February 12th, 2011 08:09 PM

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.

Quote:

<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

Quote:

<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

Quote:

non-existent linkage "LinkAttr" used by script
Really I look for everywhere and don'f find how to fix this.

royalfa February 14th, 2011 10:44 AM

Help please with linkage.

Thanks

Mathias February 18th, 2011 12:17 PM

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.

talsharien June 3rd, 2018 04:49 AM

Did you ever get this up and running?


All times are GMT -8. The time now is 07:16 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.