Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old August 25th, 2008, 06:04 PM
THere is a piece of armor I am trying to enter into Hero Lab with the editor and having trouble with, the Dastana.

"This pair of metal bracers can be worn in addition to some other types of armor to provide an additional armor bonus that stacks with both the foundation armor and any shield worn. You can wear dastana with padded, leather, or chain shirt armor. You need the Armor Proficiency (light) feat to wear dastana without penalty."

How do I program this so that it only gives the AC bonus with those specific armors? Also, I was going to enter it as a shield, how do I make it so that it can be worn along with other shields without giving a validation error from having 2 shields equipped?
Lawful_g is offline   #1 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old August 25th, 2008, 06:24 PM
Another issue, I'm adding an armor extra called "Quick escape" and was trying to pattern it after Armor spikes.

Unfortunately, I cannot find the Armor Spikes entry in the editor. From what I have seen adding them through the normal engine, they seem to be lumped together with the 'Item Power' category, but the editor's field reveals no Armor spikes entry after hitting the new (copy) button. Where are they?

I think I found an error as well. When creating a custom armor, the "Armor Spikes (Magical)" entry is not selectable because the program says my fighter is not proficient with the magical ones. They must have a seperate proficiency currently than mundane armor spikes, because the normal ones are selectable.
Lawful_g is offline   #2 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old August 25th, 2008, 08:40 PM
Also, has the ability to enter custom special materials been added to Hero Lab? I don't see any way to edit that either.
Lawful_g is offline   #3 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old August 29th, 2008, 03:46 PM
Lawful_g wrote:
>
>
> Another issue, I'm adding an armor extra called "Quick escape" and was
> trying to pattern it after Armor spikes.
>
> Unfortunately, I cannot find the Armor Spikes entry in the editor. From
> what I have seen adding them through the normal engine, they seem to be
> lumped together with the 'Item Power' category, but the editor's field
> reveals no Armor spikes entry after hitting the new (copy) button. Where
> are they?

Armor Spikes are kinda funky; since they're a weapon, they have to be
treated specially by HL. What does the "Quick Escape" extra do? If it's
just another magical armor ability, you can just copy it from one of the
other abilities.


> I think I found an error as well. When creating a custom armor, the
> "Armor Spikes (Magical)" entry is not selectable because the program
> says my fighter is not proficient with the magical ones. They must have
> a seperate proficiency currently than mundane armor spikes, because the
> normal ones are selectable.

Thanks, I'll fix this.



--
Colen McAlister, colen@wolflair.com
Colen is offline   #4 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old August 29th, 2008, 04:06 PM
Quote:
Originally Posted by Lawful_g
THere is a piece of armor I am trying to enter into Hero Lab with the editor and having trouble with, the Dastana.

"This pair of metal bracers can be worn in addition to some other types of armor to provide an additional armor bonus that stacks with both the foundation armor and any shield worn. You can wear dastana with padded, leather, or chain shirt armor. You need the Armor Proficiency (light) feat to wear dastana without penalty."

How do I program this so that it only gives the AC bonus with those specific armors? Also, I was going to enter it as a shield, how do I make it so that it can be worn along with other shields without giving a validation error from having 2 shields equipped?
I think you'd be better entering it as a wondrous item. It sounds like they should take up a wrist slot, since they look similar to bracers?


As for how to do it, this script should do the trick:

Code:
~ Initialize a variable that we unset if we find illegal armor
var islegal as number
islegal = 1

~ Go through all our pieces of light, medium and heavy armor
foreach pick in hero where "mClass.Light | mClass.Medium | mClass.Heavy"

  ~ If this armor is equipped, we need to check it - otherwise,
  ~ we don't care about it
  if (each.field[gIsEquip].value <> 0) then

    ~ If this is not padded, leather, or chain shirt armor, we're
    ~ not legal, so unset our flag
    if (each.tagis[thingid.mPadded] + each.tagis[thingid.mLeather] + each.tagis[thingid.mChainShr] = 0) then
      islegal = 0
      endif
    endif
  
  ~ Go on to the next piece of armor
  nexteach

~ If we are legal and equipped, add the bonus to our armor class
if (islegal <> 0) then
  if (field[gIsEquip].value <> 0) then
    hero.child[ArmorClass].field[tACMisc].value += 3
    endif
  endif
I'm assuming a bonus of +3, but you could use anything you wanted.
Colen is offline   #5 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old August 29th, 2008, 04:10 PM
Lawful_g wrote:
>
>
> Also, has the ability to enter custom special materials been added to
> Hero Lab? I don't see any way to edit that either.


Not yet, unfortunately. I'll try and knock it into shape for the next
release, since it's been overdue for a long time.


--
Colen McAlister, colen@wolflair.com
Colen is offline   #6 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 07:02 AM.


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