Package Problem

Post » Mon Nov 19, 2012 9:47 am

Packages are one of the things I understand the least in the CK. I'm simply terrible at them. Here's what I'm attempting now.

I made a new template called TravelAndSit. It is quite simply a Travel procedure, and then a sit procedure. The travel procedure goes to near a specific reference, (a chair specifically) and then the subject is told to sit in said chair (which is also a specific reference type).

Unfortunately, the NPC simply doesn't do anything. She stands stock still at her editor location and doesn't move an inch. This is her only package.

Any ideas what I'm doing wrong?
User avatar
SiLa
 
Posts: 3447
Joined: Tue Jun 13, 2006 7:52 am

Post » Mon Nov 19, 2012 4:11 pm

Lol, the cell I was making her travel to wasn't navmeshed yet. Fixed.
User avatar
James Rhead
 
Posts: 3474
Joined: Sat Jul 14, 2007 7:32 am

Post » Mon Nov 19, 2012 5:07 am

Hmmm. They still behave very erratically with the sitting part. They sometimes will sit, and sometimes they won't. Once they sit, they also seem to randomly choose whether or not to stand back up a few seconds later.
The package has a simultaneous wait branch, I'll try without it and see what happens.
User avatar
Destinyscharm
 
Posts: 3404
Joined: Sun Jul 23, 2006 6:06 pm

Post » Mon Nov 19, 2012 2:52 pm

There's a vanilla package called "defaultSitLinked" or something along those lines that you could rename and duplicate. It's currently set up to work any time, but you could schedule it. You just need to add the furniture marker as a linked ref of the ActorRef. Not sure if the linked ref bit helps with the indecisiveness that your npc is experiencing, but it's working here. I did something similar with stall owners in a marketplace

- Hypno
User avatar
Sasha Brown
 
Posts: 3426
Joined: Sat Jan 20, 2007 4:46 pm

Post » Mon Nov 19, 2012 2:29 pm

Yeah, I wound up deciding to use SitTarget, as I don't have to link any refs. Helps with the indecisiveness, but one of my bandit chiefs won't sit in his chair because it is too close to the table. I think I can fix this though just by moving the chairs back from the table.
EDIT: Apparently not. He just doesn't want to sit.
User avatar
Harinder Ghag
 
Posts: 3405
Joined: Wed Jan 17, 2007 11:26 am

Post » Mon Nov 19, 2012 4:02 pm

I don't know why but seeing that linked ref arrow pointing between the npc and the furniture marker just works with my OCD :P

Give it a go. In the package you've got set up, instead of picking the "specific reference", use "linked reference". Then just double click on the bandit ref and add the linkedRef.

I've used it on my guards and they vigilantly remain on their leanMarker posts like the real ones guarding Buckingham palace that don't budge no matter what you do to them :D
User avatar
Ian White
 
Posts: 3476
Joined: Thu Jul 19, 2007 8:08 pm

Post » Mon Nov 19, 2012 11:46 am

Actually if you're linking refs you don't even need the package. You can just link refs to a lean marker and BOOM they use it.
User avatar
Kelly Upshall
 
Posts: 3475
Joined: Sat Oct 28, 2006 6:26 pm


Return to V - Skyrim