Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - User Projects

Notices

Reply
 
Thread Tools Display Modes
royalfa
Member
 
Join Date: Feb 2011
Posts: 37

Old February 11th, 2011, 01:13 AM
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
royalfa is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old February 11th, 2011, 08:21 AM
Macros (the things that start with #) are defined in definition.def.
Mathias is offline   #2 Reply With Quote
royalfa
Member
 
Join Date: Feb 2011
Posts: 37

Old February 11th, 2011, 09:14 AM
Thanks Matias!!

I complete forgot that!!
royalfa is offline   #3 Reply With Quote
royalfa
Member
 
Join Date: Feb 2011
Posts: 37

Old February 11th, 2011, 10:28 AM
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

Last edited by royalfa; February 11th, 2011 at 10:31 AM.
royalfa is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old 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)
Mathias is offline   #5 Reply With Quote
royalfa
Member
 
Join Date: Feb 2011
Posts: 37

Old 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 is offline   #6 Reply With Quote
royalfa
Member
 
Join Date: Feb 2011
Posts: 37

Old February 14th, 2011, 10:44 AM
Help please with linkage.

Thanks
royalfa is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old 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.
Mathias is offline   #8 Reply With Quote
talsharien
Senior Member
 
Join Date: Mar 2013
Location: Leeds UK
Posts: 250

Old June 3rd, 2018, 04:49 AM
Did you ever get this up and running?
talsharien is offline   #9 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:44 AM.


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