willwhitt56 Posted February 20, 2022 Posted February 20, 2022 I could use some help. I've been trying to get an Ai package to work so several days now, but nothing ive done so far works. All the command is, is for a maid to go to bed at a set time for 12 hours in another interior cell from where she is working. When the time sets for her to go there, she just stands there until time is up. Ive finalized the navmesh, ive tried changing it to different packages, ive raised her above the navmesh, she just stays right where she is. Is there something im missing, some glitch or bug that's preventing me from making this work? The navmesh is custom made, could that be the issue?
worik Posted February 20, 2022 Posted February 20, 2022 Who owns the bed? I've made such AI packages work, once I gave the bed an owner or a faction owner. An example Say I have a farm, I have 3 beds, 2 factions MyFarmFaction and my FarmGuestFaction Now, I put 2 NPC in the Farm faction and the player into the GuestFaction. I assign two beds to the FarmFaction and the NPC will use it but they will never use the guest bed they may randomly switch which NPC uses which of the beds. If I assign the guest bed to the GuestFaction, the player can use that to sleep, but not the other two. 2nd example Now I add a 4th bed. I add another NPC "MyFarmWorker", the NPC is not a member of any faction. I assign this 4th bed to him. he will use only this bed nobody else may use this bed
willwhitt56 Posted February 20, 2022 Author Posted February 20, 2022 18 minutes ago, worik said: Who owns the bed? I've made such AI packages work, once I gave the bed an owner or a faction owner. Say I have a farm, I have 3 beds, 2 factions MyFarmFaction and my FarmGuestFaction and I put 2 NPC in the Farm faction and the player into the GuestFaction. I assign two beds to the FarmFaction and the NPC will use it ut they will nevr use the guest bed. If I assign the guest bed to the GuestFaction, the player can use that to sleep, but not the other two. nope, still standing there. It's weird, she did just fine when she was in the same room as the bed. Maybe it's a transitional problem? EDIT: just to make sure, this is what you meant right?
worik Posted February 21, 2022 Posted February 21, 2022 9 hours ago, willwhitt56 said: just to make sure, this is what you meant right? plus the NPC needs to be in that faction I will have a look in the next days how I did it in my mod But going from my memories, the "standing next to the bed" issue was a question of ownership
Guest Posted February 21, 2022 Posted February 21, 2022 Hows the flags on the sleep package ticked? I just looked at Ysoldas package and it seems to be set up a little differently on the reference part (bedroll), but I can't see the flags in your package. EDITED: Sometimes when I make changes to an existing AI package, I find that my changes doesn't seem to have an affect in either way. And suddenly out of the blue it worked but in a different cell with different actors. Lifestorock told me that when you duplicate leveled lists in CK, you need to close them right after you create them and then re-open them to do the changes you want. I've experienced this issue myself several times. I wouldn't be suprised if there's a similar "strange" thing going on with AI packages. Because of this I always ramp up the revision of the AI package I'm making changes to. This means nothing else than duplicating the existing AI package again and giving it a suffix number, remove the old AI package from the actor, and then connect the latest one. I know it sounds like voodoo but I'm suprised how many times this procedure fixes issues even if my changes are the same.
willwhitt56 Posted February 22, 2022 Author Posted February 22, 2022 Just letting everyone here know I figured out what was wrong. Turns out my navmesh wasn't finalized so there wasn't a green triangle for the load doors.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.