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
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old February 23rd, 2013, 07:31 PM
I have a monster that can use witch hexes (as a witch of level equal to its HD). Ideas on how to implement, or am I going to have to make Racial Specials of each hex?
frumple is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old February 23rd, 2013, 07:56 PM
Does it select the hex or does it just use them all?
AndrewD2 is offline   #2 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old February 23rd, 2013, 08:02 PM
Selects the hex as a witch of its HD. So at 4HD it would select 3 hexes.

I am trying to figure out a way to use tag assignment on Custom Abilities (where the hexes are) to add the tag SpecSource.RACE_ID to each hex. However I don't know if Custom Abilities have their own container or component context which I can use in a foreach statement.
frumple is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,215

Old February 23rd, 2013, 10:52 PM
Re-make the ones you need as racial abilities. Things made for classes cannot be used for races.
Mathias is offline   #4 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old February 24th, 2013, 04:52 AM
Ah I was afraid of that. Oh well, back to coding. *cracking knuckles*
frumple is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 24th, 2013, 07:35 AM
Quote:
Originally Posted by frumple View Post
Ah I was afraid of that. Oh well, back to coding. *cracking knuckles*
Yea I found the same thing out when doing my Mtyhic Playtest.

On the good side RAW XML is very handy. You could make the Copies of the Hex's and save to the .user file. Then you just have to change the RAW XML
Code:
compset="CustomSpec"
to
Code:
compset="RaceCustom"
on each Thing.

Other than that I don't remember changing anything actually. a Custom Ability and a Racial Custom are pretty much the same otherwise.

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   #6 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old February 24th, 2013, 09:38 AM
Well some slight differences. Need to change calls to cTotLevel and xLevel, as well as trying to figure out how a race granted hex would count as a class granted one and visa versa.

Last edited by frumple; February 24th, 2013 at 09:56 AM.
frumple is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 24th, 2013, 10:04 AM
Quote:
Originally Posted by frumple View Post
Well some slight differences. Need to change calls to cTotLevel and xLevel, as well as trying to figure out how a race granted hex would count as a class granted one and visa versa.
Oh yea that.

Does the race one count as taking the same Class Hex? If so you could just assign the same "HasAbility" tag to the hero when the Race one was taken. Then on the the Race one look for the HasAbility tag of the Class version to not be present or show an error about "similar ability already taken".

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   #8 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old February 24th, 2013, 10:56 AM
Yeah it counts the same. I tried giving each of the race hexes the HasAbility tag with the appropiate class hex ID, but it doesn't seem to work.
frumple is offline   #9 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 24th, 2013, 11:01 AM
Quote:
Originally Posted by frumple View Post
Yeah it counts the same. I tried giving each of the race hexes the HasAbility tag with the appropiate class hex ID, but it doesn't seem to work.
Did you just put the tag on the Thing? You will most likely need to add a script that does the following. This keeps the script generic and you can copy/paste on to each Hex. Then it pushes all the HasAbility tags to the hero. I would to this pretty early even around First/100.
Code:
perform forward[HasAbility.?]
Or like that to force this tag to the hero and it can get detected then by the Class Hex 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   #10 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 10:24 PM.


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