Jump to content

NPC Sleepwear


MrSly

Recommended Posts

I was visiting an Inn, and I noticed the Inn Keepers bed over in the corner. I came back a while later and she was sleeping in her clothes! Then I noticed my Companions sleeping in their armor (or whatever clothes they were given).

 

So I started thinking... NPC's shouldn't sleep in their armor. They should have sleepwear (chosen by the player, of course). I'm not sure how the logic flows for this part, but sometimes my Companions change out of their armor and into clothes to sleep. I think they should have specific sleepwear for sleeping.

 

So here's my idea...

When preparing for sleep:

10% chance of sleeping in current clothes/armor

If inside or using a bed

25% chance of sleeping in underwear (or nude if modded for such things)

Else

wear gender appropriate sleepwear (as defined below)

END

 

This way you don't sleep in your underwear while outside (which I'd find weird). There could be two chests/barrels/containers, one labeled MEN, one labeled WOMEN. The player would put clothes inside these containers that would be used for sleepwear. For example, the women's container could hold nighties or shirts or Huntsman Vest and maybe Doeskin Shoes; then they would wear random things from this container, one top, one bottom, and possibly footwear.

 

This way the player has control over what people wear (so they don't all wear a Fishermans Outfit), AND it will work with other mods that add new types of clothing (nighties and such) which wouldn't have to be added to each and every NPC in the game.

 

I envision the mod unequiping all clothing/armor, but leaving the rings and amulets and such. That way if the NPC has any kind of special clothing that acts as armor (Shield spell) it'll all be removed. And I believe that during the normal sequence of things, the NPC's all put their normal clothing/armor back on when needed.

 

I just thought it looked funny seeing everyone go to bed with their clothes/armor on every night.

 

I'd be willing to help with this in any way I can. I would have to learn about how scripting works and all that, but I'm willing... :biggrin:

Link to comment
Share on other sites

You can at least role-play removing your own armor when you sleep.

 

The NPC's in the game should be allowed to make up their own minds about how they feel comfortable. With thieves breaking in and pickpocketing them (not to mention the Dark Brotherhood), I'm not surprised they sleep armed!

Link to comment
Share on other sites

I have some clothing mod installed, not sure which one at the moment, and I've seen my companions change into the night clothes I gave to them. I had to take away all other clothing (not armor) for this to happen. And I've given rags to some armored NPC's, and they change clothes (most of the time) to what I gave them to sleep. So it appears that it MAY be built into all NPC's generically.

 

I don't know anything about scripting, but if it's possible to just tap into their normal scripts, and add the actions I mentioned above...

Link to comment
Share on other sites

Most NPCs don't actually have scripts, just AI Packages. And incidentally, most (if not all) "Sleep" AI packages in Vanilla are designed to have them unequip their armor before sleeping. (Putting on regular clothes instead, if they have them) Having them unequip everything takes specific scripting. Also, why would an inkeeper sleep in the nude/undies behind the bar anyways?

 

...So the armor thing is probably specifically the companions' fault. :P

Link to comment
Share on other sites

i dont think that would work IHR you would have to take her best armor off all the time and it will get quite annoying

 

Sheppard

Link to comment
Share on other sites

You're right, an Innkeeper out in a public place shouldn't be in their underwear... So maybe just forget the underwear part, have everyone just change into the player selected nightclothes. I once was at this little motel at the side of the road outside a small town, it was about 11:30pm and the "innkeeper" came to the desk in her "nightdress". Lovely... :whistling:

 

So I guess we're talking about AI packages now then? Not Scripting? I'm guessing these can be modified as well?

 

But this is what I'm talking about. Modifying the sleep AI package to select clothing from the player defined list (in the container), instead of just unequiping armor and using their default clothing.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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