Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 28th, 2009, 04:21 PM
Let's say your advantage cost is stored in the adCost field.

So, this should be close to what you want:

Code:
 
if (hero.intersect[Start,Start] <> 0) then
  field[adCost].value -= 1
  endif
Mathias is online now   #21 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 28th, 2009, 04:25 PM
In the tags.1st file, you can add this:

Code:
 
<group
  id="Start"
  dynamic="yes">
  <value id="Samurai"/>
  </group>
Now, the Start tag group contains all the schools you've defined, plus the Start.Samurai tag. All the schools that are Samurai schools give themselves this tag:
<tag group="Start" tag="Samurai"/>

as do all the weapons that all samurai-type schools give. The forward you've already set up will forward the school's own Start tag and Start.Samurai.
Mathias is online now   #22 Reply With Quote
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old December 28th, 2009, 09:11 PM
Okay so I have added the <identity group="Start"/> to the school so now I should make <tag group="Start" tag="scHida"/>

then I would make the intersect ref
if (hero.intersect[Start,Start] <> 0)then
perform assign[Helper.Start]
endif

But where do I place this script? I could not find a way on the wiki and I do not own the Pathfinder set so I can not look inside to find where it goes. I also looked in the D20 files but found nothing there that I could look at.
SAbel is offline   #23 Reply With Quote
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old December 28th, 2009, 09:15 PM
Quote:
Originally Posted by Mathias View Post
Let's say your advantage cost is stored in the adCost field.

So, this should be close to what you want:

Code:
 
if (hero.intersect[Start,Start] <> 0) then
  field[adCost].value -= 1
  endif
I have this in my traits.str is this what you mean by advantage cost?
<!-- Attribute component
Each attribute possessed by the actor derives from this component
-->
<component
id="Attribute"
name="Attribute"
autocompset="no">

<!-- Attributes have a minimum trait value of 1 -->
<eval index="1" phase="Initialize" priority="3000"><![CDATA[
field[trtMinimum].value = 1
]]></eval>


<!-- Each attribute point above one that is allocated by the user costs 4CP * the level, per level -->
<eval index="2" phase="Traits" priority="10000">
<before name="Calc resLeft"/>
<after name="Bound trtUser"/><![CDATA[
var traitlevel as number
var traitcost as number
var finalvalue as number

traitlevel = field[trtUser].value
traitcost = 4

finalvalue = traitcost / 2 * (traitlevel * traitlevel + traitlevel)

hero.child[resCP].field[resSpent].value += finalvalue - 12
]]></eval>

</component>
SAbel is offline   #24 Reply With Quote
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old December 28th, 2009, 09:28 PM
Quote:
Originally Posted by Mathias View Post
In the tags.1st file, you can add this:

Code:
 
<group
  id="Start"
  dynamic="yes">
  <value id="Samurai"/>
  </group>
Now, the Start tag group contains all the schools you've defined, plus the Start.Samurai tag. All the schools that are Samurai schools give themselves this tag:
<tag group="Start" tag="Samurai"/>

as do all the weapons that all samurai-type schools give. The forward you've already set up will forward the school's own Start tag and Start.Samurai.
Okay so I have added this code to the tag.1st file.
I am not sure on some things about it I understand that the id="Start" ref back to the tag I added to my School but the value id="Samurai" I am not sure about, do I have to add a Samurai tag in with school then add that tag to each school that is a samurai? which would make sense b/c then I should add the tags courtier and shugenja as well.
OR did I miss the boat and is Samurai suppose to lead to a different referance?

By the way thank you for the help, sometimes I get so caught up in attempting to learn via these post that I forget to let you all know how much you have helped me w/ out all of you I would have given up a long time ago!
SAbel is offline   #25 Reply With Quote
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old December 28th, 2009, 09:34 PM
Hey I was looking through this (tag.1st) and under the Equipment there is an id for starting equipment Lines 89 - 97 in my file but here they are:
<group
id="Equipment">
<value id="Hand" name="Requires one or more hands"/> <!-- Identifies equipment that requires hands to use -->
<value id="TwoHand" name="Requires two hands"/> <!-- Identifies equipment that is two-handed -->
<value id="StartEquip" name="Gear starts out equipped"/> <!-- Identifies equipment that is equipped by default -->
<value id="AutoEquip" name="Gear is auto-equipped"/> <!-- Identifies equipment that is automatically equipped (e.g. natural attacks) -->
<value id="Natural" name="Natural weapon/armor/etc."/> <!-- Identifies equipment that is a natural form and exempt from various behaviors -->
<value id="CustomGear" name="Custom Gear"/> <!-- Identifies a piece of gear that is user customizable -->
</group>

Can I use this somehow to make my starting equipment work for each school? or would this just add a blanket for every character. If it is just a Blanket you get this with your character then it would help for some items, such as Kimonos which (off the top of my brain) I think everyone starts with one and a set of sandles.

Just wondering.
SAbel is offline   #26 Reply With Quote
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old December 28th, 2009, 11:21 PM
Okay so I found that in bootstrap.1st I can add items to the character
<!-- Add kimono pick -->
<bootstrap index="25" thing="eqKimono"/>

<!-- Add sandal pick -->
<bootstrap index="27" thing="eqSandals"/>
Which saves time
SAbel is offline   #27 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 29th, 2009, 12:05 PM
Quote:
Originally Posted by SAbel View Post
Okay so I have added the <identity group="Start"/> to the school so now I should make <tag group="Start" tag="scHida"/>

then I would make the intersect ref
if (hero.intersect[Start,Start] <> 0)then
perform assign[Helper.Start]
endif

But where do I place this script? I could not find a way on the wiki and I do not own the Pathfinder set so I can not look inside to find where it goes. I also looked in the D20 files but found nothing there that I could look at.
What do you want to do with this, now that you can test whether a skill or equipment is a starting thing for this character? I don't own L5R, so you'll have to tell me what starting equipment and starting skills mean in that system.
Mathias is online now   #28 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 29th, 2009, 12:07 PM
Quote:
Originally Posted by SAbel View Post
<value id="StartEquip" name="Gear starts out equipped"/> <!-- Identifies equipment that is equipped by default -->
Starts EQUIPPED by default - if this is present, the item is being worn once purchased. It doesn't affect whether you get one for free.
Mathias is online now   #29 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 29th, 2009, 12:11 PM
Quote:
Originally Posted by SAbel View Post
I have this in my traits.str is this what you mean by advantage cost?
Earlier you mentioned that you wanted this:
Quote:
Originally Posted by SAbel View Post
Can I then use tags to go on advantages that are cheaper for one Clan/family than others?
So, since you want them cheaper, where have you stored the original cost?
Mathias is online now   #30 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 09:32 AM.


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