NWN2/Custom TLK

From RopeWiki
Jump to navigation Jump to search

Creating a custom.tlk file for use in NWN2 as an Override[edit]

What you will need - a text editor(or 2da editor), and a TLK file editor

  1. ) Use your TLK editor to create a new TLK file, e.g. MyTalk.TLK
  2. ) Create an entry at line 1, lets call it 'leprechaun'
  3. ) Open the races.2da and change the line under NAME for gnomes to 16777217 (this is the custom TLK entry line number plus 16777216, if you use the AussieNWN TLK editor it will display this number for you automatically)
  4. ) Save both the TLK file and the 2da file
  5. ) Copy the TLK file to your Mydocuments\Neverwinter Nights2\tlk folder. Also make a copy of this file in your INSTALL\Neverwinter Nights 2 - BUT REMOVE THE ".TLK" extension
  6. ) Copy the races.2da to your MYDOCUMENTS\Neverwinter Nights2\override folder
  7. ) Open the toolset and add view the module properties, locate the custom TLK entry
  8. ) Add your TLK filename, e.g. "MYTalk" DO NOT ADD THE .TLK, ignore the error message
  9. ) Save your mod, play your mod
  10. ) You should see the gnome race has been replaced by leprechaun.

Please note that using overrides is NOT the best way to acheive a customised mod, the override 2da will be used for all mods you play which will not reference your custom TLK and may give unpredictable results in the name field.

You would be better served by creating a hak pack for your 2da changes by using NWHAK.exe (from NWN1 or download from the vault).


Creating a custom.tlk file for use in NWN2 as a Hak[edit]

What you will need - a text editor(or 2da editor), and a TLK file editor, NWHak.exe.

  1. ) After making your 2da and TLK file changes as outlined above, simply run NWHAK, add the 2da resource and choose Save as, "MyHak.hak"
  2. ) You will need to add Hak file to both your INSTALL\Neverwinter Nights 2\hak and your MYDOCUMENTS\Neverwinter Nights 2\Hak as it the Toolset uses the INSTALL folder, while playing the game uses the MYDOCUMENTS folder.
  3. ) Dont forget to add the hak pack to your module (near the custom TLK in module properties).

This will only be used for your module specifically.