Jump to content

Custom NPC assistance required...


Grabstein

Recommended Posts

I could *really* use some assistance, as I'm out of ideas. I've multiple custom npc issues. Firstly, a few of my npcs will randomly call me names, although their disposition is set to 75 and all relationships are set to "Ally", with varying moods.

Secondly, my npcs will not sandbox. All of them have the same sandboxing AI. There's separate packages for(in this order): breakfast, lunch, dinner, bed, sandbox. All of the area parameters set to the single cell my home encompasses. *Sometimes* they'll eat a meal. Rarely will the go anywhere near a bed. When they do, though, the stand next to it or on top of it. Every so often they will actually use idle markers or objects that are set for npc use. Usually, though, they just stand in one place. Any assistance is appreciated!

Link to comment
Share on other sites

  • Replies 44
  • Created
  • Last Reply

Top Posters In This Topic

Alright. I figured out that the npcs not sandboxing was a NavMesh issue. That's solved, -ish. They will now travel from room to room and have meals. They will not, however, cease the incessant name-calling nor will they go to bed. Any help is welcomed.

Link to comment
Share on other sites

Have you tried setting their disposition to 80 and their mood to happy?

 

Also, have you tried them with UFO? I find the "relax a while" command usually results in my custom NPC making use of any idle animation markers available.

For sleeping..did you set a specific time for him/her to sleep?

If you post a screenshot of the sand boxing page, I would be happy to take a look at it. Sometimes it's easy to miss something--your eyes see what you meant to do instead of what you did.

Ok, by "you" I mean "me." :cool:

Link to comment
Share on other sites

I'm sorry, UFO? Not familiar with that. I'll see what adjusting the disposition will do.
Yes, they're set to sleep at 2300 for 7 hours and to sleep in "Furniture: Beds". I copied one of the existing sleep packages and adjusted the time and duration.

Link to comment
Share on other sites

I think the name calling has to do with not giving them a voice type.

 

If you've navmeshed the cell properly, finalised and everything, they will be sandboxing around as long as the cell has furniture and idle markers they can use.

 

Give them their own sleep packages, not the default sleep packages, especially if the beds are located in a different room or floor. The default packages are shared across the board by many vanilla npcs, and editing those would cause changes in all of their behaviour.

 

Basically, under the ai packages tab on NPC A, right click>new>give the new package a name (e.g., MyNPCSleep22x7) and select sleep from the dropdown. You can then either select your cell as the place where they sleep with a wide enough radius so they can find the beds, or be even more specific and assign a particular bed to particular NPCs. Assign the schedule.

 

Remember that packages run on a top-to-bottom priority basis, so make sure the NPC's packages are in the correct order schedule-wise.

Edited by nonoodles
Link to comment
Share on other sites

Every package has been, minorly, edited and renamed. They all have voice types, as well, appropriate to their race. As I said, in my first post, the order is eat(morning, afternoon, evening), sleep, sandbox. The NavMeshes are all finalized, through doors even. I've tried specific beds, but that did not work, either. I've done quite a bit of hunting and triple questioning. :-/

Link to comment
Share on other sites

Ah sorry, lol, I see you've done all that. This is quite puzzling then, because from the sound of it, they should be functioning well.

 

Are they duplicated from existing npcs? That can sometimes cause problems. If you don't mind, could you upload the file so I can poke around in it and hopefully see what's up with them? Unless the file is terribly huge or something.

 

Edit- do you mean all the Eat packages come before the sleep one? That would interfere with their sleep packages. I find the best way is to give them an order like this - e.g, Sweep9x3>Eat13x1>Go to inn 18x2 > Sleep 22x8 > Eat morning 8x1. I usually leave out the default sandbox packages as they'll sandbox at their editor location anyway during the 'empty' hours.

Edited by nonoodles
Link to comment
Share on other sites

Nope. Not duplicates. In fact, I've deleted the placed npcs and replaced them. The file's not too large, however, I do have a few other mods that it is dependent on. The way it's set up is, in order: eat- 7x1, 13x1, 19x1 sleep- 23x7 sandbox All are set to the cell, which is a multi-room, non-transitioning player home. Although, I *still* can't figure out the name-calling. I think that *almost* bothers me more than the fact they won't go to sleep.

EDIT: They're *all* unique npcs.

Edited by Grabstein
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...