Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
I'm working on an ability that gives Exotic Weapon Proficiency (Bastard Sword) for free.
I'm adding the Exotic Weapon feat successfully, but I can't seem to automatically choose Bastard Sword. I've got: Code:
<bootstrap thing="fExoticWep"> <autotag group="thing" tag="skipprereq"/> <assignval field="fChosen" value="Bastard Sword"/> </bootstrap> What am I missing? It seems like I did something similar for Cortex though.. Thanks! TC |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
fChosen is not a real field - it's a special field that holds the choice for a pick-based menu, and that's not something that can be accessed, other than by the user. In Cortex, you were assigning values to regular fields.
There's actually a mechanism to bypass the menu and link the feat directly to what you want. Add the following: <autotag group="Target" value="wSwordBast"/> instead of the assignval line you were using. |
#2 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Thanks!
Although, I get "Unrecognized attribute 'value' in element 'autotag' " when I use that. Looking at the Wiki, I see 'group' and 'tag' as the valid elements. When I try making it <autotag group="Target" tag="wSwordBast"/> it compiles fine, but the display is "Exotic Weapon Proficiency - " with no way to choose. At the same time, if I go to the gear to select a Sword, Bastard it is still greyed out as if non-proficient. Suggestions? |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Ignore the Exotic Weapon Proficiency feat and just give the proficiency directly on the class or whatever... If you really want it to show in the feats tab, make a copy of Druid Weapon Proficiency (so it will have the Helper.Helper tag and therefore will not be shown in the selection screen) and rename it Exotic Weapon Proficiency: Bastard Sword .
In an Eval script do: perform hero.assign[WepProf.wSwordBast] |
#4 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Thanks LG.
That did it. I've got it working, but it still seems like a workaround. Mathias or Colen, Any suggestions on getting it working with the EWP feat? I'd hate to have to do the same thing every time I wanted to give a specific choice (say a Weapon Focus (Dagger) ) as a bonus feat. TC |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Any time.
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Okay, it looks like the exotic weapon proficiency wasn't modified to actually do anything with the Target tags it's assigned. I'll get that fixed in the next update.
The general mechanisms for feats are still picking up on the presence of the Target tag and hiding the selector, so that's why there's no option to make a selection after adding a Target tag to EWP. |
#7 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
I noticed the Target group was now enabled for EWP, thanks!
I think that will be a big help for a lot of things down the road. |
#8 |
|
|