KyrinFireheart: Thanks so much even though you didn't even know my question existed!
Glad I could help ^^ I had to figure that out the hard way too, I just had a decade long headstart ;)
temyankee: I created a new wizard, then used nwn2edit to give the correct prerequisits for Frost Mage. Then I used the console to give 1100 XP so I would advance to level 2. When I select Frost Mage, i get the Frost Armor feat automatically, but I don't get the Spellcaster Class feat. When I do the same for Sorcerer, I get the Spellcaster Class feat, no problem.
Ok, that’s a good starting point.
Do you see the wizard line in cls_featmap_frostmage.2da? Does it point to the correct feat in feat.2da? Compare the wizard and sorcerer lines in feat.2da and see if there is any difference.
Sidenote: Use
https://neverwintervault.org/project/nwn2/module/vordans-hero-creator to easily create and test characters.
That’s what I used to test it, I leveled the wizard up to level 5 (minimum to take Frost mage based on the 8 points in lore requirement).
temyankee: How would I add feats or change them for a Class or a Race?
Maybe a short primer on how to create a race or class from scratch?
Alright let’s start with race.
Open racialtypes.2da. It’s easiest to edit one of the padding-lines, it already has the formatting set up. Just fill in how you want your class be set up.
Here is a short description of what each column means:
https://nwn2.fandom.com/wiki/Racialtypes.2da That site has documentation on all important files.
Of note are the Name-columns. You need to add new lines to dialog.tlk and put their numbers in here.
Do the same for racialsubtypes.2da and point the BaseRace-column to the line you used in racialtypes.2da
Now the interesting part: Choose a name for the FeatsTable you want to use and add it to both files. (If you later create a second subrace they can differ and the table referenced in the base race can hold the common feats).
Those feat tables are essentially just a list of feats found in feat.2da. Creating new passive or active abilities will also involve spells.2da and a script. I’m skipping this for now.
Classes.2da is similar.
Of note are
PreReqTable used for defining entry requirements for prestige classes.
Package is those predefined choices that level your character up automatically. Not relevant for us, just choose an existing value that kind of fits.
FeatsTable is similar to the one for race except that it contains a column for the level at which the feat is given (or available).