Thanks for the info Shadow! I've got the combat style feats to work, and even was able to set the archetype to properly only give one favored enemy...but now I'm not getting it to advance properly. Same goes for the Companion-Bound Ranger archetype I'm working on for Favored Terrain. From the linked thread you gave, I'm thinking I'd need to add a script like...
hero.child[resEnemUpg].field[resMax].value += 1
But I'm not seeing how/why it would properly count the Upgrade value based on level. I'm thinking to change it for favored terrain, it'd be changing the resEnemUpg tag to TerraUpg or something. Still looking for that field atm.
Edit: So I got the upgrades to Favored Enemy working for the Dual Combat Style archetype, and am working on the fix for Favored Terrain as well. Looking like the script I'm using...
hero.child[resTerrUpg].field[resMax].value += 1
It's not quite working right. It gives me the upgrade for my first "skipped" terrain at lvl 8, but not for lvl 13 or 18. I'll keep working, but if anyone can help me out, that'd be great. Also looks like this fix only gives me one upgrade to Favored Enemy as well....So I'm not exactly sure how to fix it. Going to be trying some stuff, lol.
Edit of Edit: So it looks like I need to write a class count, done if statement, essentially adding each upgrade individually depending on if I've reached the right level of Spell-less Ranger. Seems a bit clunky, but it works I guess. Well, we'll see.
Final Edit of Night (probably): I have the majority of the work on the archetypes done, just the problem with the Favored Enemy/Terrain upgrades. I also have all of the bonus feats at least added in, including their working prerequisites. No scripting has been done, but it's progressing. This is all in a single file so once it's done, if I can figure out how to get it all working at a proper level, I'll push it back through to be uploaded on to Weasel's site for sharing.