Couple of questions about NPC tasks

Post » Wed Jun 20, 2012 8:49 am

Hi, I was just wondering about a couple of things. Firstly how can I make an NPC sweep the bar area I've created (like are tasks such as this based around AI packages)? Second I have this barkeeper with a defaultsleepeditorloc24x8 package and they have ownership of a bed but I'm not sure how to make them sleep in it at certain times? I don't know how the numbers at the end of these package names work exactly
User avatar
Jon O
 
Posts: 3270
Joined: Wed Nov 28, 2007 9:48 pm

Post » Wed Jun 20, 2012 4:43 pm

your best bet is to create your own AI packages and tweak them to do what you need them to do.

for something like sweeping you can use "Sandbox" as a template, just set the hours to how you want.

you will also need to add idle markers in your cell for the AI to interact with. sweeping the floor is one such idle marker.


for sleeping you can either use a default sleep package or create your own, and set the bed target to point at the NPC's owned bed. you will also have to determine his sleeping schedule on the schedule tab
User avatar
Vicki Blondie
 
Posts: 3408
Joined: Fri Jun 16, 2006 5:33 am

Post » Wed Jun 20, 2012 7:18 pm

Aha, thanks for the info!
User avatar
Sheila Reyes
 
Posts: 3386
Joined: Thu Dec 28, 2006 7:40 am

Post » Wed Jun 20, 2012 5:17 pm

The numbers at the end of the sleep package means the npc goes to sleep at hour 24 (midnight) and sleeps for 8 hours---24x8. Like Amerhyst said, this can be adjusted on the schedule tab of the package.
User avatar
Rik Douglas
 
Posts: 3385
Joined: Sat Jul 07, 2007 1:40 pm

Post » Wed Jun 20, 2012 2:41 pm

Ahhh, thankyou, I was wondering why the numbering was odd
User avatar
Jason Rice
 
Posts: 3445
Joined: Thu Aug 16, 2007 3:42 pm

Post » Wed Jun 20, 2012 9:15 am

Just don't edit the default packages without renaming them first, and saving them as a new package. If you edit the default packages and overwrite them, ALL NPCs in the game that use that AI package will be affected.
User avatar
ONLY ME!!!!
 
Posts: 3479
Joined: Tue Aug 28, 2007 12:16 pm

Post » Wed Jun 20, 2012 10:55 am

Yeah I was wondering how I would make my own package off of another then I realised heheh
User avatar
joeK
 
Posts: 3370
Joined: Tue Jul 10, 2007 10:22 am


Return to V - Skyrim