Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Asuterks
Junior Member
 
Join Date: Jan 2015
Posts: 6

Old April 10th, 2015, 07:25 PM
Would it be possible to add the hardness and hit points to the weapons and armor? It would be really nice to be able to see that information after adding the material and enchantment bonuses and not have to do the math! Is this something that's at least probable?
Asuterks is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old April 10th, 2015, 08:09 PM
It's been asked a few times, but hasn't really come about yet.
AndrewD2 is offline   #2 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old April 11th, 2015, 05:12 AM
Quote:
Originally Posted by AndrewD2 View Post
It's been asked a few times, but hasn't really come about yet.
This was something I started adding a few years ago, the Unfinished code is still available for completing.

Here's the original forum thread

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 12th, 2015, 09:42 AM
Quote:
Originally Posted by bodrin View Post
This was something I started adding a few years ago, the Unfinished code is still available for completing.

Here's the original forum thread
This is getting really close to being finished. I thought maybe this month but now I am a week behind so doubtful. I will make it a top priority for next months release.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #4 Reply With Quote
KiwiBlaze
Member
 
Join Date: Mar 2015
Posts: 61

Old July 24th, 2016, 12:24 PM
Sorry the Necromancey skills of mine are too strong to controll!

I was wondering where this project was at, and if its available, where/how do I go about using it? I'm looking at building at least in part, a Sunder using character and this would speed up a lot of research.
KiwiBlaze is offline   #5 Reply With Quote
Dwayne
Senior Member
 
Join Date: Jan 2011
Posts: 453

Old July 26th, 2016, 12:31 PM
I also would like to use this. Did it ever get completed?
Dwayne is online now   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 26th, 2016, 01:43 PM
Simply put no it was never completed......

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #7 Reply With Quote
Dwayne
Senior Member
 
Join Date: Jan 2011
Posts: 453

Old July 26th, 2016, 07:52 PM
I wonder if LW will ever add this?
Dwayne is online now   #8 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old August 3rd, 2016, 01:07 PM
Regarding Hardness and HP for weapons!

Okay I've dug out my old code and I am trying to complete it.

Starting with the weapons first, I'll do Armour next.

Currently I can display some values on standard Weapons both Magical and Mundane. Even if the values are incorrect it provides a base figure.

However, the values do not display on a custom magic weapon, somehow the values are not calculating, I'm presuming the iMagXXXX Gizmo is preventing the code from firing.

So how do I transition to the Custom Magic Weapon and get the name to be appended with the values?

Screenshots attached.


Code:
~ If we're not enabled, get out now
  doneif (field[pIsOn].value <> 1)

~ If nothing chosen, get out now
  doneif (field[pChosen].ischosen <> 1)

  ~ Set up some variables to use later
 Var ObjHard as Number 
  Var ObjHardB as Number
   Var ObjHardT as Number
    Var ObjHp as Number     
     Var ObjHpB as Number
      Var ObjHpT as Number
       Var ObjSize as Number
        Var ObjGroup as Number

~ If adamantine add 40 hit points and 20 hardness
If (field[pChosen].chosen.tagis[Ability.eAdamant] <> 0) Then
  field[abValue].value = 40
  field[abValue2].value = 20

Else

 If (field[pChosen].chosen.tagis[Ability.eMithral] <> 0) Then
  field[abValue].value = 30
  field[abValue2].value = 15

Endif
 Endif


~ Lets multiply our weapon bonus by 10 and 2 for each +1 enchantment
  field[abValue3].value += field[pChosen].chosen.field[BonEnhance].value * 10
  field[abValue3].value += field[pChosen].chosen.field[BonEnhance].value * 2

~ Now lets use abValues to store the value of our Hit Points
  ObjHp = field[abValue].value
   ObjHpB = field[abValue3].value
    ObjHpT = (ObjHp + ObjHpB)

~ Now lets use abValues to store the value of our Hardness
  ObjHard = field[abValue2].value 
   ObjHardB = field[abValue4].value
    ObjHardT = (ObjHard + ObjHardB + ObjGroup)
      
~ Now lets add to the Hit point and Hardness total to our name
 field[pChosen].chosen.field[livename].text &= field[livename].text & "  Hardness: " & ObjHardT & " " & " HP: " & ObjHpT & " "
Attached Images
File Type: jpg +1 Adamantine Longsword.jpg (143.0 KB, 11 views)
File Type: jpg +1 Longsword.jpg (147.5 KB, 11 views)
File Type: jpg Adamantine Battleaxe.jpg (151.0 KB, 5 views)
File Type: jpg Akitonian Blade.jpg (152.1 KB, 6 views)
File Type: jpg Dagger of a Thousand Bites.jpg (154.8 KB, 8 views)

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community

Last edited by bodrin; August 3rd, 2016 at 01:12 PM.
bodrin is offline   #9 Reply With Quote
Reply


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 01:16 PM.


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