Author Topic: Help with custom content please...  (Read 432 times)

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Help with custom content please...
« on: April 17, 2012, 01:46:30 am »


               I'm not hip on how to create some things...

I want to edit 2da files to "add lines" & change abilities of certain things, and make them avaiable for a custom hak, however, I cannot edit some files because they are already in the CEP 2.4 hak file...

Placing them in my hak creates a resource conflict...

How do I overcome this?

What do I need a custom tlk file for?

Is there anywhere you can point me to, to help me learn how to create / add custom content for the nwn game?
               
               

               
            

Legacy_gutwrench66kg

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +0/-0
Help with custom content please...
« Reply #1 on: April 17, 2012, 02:05:34 am »


               you may have multiple instances of various 2da files. Whichever one is in the topmost hak takes priority.

CEP may have a baseitems.2da but I want to add some/remove some/change stats.  I simply add my own into a hak above theirs.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Help with custom content please...
« Reply #2 on: April 17, 2012, 03:35:47 am »


               Thanks usagreco66kg, I did that, but when I went to "Check For Conflicts" it said the resources were conflicting...

All I did was minor editing to the base items...

So if I edit 2das do I need a tlk file?

What exactly are tlk files for?
               
               

               
            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
Help with custom content please...
« Reply #3 on: April 17, 2012, 03:36:49 am »


               <standing on...>

The first place I always check is the Custom Content Guide

Even if it's not covering the exact subject you want, it has a lot of resource links for other tutorials.

I love it so much I have a bound copy. Seriously.

<...the shoulders of giants>
               
               

               
            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
Help with custom content please...
« Reply #4 on: April 17, 2012, 03:41:48 am »


               <writing on the blackboard...>

The tlk file is a list of indexed strings that the game can reference by number.

The custom tlk file lets you add a whole lot more strings to the game for whatever purpose you need strings.

The .2da files are 2-dimensional arrays (tables) of indexed data. Ex: the visualeffects.2da is an indexed table of information pertaining to visualeffects.

The conflicts you see are merely (usually) the toolset warning you that a higher hak has resources that overwrite earlier ones. The warning to watch for, I think, is the "missing resources" warning. Not the resource conflict.

<...and making everyone wince>
               
               

               
            

Legacy_wyldhunt1

  • Sr. Member
  • ****
  • Posts: 443
  • Karma: +0/-0
Help with custom content please...
« Reply #5 on: April 17, 2012, 07:33:31 pm »


               If you override a CEP 2.4 hak, the CEP hak will no longer be used at all. So, the first step is to copy the CEP hak. Then, edit the CEP hak as needed. Finally, place the new, edited, copy above the original in the hak order.

There will be a conflict. All that is, is a warning that the lower hak will no longer be used. As long as you started with a copy of their hak. You won't actually lose anything (Unless you delete a line from the copy).