Setting the Skin does not work for some NPCs.

Post » Sun Apr 20, 2014 12:29 am

Hi there. I've got a problem assigning skins (custom body armors) to certain (template using) NPCs.

So I've changed an NPC's face texture and skin using the CK (or skyproc in my case). For most NPCs this works fine (except that I have to re-apply the face tint).

Now there are some NPCs where only the changed face texture is visible but NOT the new body skin. I've written a small script and when I use actorBase.getSkin() it returns the proper skin I set (but the NPC is still using the default skin).

Even using actorBase.setSkin(actorBase.getSkin()) does not change it all...

This is somehow related to the actor using a template as it only happens on such actors. However, I've gone through all template flags and unchecked them & the error persists. I've gone even "up the line" to the template itself and unchecked "Use Traits" and "Use Models/Animations?" and it still doesn't work.

I've found one way to fix it: Remove the template altogether from the actor's record. Unfortunately this is not a valid solution. I'd be very grateful for some input concerning that matter.

User avatar
Gavin boyce
 
Posts: 3436
Joined: Sat Jul 28, 2007 11:19 pm

Return to V - Skyrim