Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
I have a template that allows a creature to absorb another creature's abilities.
I want to implement this in a configurable as follows Primary : list of all base races Secondary: abilities of races selected in Primary Tertiary: custom abilities for things that do not fall in the above (user text box) Is there a tag expression I can use in crfAllow1 that will build the list of all races? (setting field[cfgAllow1].text = "component.BaseRaces" doe snot work. I am guessing because I need to apply it to all things. Another idea I has is have a single Racial Cust Special with a dropdown that selects from All Things and filters on component.BaseRace This does work (so far), but I wanted to know if there was a way to just have a list of races in the configurable? |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Only picks with the component.Ability component tag can be added to table 1-7 of a configurable, so no races, sorry. Try the Racial Cust Special workaround and tell me how it goes.
|
#2 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
The Racial Cust Special works in selecting the race. Now my challenge is populating the Secondary with all the abilities from that race.
|
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Is this perchance a new crack at doing wild shape forms? Because I have considered doing something similar to what you are attempting for those.
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
I had assumed that Polymorph stuff was still a long while off so making something that worked 98% of the time would be a good thing. If your "soon" to have a mechanic built for Polymorph than I should stop my work. If its still a half-year or more away then I will continue. 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. |
|
#5 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Not quite, is for one of the new templates in the upcoming updated Advanced Bestiary (I am doing the HL conversion for Green Ronin as paid work. I cannot get more specific about the templates in public due to NDAs.). There are a few in the book that take abilities from other races, but this one seemed the easiest to start with.
In any case I have gotten it so the user can select directly bootstrapped abilities, but I cannot get it to list spell-like abilities, or abilities granted by type or subtypes. I think the issue is that I cannot change context with a string expression. What I woudn't give for a childstr[string] or thingstr[string] statement. :/ Additionally I want to tag each of the secondary abilities with a SpecSource tag of which race it came from. That way I can easily pull tags and copy field values. In any case this is what I have so far. Code:
~ set secondary abilities in configurable doneif (field[usrChosen1].ischosen = 0) var secThing as string var subThing as string ~ go through bootstraps of chosen race foreach bootstrap in field[usrChosen1].chosen where "!(HasFeat.? | ArmAbilTyp.?)" secThing = splice(secThing,eachthing.tagids[thingid.?]," | ") ~ now go through things that were bootstrapped by any bootstraps foreach bootstrap in eachthing where "!(HasFeat.? | ArmAbilTyp.?)" subThing = splice(subThing,eachthing.tagids[thingid.?]," | ") nexteach secThing = splice(secThing,subThing," | ") nexteach ~ assign list hero.child[cfgGRConsu].field[cfgAllow2].text = secThing Last edited by frumple; May 28th, 2014 at 10:52 AM. |
#6 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
|
|
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Cool thanks for the info.
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. |
#8 |
|
|