Jump to content

Sleeping Animations


Recommended Posts

I've got a mod with something I'd like to fix/add on...

 

I'm running the "Nora Spouse Companion" and am liking it tons, but there's a couple areas that it falls short on and I'd like to know what I need to do to change this.

 

MIND YOU: We're not talking uploading anything to the Nexus here...the mod is years old and apparently abandoned (and I'd love to be proved wrong on this, but the posts there say it's been years since the creator of it posted anything), so I'd have zero permissions...we're talking about making some changes to MY copy of the mod for my PERSONAL game and use. That out of the way...

 

There's two things I find this mod lacking in...there's no way to give Nora a Stimpak if she gets knocked down in combat, and she has no sleeping animations.

 

Stimpaks: Either I'm missing the mark when I try, or there's no way to get her back into a fight if she falls during combat. Just need to know how to make this happen.

 

Sleeping Animations: I went digging a little bit with the GECK on this, and it seems like she didn't have any sleeping animations built in to begin with. Is there scripting involved, or can I copy/paste animations from other companions? I'd like the sleeping to kick in once full affinity has been reached. If that needs extra scripting, then just sleeping when I do in the same bed is fine.

 

Any and all help appreciated...thanks!

Link to comment
Share on other sites

Interesting, what special sleeping animations are there? If that's about regular player wake up nearby, might try to set her AV CA_IsRomantic to 1 (i've looked at the mod briefly and couldn't see it been handled). Then should be fetched as one of lovers by Followers processor after affinity reaches Infatuation (ps. normally, she must be infatuated already right at the start though? because wife? just a thought).

Edited by hereami
Link to comment
Share on other sites

there's no way to give Nora a Stimpak if she gets knocked down in combat

 

You need to add the keyword PlayerCanStimpak to Nora somehow, either through a quest alias or directly to her actor reference or actor base form.

 

she has no sleeping animations.

 

You would need to have a script, an AI package and a "eligible" bed (that has the keyword AnimFurnBedAnims, proper Interact Point, etc., easiest if you just duplicate a vanilla bed). It won't be easy if you haven't made a scripted AI mod before. You can take a look at the functions HandleOnSleepStart() and HandleOnSleepEnd() in FollowersScript, the AI package FollowersCompanionSleepNearPlayer, the keyword FollowersCompanionSleepNearPlayerFlag and reference aliases SleepCompanion and SleepCompanionBed of the companion handler quest named Followers.

 

It would work like this: use the script to activate a "sleep AI" for Nora and then move her to the bed when the event OnPlayerSleepStart() is received, then deactivate her sleep AI OnPlayerSleepEnd(). If you'd like to handle multiple companions or the player to sleep as well, it gets a bit more complicated..

Edited by LarannKiar
Link to comment
Share on other sites

Well, that's a bit more than I expected. :P

 

I'm able to place items in-game, modify stats...yah, this is above my pay grade...lmao.

 

Ah, well...thanks for the advice, folks; I'mma leave this one alone. :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...