Make NPC Sleep like a vampire

Post » Sat May 28, 2011 4:05 am

how can I make an NPC sleep like a vampire, but not have the visible vampirism attributes?

Thanks.
User avatar
JLG
 
Posts: 3364
Joined: Fri Oct 19, 2007 7:42 pm

Post » Sat May 28, 2011 6:05 pm

how can I make an NPC sleep like a vampire, but not have the visible vampirism attributes?

Thanks.

Pardon me, but how does a vampire sleep? :o
User avatar
Bellismydesi
 
Posts: 3360
Joined: Sun Jun 18, 2006 7:25 am

Post » Sat May 28, 2011 8:28 am

Laid on their back, with their arms crossed.
User avatar
Josephine Gowing
 
Posts: 3545
Joined: Fri Jun 30, 2006 12:41 pm

Post » Sat May 28, 2011 5:59 am

I suspect the sleeping slab is the key, not the vampirism of the sleeper. Animation for furniture use generally depend on the furniture marker, not the user. Check the slab and see what animations are associated with it. It's probably possible to associate those with another item of furniture by switching the marker used.
User avatar
Nauty
 
Posts: 3410
Joined: Wed Jan 24, 2007 6:58 pm

Post » Sat May 28, 2011 4:21 pm

I suspect the sleeping slab is the key, not the vampirism of the sleeper. Animation for furniture use generally depend on the furniture marker, not the user. Check the slab and see what animations are associated with it. It's probably possible to associate those with another item of furniture by switching the marker used.


This is what I though as well. However, without Vampirism100 (perhaps other vampirism abilities trigger it but this is the one I've tested.) the NPC sleeps on the sleeping slab as it would in any other furniture, and with vampirism 100, the NPC sleeps on it's back, arms crossed.
User avatar
Kit Marsden
 
Posts: 3467
Joined: Thu Jul 19, 2007 2:19 pm

Post » Sat May 28, 2011 3:39 am

Laid on their back, with their arms crossed.

Kewl :D Hadn't noticed that before. All special animations & their conditions can be found in Gameplay → Idle Animations. The vampiric sleep has a condition set to it (GetVampire == 1) and it won't play if the character isn't a vampire. Now this can be fixed easily by changing the conditions OR even better; making a duplicate one that doesn't require the character to be a vampire :D
User avatar
carley moss
 
Posts: 3331
Joined: Tue Jun 20, 2006 5:05 pm

Post » Sat May 28, 2011 6:56 am

Kewl :D Hadn't noticed that before. All special animations & their conditions can be found in Gameplay → Idle Animations. The vampiric sleep has a condition set to it (GetVampire == 1) and it won't play if the character isn't a vampire. Now this can be fixed easily by changing the conditions OR even better; making a duplicate one that doesn't require the character to be a vampire :D


Since I only want this for one NPC, would it be fitting to add an OR getisid to the conditions?
User avatar
Markie Mark
 
Posts: 3420
Joined: Tue Dec 04, 2007 7:24 am

Post » Sat May 28, 2011 6:55 am

Don't trust us - try it!
User avatar
Mizz.Jayy
 
Posts: 3483
Joined: Sat Mar 03, 2007 5:56 pm

Post » Sat May 28, 2011 1:02 pm

Indeed - you learn from your failures.

EDIT: Not that I'm inclining in any way that you are going to fail :D
User avatar
ANaIs GRelot
 
Posts: 3401
Joined: Tue Dec 12, 2006 6:19 pm

Post » Sat May 28, 2011 12:49 pm

Got it working, turns out something similar is done for NPC "roderick." Thanks guys.
User avatar
Mashystar
 
Posts: 3460
Joined: Mon Jul 16, 2007 6:35 am


Return to IV - Oblivion