Jump to content

Home

K1 Head Modding Problem


thisguyrich

Recommended Posts

Before any one says "Why didn't you search?" I tried, but clicking search this forum did nothing in Firefox, and wasn't even there in IE.

 

Now for my question. Using this http://www.lucasforums.com/forumdisplay.php?f=324&page=2&sort=lastpost&order=&pp=50&daysprune=-1#goto_forumsearch

I managed to get a Twilek head to show up for selection of the PC, but it is not using the custom skin. Instead it is using Yuthura Ban's default skin, in all the cases, Soldier, Scoundrel, and Scout.

 

appearance.2da looks like this:

(Row Label) Label normalhead backuphead

512 P_FEM_T_SML_01 106 ****

513 P_FEM_T_MED_01 106 ****

514 P_FEM_T_LRG_01 106 ****

 

All other fields remains the same as the rows they were copied from.

 

heads.2da looks like this:

(Row Label) head headtexvvve headtexvve headtexve headtexe

106 PFHT01 PFHT01D PFHT01D3 PFHT01D2 PFHT01D1

 

Any ideas?

 

Edit:Removing all other mods from the game results in the head being displayed with a default green twilek skin.

Edit 2:Looking in a hex editor at the model contains references to a twilek_fo1 and N_Twilek. I tried removing them, replacing them with 00 strings, but that crashed the game. I also tried to replace twilek_f01 with PHTF01, but that also crashed the game. I don't remember having to modify any models the last time when I made a custom male twilek head for the game. Could this really be what's causing the default green and Yuthura Ban skins to show up on the model instead of my custom skin?

Link to comment
Share on other sites

New problem now. I figured that maybe in hex editing the model, what I'm replacing twilek_f01 with should be the same amount of characters {which PFHT01 obviously isn't} so simply changed the f to a p {to have twilek_p01} and renaming the skins and models as well as modifying heads and appearances 2das appropriately. Now starting the game produces a headless character in the character creation screen.

Link to comment
Share on other sites

New problem now. I figured that maybe in hex editing the model, what I'm replacing twilek_f01 with should be the same amount of characters {which PFHT01 obviously isn't} so simply changed the f to a p {to have twilek_p01} and renaming the skins and models as well as modifying heads and appearances 2das appropriately. Now starting the game produces a headless character in the character creation screen.

 

Yes, when you substitute model and texture names with a hex editor the new name must be the same number of characters as the old ones, or you'll either overwrite other data, or mess up internal file offset pointers badly.

 

If the character is headless make sure the heads.2da, appearance.2da and portrait.2da lines for your appearance are properly linking to each other (i.e. referring to the correct line number in the other file). Also make sure you set texture names properly, texture names set in the 2DA (if you do this) should not include the TextureVariation number at the end, generally.

 

Also, if you've renamed a model, make sure you rename the model internally in the file as well with a hex edit. It should match the name of the file.

Link to comment
Share on other sites

Ok, you're not going to believe this {or maybe you will}, but it was the dumbest thing.

 

The model had the wrong file name, by one letter. Instead of twilek_p01.mdl, I had twilek_po1.mdl. It's working now, but still with unexpected results. It looks like this.

 

http://i9.photobucket.com/albums/a91/systemerror5150/whitetwilek.jpg

 

Here's screens of appearances.2da and heads.2da if it might help.

 

http://i9.photobucket.com/albums/a91/systemerror5150/appearances.jpg

http://i9.photobucket.com/albums/a91/systemerror5150/heads.jpg

 

Please ignore that there's two line 510's. The lines in question are 512, 513, and 514.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...