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
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old March 2nd, 2015, 12:29 PM
if you're using the automatic ones in the editor, that does not use the BloodEner.? tags, you'll have to debug to see what tags it uses (just check for their thingid)
AndrewD2 is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 2nd, 2015, 12:58 PM
Quote:
Originally Posted by direinsomniac View Post
I downloaded and unzipped the file for the Dragonborn, but I can't get the file to open.
I have tried to "Open With" Hero Lab, no success...
I put it in the same folder as all the other .user files, and it's not registering--even though it's a .user file, the file icon is showing a .exec.

I am using a Mac, and do no have access to a Windows computer
Know little about Macs but its a zip file that contains a .user file. So you should just have to unzip the file. Then place the .user file into your "herolab\data\Pathfinder" folder.

Do zip files show as executable on Macs? Sorry I have no clue how Macs work. I can only tell you that other Mac users use the same .user files we use on windows without issues.

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   #12 Reply With Quote
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old March 2nd, 2015, 01:13 PM
The automatic selector in the editor was a quick fix, just to see if I could get it to show up. I would prefer to utilize the BloodEner.? tags, but not sure how to code that.
direinsomniac is offline   #13 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 2nd, 2015, 05:21 PM
Quote:
Originally Posted by direinsomniac View Post
I manage to get the drop-down list to show up in the [Racial, Template, Faction Abilities] section of the Background tab by selection the "Energy Type" from the [Item Selection].

However, the Eval Script doesn't seem to be doing anything.

Code:
{Post-Levels / 10000}
~if nothing's been selected, there's nothing we can do
doneif (field[usrChosen1].ischosen = 0)

if (field[usrChosen1].chosen.tagis[BloodEner.Cold] <> 0) then
  #applyresist[xDamRsCold,10]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Elec] <> 0) then
  #applyresist[xDamRsElec,10] 
elseif (field[usrChosen1].chosen.tagis[BloodEner.Fire] <> 0) then
  #applyresist[xDamRsFire,10]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Acid] <> 0) then
  #applyresist[xDamRsAcid,10]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Sonic] <> 0) then
  #applyresist[xDamRsSoni,10]
  endif
You have the above code running on the same "Racial Special" where you have the drop down right? Because BloodEner.? tags are on the default Energy Type selections so the above script should be working.

Maybe post the .user file and I can take a look at it then.

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   #14 Reply With Quote
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old March 3rd, 2015, 09:22 AM
Here is the user file.
Attached Files
File Type: zip Race - Drakeling.user.zip (5.0 KB, 3 views)
direinsomniac is offline   #15 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 3rd, 2015, 10:31 AM
Quote:
Originally Posted by direinsomniac View Post
Here is the user file.
Hmmm. So I don't have HL access here at work so I looked at the raw XML and don't see anything wrong actually.

I guess my only question is have you done a restart of HL and tested? Sometimes with bootstraps that helps.

Otherwise when I get home tonight I can load it into HL and see what it is doing. But it sure seems like it should be working.

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   #16 Reply With Quote
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old March 3rd, 2015, 11:11 AM
Yes, I've worked on that file over several days, and close out HL at the end of each day
direinsomniac is offline   #17 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 4th, 2015, 10:13 AM
Quote:
Originally Posted by direinsomniac View Post
Here is the user file.
So I loaded this up this morning quick, got home really late last night, and it working fine for me. I selected your race and then on the drop down I picked "Cold" and I correctly saw the "Energy Resistance, Cold (10)" show up on the 'Specials' tab.

So maybe you just missed it as it only displays on the "Special" tab it will not display with the other "Race" stuff.

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   #18 Reply With Quote
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old March 5th, 2015, 07:59 AM
Yeah, it's working now.

So how would a then code the FCB for the sorcerer class to take the (field[usrChosen1]) into account for the increase in damage for spells matching the [BloodEner.?] type?

Is there a way to code this, or is it something that the player just has to keep track of on their own?
direinsomniac is offline   #19 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 5th, 2015, 04:30 PM
Quote:
Originally Posted by direinsomniac View Post
Yeah, it's working now.

So how would a then code the FCB for the sorcerer class to take the (field[usrChosen1]) into account for the increase in damage for spells matching the [BloodEner.?] type?

Is there a way to code this, or is it something that the player just has to keep track of on their own?
So two basic ways to handle this.

1) Setup up a "Custom.?" tag for each elemental type. Then in your script when you give the type of resistance also assign the correct Custom.? Elemental tag to the hero:
Code:
if (field[usrChosen1].chosen.tagis[BloodEner.Cold] <> 0) then
  #applyresist[xDamRsCold,10]
  perform hero.assign[Custom.DrakCold]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Elec] <> 0) then
  #applyresist[xDamRsElec,10] 
  perform hero.assign[Custom.DrakElec]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Fire] <> 0) then
  #applyresist[xDamRsFire,10]
  perform hero.assign[Custom.DrakFire]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Acid] <> 0) then
  #applyresist[xDamRsAcid,10]
  perform hero.assign[Custom.DrakAcid]
elseif (field[usrChosen1].chosen.tagis[BloodEner.Sonic] <> 0) then
  #applyresist[xDamRsSoni,10]
  perform hero.assign[Custom.DrakSonic]
  endif
Then on the FCB you can simply check on the hero which energy type your race is giving:
Code:
if (hero.tagis[Custom.DrakSonic] = 1) then
  ~ do sonic energy bonus stuff
elseif (hero.tagis[Custom.DrakAcid] = 1) then
  ~ do sonic energy bonus stuff
2) You could simply go after the value chosen by the racial special directly:
Code:
if (hero.childfound[raDrakeRes].field[usrChosen1].chosen.tagis[BloodEner.Cold] <> 0) then
The first option is what you would see LW do or myself. As checking/working with Tags is very fast and very easy to do. The only thing is you want to make sure you push the tags to the hero BEFORE you test for them on the FCB.

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   #20 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 07:50 PM.


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