Some NPCs disappears in ESM (or fake ESM), works fine in ESP

Post » Sat Apr 11, 2015 5:27 am

Hello.

As subject I've this weird issue.

I've several NPCs which are unique actors.

All of them have their own house and mostly are couples.

I've properly set location for every home

I've properly set owner faction for every home, interior doors and beds.

I've properly added house keys on every NPC

I've properly set the lock list for every home.

I've properly set the persistent location on every NPC

All the NPC which are aliases used by quests are working fine.

Some other NPCs disappears.

What am I missing more?

Thank you.

User avatar
sas
 
Posts: 3435
Joined: Thu Aug 03, 2006 8:40 am

Post » Sat Apr 11, 2015 11:03 am

* update *

What I've done (with ESM and Fake ESM):

1. I entered for at least one time in the house where NPC lives (and they are not in)

2. I exited from the house and waited for 2-3 days

3. I entered the house, I found the NPC

4. I clicked on it with the console and noted the RefID of the NPC

5. I exited the game and reloaded it

6. I coced a location

7. I used player.moveto theRefID found above

DOESN'T WORKS! THE CONSOLE DOESN'T FIND THE REFERENCE

If I do this sequence: 1,2 (sometime repeating the wait of days) and 7

IT WORKS!

WHAT THE HELL...?

User avatar
Johnny
 
Posts: 3390
Joined: Fri Jul 06, 2007 11:32 am

Post » Sat Apr 11, 2015 8:19 am

* update 2 *

1. Most of the NPC are outside of their home at 8am.

2. I coced in my custom city

3. I've unlocked and entered in a home where NPC doesn't appears

4. I've exited and entered in another interior where NPC package should be active

I found my NPC!

User avatar
Laura Tempel
 
Posts: 3484
Joined: Wed Oct 04, 2006 4:53 pm

Post » Sat Apr 11, 2015 10:54 am

Ok, listen to me.

As you already know, unique actors need persist location properly set when you place the NPC in interior or exterior, whatever is it.

Usually the persist location is the same location where the NPC is in.

IF YOUR NPC HAVE AI PACKAGES THAT MOVE IT BETWEEN MULTIPLE LOCATIONS AND YOU WANT TO PUBLISH YOUR MOD AS ESM DO NOT SET PERSIST LOCATION AS THE INTERIOR LOCATION WHERE NPC IS IN

You must set the "lower" parent location instead. Let me make an example.

I create myNPC unique Actor

I have his house with loc_House (his parent is loc_City)

I have a city with loc_City

I have an inn with loc_Inn (his parent is loc_City)

myNPC have these AI Packages:

BreakFastAtHome

MorningSandBoxInCity

EveningSandBoxinInn

SleepingAtHome

So the NPC is passing from these locations

BreakFastAtHome -> loc_House

MorningSandBoxInCity -> Loc_City

EveningSandBoxinInn -> Loc_Inn

SleepingAtHome -> Loc_House

The Persist Location to set is Loc_City! Otherwise the Engine WILL NOT LOAD THE NPC!

For a "vanilla example", just check the persist location of Swen.

User avatar
Myles
 
Posts: 3341
Joined: Sun Oct 21, 2007 12:52 pm


Return to V - Skyrim