Aller au contenu

Photo

Restricting Feat Access (Prestige class Issue)


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Nasai1

Nasai1
  • Members
  • 5 messages
I'm working on a custom prestige class, one that involves feats that rank up and replace the previous rank. for my purposes, the feats are active abilities and their predecessors should not be able to be used once a higher rank is learned. I also have 3 feats that branch out from a common feat granted at level 1 of my prestige class. I only want to allow the players to select one of the three, and only rank up that feat on subsequent levels.

I have a system in place where the players will receive a bonus feat when it's time to branch out, and from what i've gathered from modders doing similar things, players *should* only be able to pick one because of the replacement of the prerequisite. (please correct me if i am wrong).

However, assuming that all works, that's not really my issue. The problem is, the players absolutely have to branch out from that common feat as soon as they are high enough level in the PrC to do so. That being said, i would like to be able to disable the player's access to all other feats except the three that they have to choose from for the class.

I haven't been able to find enough info on scripting to figure a way to force a select list of feats on the next level up, but if anyone does have that information, i will be able to understand the intricacies of the scripting involved.

I would also be willing to switch it all over to a spell system, where the players recieve the abilities as spells rather than feats (this would allow me to easily restrict branching by only granting them one spellcasting point per spellcaster level and simply putting just one ability from each branch on any given spellcaster level), however this is only an option if i can force the spells to use a successor system the same way i plan to with feats. As i said before, the players should only be permitted to use the highest rank ability belonging to whatever branch they picked, so i would need to find a way to disable and preferrably remove the older spells from their spellbook.

I would very much prefer to take the sripting route, so if anyone can provide some insight on that, that'd be great.

#2
Surango

Surango
  • Members
  • 307 messages
I don't have nwn2 installed on this computer yet, so bear with my memory...

That seems like an awful lot of extra work for the feat system, but it's doable. There's a remove feat command in the toolset. What you could do is when the PrC gets the level for the next stage, add to the top of the new feat script something like

if (GetHasFeat, yourfeatname, oPC)
{ RemoveFeat(yourfeatname, oPC; }

Here's a link to a spell tutorial: nwn2forums.bioware.com/forums/viewtopic.html

An easier way to do it would be to name your feats something a little vague where they can change. You could look through some of the spell and/or class packs on the vault for examples on how to do that. Knightmare's Scripting for Noobs is a good place to get your feet wet.

#3
Nasai1

Nasai1
  • Members
  • 5 messages
Nevermind, I've been playing through the OC to test my class, and just now got to the second level. It seems that the bonus feat system will not allow you to choose a feat enabled by any other classes you have, you can only use the bonus feats for those abilities on the class's feat list. This solves my whole problem.