Cattle Cell

Post » Sat Aug 14, 2010 1:14 pm

I want to set up a little "pet" room for a vampire house mod I'm making. Basically, end product, I want the NPC (a Khajiit, haha!) to wander around the room and do normal things (eat, read, maybe paint or somesuch), but when the player commands them to sleep, they immediately do so. I'm sure someone out there knows how to do this... would you be willing to clue me in, too?

Thank you so much for any and all help! So grateful for this talented community! xD
User avatar
Damned_Queen
 
Posts: 3425
Joined: Fri Apr 20, 2007 5:18 pm

Post » Sat Aug 14, 2010 5:19 pm

No one? xD
User avatar
Mashystar
 
Posts: 3460
Joined: Mon Jul 16, 2007 6:35 am

Post » Sat Aug 14, 2010 3:08 am

Okay, I'm a complete noob to pretty much everything involved in the Oblivion CS, but since nobody has posted I feel obligated to attempt at helping.

Have you tried making an AI package that makes them sleep constantly? For the "result" box in dialogue (if it even still exists from Morrowind's CS) make a line of script that gives them that package. Basically, you tell them to sleep, and they do, until you tell them to wake up.

This is all theoretical, but it's the best I can do.
User avatar
Lynne Hinton
 
Posts: 3388
Joined: Wed Nov 15, 2006 4:24 am

Post » Sat Aug 14, 2010 3:30 am

that would work I think. Maybe give them the package, and have the results dialogue box make the NPC evaluate the package. the sleep package should never evaluate on it's own, and should continue when pc is near, and skip fallout behavior. However, you'll need to run another script when you want to wake the NPC up to stop the sleep package from evaluating.

There is probably an easier way to do this, I'm sure someone more experienced than I would know.
User avatar
CSar L
 
Posts: 3404
Joined: Fri Nov 09, 2007 9:36 pm

Post » Sat Aug 14, 2010 9:34 am

Just a though, I don't remember much about being a vampire besides joining the Dark Brotherhood and finishing their questline. When you activate a sleeping NPC, don't you get the option to either talk or feed? Or pickpocket or feed, and talk when not sneaking? Whatever the case, you could give the NPC specific dialogue for when it's asleep that tells it to wake up...like it's hypnotized in some sort of trance or something...your choice, but my point is maybe you could just make a topic that removes/disables the package.

If you do get it working, mind sending me the script? I'm trying to make a cattle cell, too.
User avatar
Tiffany Carter
 
Posts: 3454
Joined: Wed Jul 19, 2006 4:05 am

Post » Sat Aug 14, 2010 4:08 am

Oh, thank you for all the replies!

Have you tried making an AI package that makes them sleep constantly?


I wanted her to be like a pet instead of full-time cattle, so no, she does other things... thanks though! That would have solved the problem perfectly. xD

Basically, you tell them to sleep, and they do, until you tell them to wake up.


your choice, but my point is maybe you could just make a topic that removes/disables the package.


I think this option has the most potential with my limited knowledge... Like when I tell her to sleep, the ai package is added and that evaluates above all others, until I tell her to stop, in which case it's removed. I'll try and get on that, thanks!

<3
User avatar
Natalie Taylor
 
Posts: 3301
Joined: Mon Sep 11, 2006 7:54 pm

Post » Sat Aug 14, 2010 11:47 am

This sounds cool!
User avatar
Shianne Donato
 
Posts: 3422
Joined: Sat Aug 11, 2007 5:55 am

Post » Sat Aug 14, 2010 3:15 pm

This sounds cool!

Second! I'm making my own:) But it's a lot less complex than what we're looking at here...just a person who sleeps 24/7...I want THAT job.
User avatar
RAww DInsaww
 
Posts: 3439
Joined: Sun Feb 25, 2007 5:47 pm


Return to IV - Oblivion