Jump to content

Photo

Conflicting HAK Packs, Problems With appearance.2da


  • Please log in to reply
14 replies to this topic

#1
Sabranic

Sabranic
  • Members
  • 306 posts

I have two exceptional monsters that I am pushing into the ToH - however, they are conflicting in some manner.

 

http://neverwinterva...wn2/model/mimic

http://neverwinterva...el/rust-monster

 

Fortunately, the Mimic is broken into stand-alone bits, so I grabbed all of the assets and placed them in the campaign folder, in the GR2, MDB and TEXTURES sub-directories.  I then created an appearance.2da file using their provided example and editing in in TlKEdit, I added a good 1500 lines to it, and placed the Mimic information there.  Despite this, the mimic model is not available in the toolset, and I am puzzled as to why.

 

Here is the 2da file: https://www.dropbox....arance.2da?dl=0



#2
Sabranic

Sabranic
  • Members
  • 306 posts

Now that I am using TlKEdit to poke around in the hak files, the two creatures have different entries in the respective appearance .2da files. 

 

1301 for the mimic

1051 for the rust monster.

 

So that can't be the issue.

 

But it's definitely those two hak packs conflicting in some way, as I can remove one or the other and the monster's work fine.



#3
Tchos

Tchos
  • Members
  • 5,030 posts

There can be only one 2da of any type.  Only one appearance.2da, only one placeables.2da, etc.  You need to put both creature entries in one 2da, and make that the only one.


  • Sabranic likes this

#4
Sabranic

Sabranic
  • Members
  • 306 posts

Ah-ha! 

 

The Tomb of Horrors HAK has it's OWN .2da file.

 

So there were THREE appearance.2da files beating around in there.  It's possible the only reason the Mimic worked is that the Tomb of Horrors Hak had an entry for it. 

 

 

I think anyways...



#5
Sabranic

Sabranic
  • Members
  • 306 posts

On a slight tangent... I noticed this in the rustmonster HAK

 

c_rustm_cl_body01.mdb.res

 

What is that supposed to be?  Two extensions?



#6
Tchos

Tchos
  • Members
  • 5,030 posts

c_rustm_cl_body01.mdb.res

What is that supposed to be?  Two extensions?

 

I extracted all files from the hak you're talking about and included only the creatures I wanted for my campaign.  I did not include any .res files.  Whatever they are, I don't think you need them.


  • Sabranic likes this

#7
Sabranic

Sabranic
  • Members
  • 306 posts

Thanks!  I will ditch it. 

 

When I export the rustmonster appearance 2da and attempt to open it in TlKedit it tells me the file is corrupt.

 

"Found 56 fields, expected 55"



#8
Sabranic

Sabranic
  • Members
  • 306 posts

I extracted all files from the hak you're talking about and included only the creatures I wanted for my campaign.  I did not include any .res files.  Whatever they are, I don't think you need them.

 

 

 

Ok, I extracted the appearance.2da then deleted it from the Tome of Horrors.HAK.  Appearance.2da now lives in the campaign folder.  All the various bits of the rust monster and mimic are now extracted from the hak files and in the campaign folder as well.  I also went in and fixed (I hope) the rustmonster appearance entry -  it was missing a column.  I updated the appearance.2da with the Mimic and Rustmonster entries, and I will see what happens.



#9
Tchos

Tchos
  • Members
  • 5,030 posts

Just so you know, certain 2DAs don't seem to work in the campaign folder, which is why I have a single hak for my campaign, which contains nothing but some of the 2DAs.


  • Sabranic likes this

#10
Sabranic

Sabranic
  • Members
  • 306 posts

Ahhh!  It all works now. Thanks for the pointers!

 

There WAS something messed up with the appearance.2da in that rust monster though, I am certain of it.  And I didn't do it... for once.  ;)

 

Ok.  Lesson learned.  No more .hak packs for me.  I'll take them apart from now on and add the components to the modules.



#11
Sabranic

Sabranic
  • Members
  • 306 posts

Just so you know, certain 2DAs don't seem to work in the campaign folder, which is why I have a single hak for my campaign, which contains nothing but some of the 2DAs.

 

Which ones?



#12
Tchos

Tchos
  • Members
  • 5,030 posts

I don't recall which ones actually needed to be in there, and which I just put in there because I didn't want to take the time to test whether they needed to be in there, so I don't want to tar more of them than needed.  For instance, although I put placeables.2da in the hak, it doesn't need to be there, and even works in the module folder.

 

I have a handful of 2DAs in my campaign folder, in a subfolder called "2DAs that don't need to be in the hak".


  • Sabranic likes this

#13
Sabranic

Sabranic
  • Members
  • 306 posts

Gotcha!  Thanks!



#14
ArtemisJ

ArtemisJ
  • Members
  • 127 posts

Thanks!  I will ditch it. 

 

When I export the rustmonster appearance 2da and attempt to open it in TlKedit it tells me the file is corrupt.

 

"Found 56 fields, expected 55"

 

This happens with some 2da's that are formatted to have a white space / tab at the beginning of each line.. technically they are valid but the tlk editor sees that as an extra field.

The fix in Notepad++ if you use that - is to Select All and then do a Shift + Tab to push all rows back.


  • Pitdmn and Sabranic like this

#15
Sabranic

Sabranic
  • Members
  • 306 posts

This happens with some 2da's that are formatted to have a white space / tab at the beginning of each line.. technically they are valid but the tlk editor sees that as an extra field.

The fix in Notepad++ if you use that - is to Select All and then do a Shift + Tab to push all rows back.

 

Why that is... that... is much simpler and far far far far less time consuming than how I fixed it  ;X

 

Will remember for the future...  :)