Sitting down and other things

Post » Sat Feb 19, 2011 2:44 am

Hi all,

I was wondering if it's possible to place an actor in the CS so that he is sitting in a chair? Or, o I have to place him standing somewhere and then somehow script him so that he sits in the chair when the game starts? If so, how would I indicate the specific chair I want him to sit in?

Thanks!

Cray
User avatar
Ellie English
 
Posts: 3457
Joined: Tue Jul 11, 2006 4:47 pm

Post » Sat Feb 19, 2011 8:09 am

You might be able to accomplish that with an AI package. Read over http://cs.elderscrolls.com/constwiki/index.php/AI_Package and http://cs.elderscrolls.com/constwiki/index.php/Portal:AI in general. Basically you use a package or packages to dictate how a NPC acts under certain conditions. You can set how long, what days, what month, where at etc. In tandem with markers there is a whole bunch of stuff you can use to make them do what you want. Hope this helps.
Elora Q
User avatar
Lou
 
Posts: 3518
Joined: Wed Aug 23, 2006 6:56 pm

Post » Sat Feb 19, 2011 12:29 am

Thanks for the pointer Elora Q!

I have gone through the tutorial, but sadly, I cannot get the simple patrol path to work. I'm flummoxed.
User avatar
Robyn Lena
 
Posts: 3338
Joined: Mon Jan 01, 2007 6:17 am

Post » Fri Feb 18, 2011 7:56 pm

you can try using:

AddScriptPackage

when creating your package, on package type select "use item at" and then in location select the cell you want and use the chair as reference. Though I doubt chairs have persistent references :(



http://cs.elderscrolls.com/constwiki/index.php/AddScriptPackage
User avatar
NIloufar Emporio
 
Posts: 3366
Joined: Tue Dec 19, 2006 6:18 pm

Post » Sat Feb 19, 2011 2:17 am

You just need to give him a http://cs.elderscrolls.com/constwiki/index.php/Travel_Package. Set the Location to be the chair you want him to be sitting in. That's it.
User avatar
(G-yen)
 
Posts: 3385
Joined: Thu Oct 11, 2007 11:10 pm

Post » Sat Feb 19, 2011 2:20 am

Or give them a open eat package and a food item and set a extremly long eat time, they will seek out closet chair to them, and use it once they are loaded..

Else a travel package with "must complete" checked off, target "location of chair placed in world",

Else a useitem package has well should work..
User avatar
Eilidh Brian
 
Posts: 3504
Joined: Mon Jun 19, 2006 10:45 am

Post » Sat Feb 19, 2011 3:56 am

Okay, I've been trying everything suggested and I can't get it to work. I have three chairs and three actors. The actors need to sit in specific chairs. I have gotten one to sit in the chair I want, but not the others. The way I got the one working is by creating a new chair object and referring to it by object name. The other chairs are copies of two existing objects and there is no way for me to select them in the location or target tabs. I can choose the generic object type from the "any Object" box in the Location Tab, but then the actor wanders all over the place and gets stuck behind a wall instead of sitting in the chair. What's weird is that I start the actor out right beside the chair I want him to sit in. I can make new objects for the chairs, but I would rather learn how to make the system work like intended instead of cheating.

Thanks,
Cray
User avatar
Harry-James Payne
 
Posts: 3464
Joined: Wed May 09, 2007 6:58 am

Post » Sat Feb 19, 2011 6:32 am

Okay, I've been trying everything suggested and I can't get it to work. I have three chairs and three actors. The actors need to sit in specific chairs. I have gotten one to sit in the chair I want, but not the others. The way I got the one working is by creating a new chair object and referring to it by object name. The other chairs are copies of two existing objects and there is no way for me to select them in the location or target tabs. I can choose the generic object type from the "any Object" box in the Location Tab, but then the actor wanders all over the place and gets stuck behind a wall instead of sitting in the chair. What's weird is that I start the actor out right beside the chair I want him to sit in. I can make new objects for the chairs, but I would rather learn how to make the system work like intended instead of cheating.

Thanks,
Cray


You don't need to make new objects. Double-click a chair to bring up its edit box. Check the "make persistent" box and fill in the reference ID with something that is unique to your mod. Now you can select them in the location ("Near reference") or Target tabs ("Specific reference" - this one works better for assigning particular chairs).
User avatar
CYCO JO-NATE
 
Posts: 3431
Joined: Fri Sep 21, 2007 12:41 pm

Post » Sat Feb 19, 2011 1:18 am

You don't need to make new objects. Double-click a chair to bring up its edit box. Check the "make persistent" box and fill in the reference ID with something that is unique to your mod. Now you can select them in the location ("Near reference") or Target tabs ("Specific reference" - this one works better for assigning particular chairs).


Thanks for the great tip Khettienna! I'll try it out.
User avatar
Katey Meyer
 
Posts: 3464
Joined: Sat Dec 30, 2006 10:14 pm

Post » Sat Feb 19, 2011 4:21 am

You don't need to make new objects. Double-click a chair to bring up its edit box. Check the "make persistent" box and fill in the reference ID with something that is unique to your mod. Now you can select them in the location ("Near reference") or Target tabs ("Specific reference" - this one works better for assigning particular chairs).


I did as you suggested, but the target tab is grayed out. When I click on it the contents are not changeable.
User avatar
mimi_lys
 
Posts: 3514
Joined: Mon Apr 09, 2007 11:17 am

Post » Sat Feb 19, 2011 6:51 am

I did as you suggested, but the target tab is grayed out. When I click on it the contents are not changeable.



I was using a Travel Package so I changed it to a Find package, which enabled the Target tab. However, the reference to the chair did not show up in the list.
User avatar
kasia
 
Posts: 3427
Joined: Sun Jun 18, 2006 10:46 pm

Post » Sat Feb 19, 2011 8:17 am

My apologies for being ambiguous previously. With the Travel Package, you have to use the location tab to define your target. On the left side of the location tab is the "Near Reference" section. In the first drop-down, choose the cell that contains your persistent chair. In the second-drop down, choose the chair. Or, use the "Select Reference in Render Window" button to double-click on the chair, if you have it in view.

If your chair isn't showing up in the list, or you are unable to select it in the render window from the button (the cursor never turns white when you hover it over the chair), it is because you didn't make the chair persistent.

http://cs.elderscrolls.com/constwiki/index.php/Travel_Package is the CS Wiki entry for travel packages. You can still use a http://cs.elderscrolls.com/constwiki/index.php/Find_Package if you prefer, but in this case you'll have to choose the chair in the "Specific Reference" section of the target tab - either way will get the job done the same.

Good luck! :)
User avatar
Emma-Jane Merrin
 
Posts: 3477
Joined: Fri Aug 08, 2008 1:52 am

Post » Fri Feb 18, 2011 11:47 pm

Thanks so much for the help Khettienna!

I did as you outlined and I now have my actors sitting where I want. However, an odd thing has happened. I now have doubles of both actors - one standing where I placed them in the construction set and the other is sitting. What's up with that? Any ideas?

Oh, I did try deleting the two actors from the object list. I then entered the game to see if they still showed up and there were two sitting, but their standing doubles were gone.

Cray
User avatar
Ilona Neumann
 
Posts: 3308
Joined: Sat Aug 19, 2006 3:30 am

Post » Fri Feb 18, 2011 9:30 pm

Anyone have any ideas why the doubles have have happened? I looked in the Object window at the NPC objects and the two actors have a 0 in the Count column, yet they still show up in the cell, sitting on the chairs.
User avatar
Matt Fletcher
 
Posts: 3355
Joined: Mon Sep 24, 2007 3:48 am

Post » Sat Feb 19, 2011 9:15 am

I suggest you start by opening the console and clicking on the actors to see if they're the placed original editor-placed ones or a game-spawned copy. The latter would have x'FF' as the first byte of their FormID, the former would have whatever number corresponds to the mod.
User avatar
m Gardner
 
Posts: 3510
Joined: Sun Jun 03, 2007 8:08 pm


Return to IV - Oblivion