weapon proficiency linkage
I have a problem with linking weapons to proficiencies and attributes.
I have made a proficiency component based on skills from Savage World tutorial (I've made also skills, so I have both) but when I try to calculate roll value I got errors. Right now I use such line: Code:
@value = field[trtFinal].value + linkage[attribute].field[trtFinal].value Code:
Linkage pick 'attribute' not located for current context I have also error when I have such line: Code:
<linkage linkage="attribute" optional="yes"/> Code:
File: traits.str (line 351) - Linkage - Duplicate record encountered ('attribute') Code:
<linkage linkage="Profic" optional="yes"/> Finally I would like to link a weapon to specific proficiency - but right now I doubt I could mange to do that. Thanks in advance. |
In the traits.str file, around line 351, what <linkage> elements have you defined? It sounds like you've added at least two of them - one a duplicate of the other.
|
351 line is:
Code:
<linkage linkage="Profic" optional="yes"/> Code:
<component |
Okay, so are you still getting that error about duplicate records?
If not, what's your question? What is it about your Profic linkage that isn't working? |
Right now I have commented lines which gave me errors (those from first post).
For clearing thing out: Why is this line "<linkage linkage="attribute" optional="yes"/>" made errors? |
Please re-phrase that last question. I can't tell what you're trying to ask.
|
Why when I was using line
Code:
<linkage linkage="attribute" optional="yes"/> Code:
Linkage - Duplicate record encountered ('attribute') |
Did you copy that straight from the skills component?
Does the skills component still have a linkage named attribute? You can't re-use the ID of a linkage in a different component. |
Ok, that is what I was suspected just wasn't sure, just thought I had to set it up in different place maybe.
|
I pushed things further.
Now I've added some lines with intend to link weapons with proficiencies. In WeaponMelee component I've added: Code:
<linkage linkage="wprofic" optional="no"/> Code:
<eval index="2" phase="Setup" priority="5000"><![CDATA[ Code:
<link linkage="wprofic" thing="prSwords"/> Code:
<inputthing After this program recomplies but on load gives me such error: Code:
Linkage pick 'wprofic' not located for current context Code:
perform linkage[wprofic].pullidentity[Profic] So, what I am missing? Thanks in advance. |
All times are GMT -8. The time now is 10:11 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.