You are here

How to edit classes?

14 posts / 0 new
Last post
demoix
How to edit classes?

I would like to add for example feat 303 (summon familiar) to paladin class , can someone give me a tutorial?

P.S. Console command ''givefeat 303'' doesnt work, because it's appears in feats list, but when I'm trying to summon nothing happens. 

Any ideas?

  • up
    50%
  • down
    50%
rjshae

Not a tutorial, no. But I can take a guess that you'll need to edit the packftpala1.2da file (for the default Paladin class, I believe), add a row at the end for the new feat (303 FEAT_SUMMON_FAMILIAR), and include that file in your personal Override folder. You may need to do this with all six of the packftpala* files.

Feat #303 calls spell #318, which executes nw_s2_familiar. That script runs SummonFamiliar().

  • up
    50%
  • down
    50%
kevL's

// Summon a Familiar
// oMaster - the familiar  owner. If owner does not have the appropriate feat, nothing will happen.
// sResRef - resref of creature to summon.  Character choice will be used if blank.
// MAP 3/24/09 - modified to allow caller to specify an override for the familiar.
void SummonFamiliar(object oMaster=OBJECT_SELF, string sResRef = "");


I think the character also needs a familiar-type. Perhaps you'd get to choose one on character creation after modifying the .2da's that Rj noted.

-..-

  • up
    50%
  • down
    50%
GCoyote

Perhaps try kamal's archetype characters

I have not tried it but it sounds like it might do what you are asking about.

 

Good luck!

<b>"Please VOTE on the content you play."</b>

  • up
    50%
  • down
    50%
Kalina

I did this the other day to add a Familiar to the Favoured Soul class :) I'll do my best to write a quick tutorial. You'll need something to edit .2da files with, but you could get away with just using Excel with these particular documents and it will line everything up nicely for you. You will also need something to open .zip files with, I use WinRAR.

 

1. Locate the following .2da files:

classes.2da

cls_feat_pal2.2da

These should be under in main NWN2 Data folder (e.g. "C://Program Files/ Neverwinter Nights 2/Data", or wherever you installed it - NOT under "My Documents")

  • If you are running the base game with NO EXPANSION PACKS, then open the "2DA.Zip" file.
  • If you are running the base game + MotB, then open "2DA_X1.Zip"
  • If you are running the base game +MotB + SoZ, then open "2DA_X2.Zip"

Only use the files from ONE of these .zip folders! :)

 

2. With the relevant .zip folder open, copy the two .2da files you need onto your desktop.

 

3. Open the two .2da files in your software of choice.

To open the files in excel, open excel and go to your desktop. Select "All Files" from the drop down list to the left of the "File Name" bar (above "open" etc.) and the .2da files should appear. When you double click a .2da file, a bunch of formatting options will appear. For these files in particular, you can simply click "Finish" at this point and it will configure it nicely. Please note: Excel does not correctly format all .2da files, as it creates a new column where it reads a comma (,) which causes issues with some creature names and possibly other things I haven't encountered.

Note: While editing details in this tutorial it is completely fine to "hide" columns and rows in excel, but I tend to "unhide" them when I am finished. I'm not sure if it would make a difference if you didn't - probably not, but easier just to do it :)

 

4. For the classes.2da file:

  • Locate your class of choice (Paladin is usually no. 6)
  • Scroll across until you find the column "HasFamiliar" and change the value for the Paladin row to 1
  • Save the file to your desktop, ensuring you do not change the name at all.

 

5. For the cls_feat_pal2.2da file:

  • You should see a long list of the Paladin feats you know and love. Scroll to the bottom of these until you see the first row which looks like this:

| 203 | padding | **** | 0 | **** | 0 |

Note: This may not be row 203 depending on your game version, but it will be around that number.

  • Replace the row so that is reads as follows - note, again, the value 203 may be different for you and definitely will be if you are editing a different class:

| 203 | Familiar | 303 | 3 | 1 | 1 |

  • Save the file to your desktop, ensuring you do not change the name at all.

 

6. Now, copy the two .2da files you edited into your Override file, under the main Neverwinter Nights 2 directory.

This will be the same place that you found the Data folder. If you do not have a folder called Override, you can create one, though generally it creates itself the first time you run the game.

Note: I have created this an an override so that you do not risk messing up your original .2da files. I would never encourage anyone to outright replace the .2da files in the Data folder. There is no reason to do so for this particular modification. 

 

7. Start the game, create a character and enjoy your new familiar!

The familiar ability should now be present on the hotbar and you will be able to select a familiar at character creation if you customize your class.

 

If you run into any problems or don't understand anything here, let me know. I'm not always the best at explaining things but I hope it helps :)

If you're still having trouble, give me a shout with what version you are running and I can put it together for you, though if you're running SoZ I would need you to send me to .2da files to edit.

 

  • up
    100%
  • down
    0%
kevL's

great write-up, Kittni


I just want to suggest two trusted 2da-editors for NwN2

TlkEdit2 - handles several nwn2 file-types, is fairly straightforward.
NWN_2daEditor - looks nicer but takes some getting used to; also has "Compare", and will autocorrect 2da's w/ missing fields.



or any text editor (can be confusing if you don't know what yer looking at)

  • up
    100%
  • down
    0%
demoix

Thanks for nice tutorial Kittni

Unfortunately, but it does't work. I did everything as you said, I edited those 2 files, saved and put it back. I have both expansions + Nwn2 Client Extension + Kaedrin's PrC + TCC + Spell Fixes + Tome of Battle + Races of Faerun . I tried different ways, to add familiar to Paladin class in original campaign data classes.2da , MOTB then SOZ seperate and later togeather (set "HasFamiliar" and change the value for the Paladin row to 1 and add line Familiar | 303 | 3 | 1 | 1 | as you said). I even tried to do same with Kaedrin's PrC classes.2da , but it is same. 

Familiar appears in Paladin feat list but when I try to summon him nothing happens, Paladin acting like summoning him, but familiar doesnt appears. :( Have you been summoned him yourself as any other class then soc/wiz?

  • up
    50%
  • down
    50%
Kalina

Hiya demoix, sorry my tutorial didn't work for you :(

I have been able to summon the cat familiar for my Favoured Soul and wander around with it without any issues. I've just tried retracing my own steps for the Paladin exactly as I did for the Favoured Soul and you're right, it doesn't seem to work. I noticed that at character creation, you don't get the option to select your familiar as you should, so I assume you are getting the feat but the game isn't letting you assign a familiar so when you try to summon, nothing happens.

I've an idea how to work around this if I can't figure out a fix. Just got a few errands to run and I'll have a look this evening for you to see if I can't figure something out.

  • up
    50%
  • down
    50%
demoix

Okay, finally I have 4 days-off-mini holidays, so could be good to play NWN2 once more time again with customized classes. :) At the moment I'm using dual classes - 1st lvl Wizard then at level up I'm change to Paladin and then I could use to summon familiar, but 1 level gap hurts

  • up
    50%
  • down
    50%
rjshae

If you are testing this with your own module, you could try overriding the script that summons the familiar and have it print a debug message. That way you could know whether the feat is working, but not the SummonFamiliar() call.

As KevL noted, it may just be that your PC's character file hasn't got a familiar assigned. Hmm, I wonder if the NWN2Editor would let you modify the .bic file and change the familiar?

  • up
    50%
  • down
    50%
Kalina

Think I've cracked it, able to make a Paladin that can summon a bat familiar! Just testing it out now to see if she levels correctly.

  • up
    50%
  • down
    50%
kevL's

Rj

  • it may just be that your PC's character file hasn't got a familiar assigned. Hmm, I wonder if the NWN2Editor would let you modify the .bic file and change the familiar?

 

with TlkEdit2 these fields can be edited:

FamiliarType - row# in Hen_familiar.2da (int)
FamiliarName - name of pet (string)

- in saved-file types .Bic .Ifo .Ros, eg.

But that's not a permanent solution ... just a tool.

  • up
    100%
  • down
    0%
demoix

Ok guys I think I found solution.

1. Create character and save it, quit from game.

2. Download http://neverwintervault.org/project/nwn1/other/tool/tlkedit2-2datlkgfferf-editor

3. Open TLKedit2 and then open your created character from ...\Documents\Neverwinter Nights 2\localvault 

4. Look for "FamiliarType" and change Value to 1 , also important step to give name to your familiar at "FamiliarName" and change value to any word.

5. Click save and start game again

6. Start campaign and click Select Character, then find your current created character and he should have "Summon Familiar" by default.

 

If someone found different way, please free to share ;)

  • up
    100%
  • down
    0%
Kalina

Glad that works for you, demoix!

The issue with my tutotial is that apparently the game seems to require you to pass through the "spells" screen before you can reach the familiar screen. If it doesn't get that far, it just cuts out, and our Paladin only picks up spells after Level 4 so they never see that screen. If you tweak the spkn and spgn files to assign one spell from character creation, the Familiar screen triggers as normal and will then summon fine from that point. (edit for clarity: it's at this point that the familiar is assigned. If you try and summon without this, the game has no info to pull up). This was never an issue with the Favoured Soul as they take spells from the get go.  The only other class I ever tried it with was Bards a few years ago so no issues there either.

There must be some way around needing the SPKN, since Wizards assign familiars just fine without it, but I haven't a clue why or how. Much easier to just set the character to gain that early spell and push it through.
(edit: Rangers and Druids use animals much the same way. Not a clue!)

  • up
    100%
  • down
    0%