PDA

View Full Version : Appearance.2da problem, I think!


mattcrowston
10-08-2005, 08:16 AM
Hey. I have been working on a couple characters, and I have hit a small snag. I have made entries in appearance.2da, I have made .utc files. Models and gfx are all there. And they even spawn where I tell them too, and look like I want them too. But thats not the problem.

The problem is when I go to KSE and change my appearance. I select their entry in the list, and commit changes. But when I get in game it doesn't work. When it loads the result is just a mess of something. When I switch party leader to another character(say Kreia) the screen turns normal but the PC is nowhere to be seen. If I move my mouse around I can find where the PC is, but its not visible. And if I select the PC again the game crashes to desktop.

I tried looking through appearance.2da but I didn't see anything that caught my eye. What would be causing this. Could it be the .utcs, or appearance.2da, or could even be the scripts listed in the .utc(thats total spectulation on my part). I have changing my appearance to 3 of the characters I have made, all with the same result. Any ideas would be greatly appreciated. Thanks.

MattC

stoffe
10-08-2005, 08:28 AM
When it loads the result is just a mess of something. When I switch party leader to another character(say Kreia) the screen turns normal but the PC is nowhere to be seen. If I move my mouse around I can find where the PC is, but its not visible. And if I select the PC again the game crashes to desktop.


Sounds like what would happen if the character appearance type is missing a body model for the clothing/armor the character is wearing. Have you made sure your appearance.2da line has a valid model set in all the model* columns?

mattcrowston
10-08-2005, 09:36 AM
Have you made sure your appearance.2da line has a valid model set in all the model* columns?

No I haven't. But these are NPC's and when you look at all the other NPC entries in the 2da, they usually only have one model listed. See the funny thing is, I have written small spawn scripts, and they work. The script calls the utc, which in turn references the appearance.2da, and models and textures are loaded.

The spawn scripts work fine. The character is spawned, they look proper, they act proper, and they are even carrying the items i equip them with. But when I change my appearance with the KSE thats when the problem happens. I can change my appearance to any other character from the game and it has no problem. I am just trying to narrow down the possible causes.

Is it possible for the scripts in the utc to make it act goofy? Anyway, thanks.

stoffe
10-08-2005, 10:59 AM
No I haven't. But these are NPC's and when you look at all the other NPC entries in the 2da, they usually only have one model listed. See the funny thing is, I have written small spawn scripts, and they work. The script calls the utc, which in turn references the appearance.2da, and models and textures are loaded.

The spawn scripts work fine. The character is spawned, they look proper, they act proper, and they are even carrying the items i equip them with. But when I change my appearance with the KSE thats when the problem happens.

This is why I suspected that it might be related to a clothing-based appearance.2da problem, in that your NPCs aren't wearing the same type of clothing/armor that your player character is. If the baseitem-type of the item your character wears in the body slot has no valid model assigned to their body variation, while those of your NPCs has, could have caused the behavior where your NPCs show properly while your player character does not.

For example, if you assign an appearance type (of modeltype B) to your player character and they only have a model set in the modela column, you would get behavior such as you described if your character wears anything in the body slot, since only the Underwear model has been set.

Oh well, it was just an idea. :)

As for scripts causing trouble, while some scripting functions are very touchy in how they are used and may cause the game to crash, I can't really see how scripts could cause trouble due to your appearance (unless the scripts use ChangeObjectAppearance() with an invalid or incomplete appearance type).

And if it was the scripts it should logically be the other way around with the NPCs breaking while your player character having no problems, since the AI scripts are disabled for the character the player controls...

Without knowing what your data files look like I'm afraid I don't have any other ideas about what can be wrong. If no one else has any ideas, post how your appearance.2da line(s) looks like and I'll see if I can spot anything that looks wrong.

Darkkender
10-08-2005, 12:34 PM
Many of these glitches can occur when testing a new appearance on an existing save game. many times the game will try to read only the appearance entries that were there before saving. It's like the save takes a picture of the 2da file and anything outside the bounds of what it saw when saving produces odd results. This is not a common thing though and happens more on fluke than as the norm. I frequently will start a seperate new and fresh game to test appearance level changes on. Also many of these problems can be caused by a lack of a heads.2da entry or a conflicting head issue, such as your npc in the same area has the same exact heads.2da reference for himself.

T7nowhere
10-08-2005, 01:06 PM
Before switching your PC's appearance to the one you made for your npc's simply
un-equip all armor and clothes from your PC then save the game and edit the save(note:always close KSE while saving your game).

Ripdog
10-08-2005, 04:50 PM
"While" you are Editing your game? Dont you mean "After"?
;-)

mattcrowston
10-08-2005, 08:48 PM
Thanks guys. I will try a couple things. Starting with T7 and stoffes idea. Sounds logical. Reason for day long absence(had to go to work). I appreciate the help. I will let ya know how it turns out.


MattC

mattcrowston
10-08-2005, 08:54 PM
As usual you guys were oh so right. Don't you ever get tired of it? :) Thanks a lot. I think thats everything.


MattC