Jump to content

Welcome to our forums!

Sign In or Register to gain full access to our forums. By registering with us, you'll be able to discuss, share and private message with other members of our community.

Photo

Sleeping Overhaul (DOES NOT WORK WITH STEAM FFS)

Sleeping Overhaul Dragons Sleep Tired

  • Please log in to reply
104 replies to this topic

Poll: How should the menu entries look like? (130 member(s) have cast votes)

How should the menu entries look like?

  1. Show object's title - E.g.: "Sleep in Bathtub" (43 votes [33.08%])

    Percentage of vote: 33.08%

  2. Show object's comfort - E.g.: "Sleep (Comfort: 2)" (15 votes [11.54%])

    Percentage of vote: 11.54%

  3. Show both - E.g.: "Sleep in Bathtub (Cmft: 2)" (66 votes [50.77%])

    Percentage of vote: 50.77%

  4. Use vanilla entry that only shows "Sleep" (6 votes [4.62%])

    Percentage of vote: 4.62%

Vote Guests cannot vote

#1 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 23 July 2013 - 11:13 PM

Sleeping Overhaul


Did you ever want to hole up in the Pile 'o Crepes or Spiffo's Burger Joint but couldn't because there was no place to sleep? Then this mod is exactly what you are looking for. It allows you to sleep virtually anywhere (in beds, on sofas, in tents, in armchairs, on chairs, on benches, on the floor, and more...) and every object has its own comfortability levels which affect the recuperation process.
 

You too can sleep in the lovely smell of crêpe.

DBSaeHP.png


But this mod does more than adding more sleeping possibilites to the game. It changes the whole sleeping system. The player won't sleep for a fixed amount of time anymore but instead only until he is fully recuperated ... or awakened by a nightmare. You now can also sleep whenever you want - No more "you aren't tired enough to sleep" modals. Take a nap and be happy!
 

Church is closed... but open for napping.

wWpVSHb.png


There is also a chance to pass out when too tired now, so try to sleep regularly. If it happens, your character will drop to the floor and stay unconscious for a few hours. Of course this has a few repercussions so try to avoid it ... not to speak of the zombies who might munch on your brain while you are dreaming of better days.
 

Who wouldn't sleep in a fast food joint!?

v9FfUkR.png


The recuperation system is more realistic than with the vanilla sleeping mechanics. With this mod a healthy character who's very exhausted sleeps about 6 hours to be fully rested. But there are other factors that influence the recuperation time. For example being stressed will make the player sleep longer to regain fatigue, because who could sleep deeply during a zombie apocalypse anyway?

At the moment the most important factor for the sleeping time is the comfort level of the furniture (from best to worst):
  • Level 0: Beds
  • Level 1: Couches
  • Level 2: Armchairs, Tents*
  • Level 3: Chairs**, Benches, Treatment Tables
  • Level 4: Bathtub
  • Level 5: Toilet, Stools
  • Level 6: Floor
* Park Rangers have the "Camping Enthusiast"-Trait which makes tents as comfortable as beds for them.
** Security Guards have the "Chair Man"-Trait which makes chairs as comfortable as sofas for them.

Sleeping in a bed will of course offer the best recuperation, but I tried to keep the values balanced so even sleeping on the floor (without any other effects) won't be too bad. Of course I know that there are some people out there who'd prefer sleeping on the floor. For those people the values are easily changeable in the Sleeping_Config.lua file.




Some of the new modal dialogues.

f96o5FB.gif


As of version 1.1.0 there are two new traits for the Park Ranger and the Security Guard which affect the sleeping behaviour for those characters. The custom icons were made by the one and only Thuztor!
 

fshOsGc.png


Finally sleeping is affected by a multitude of factors (stats, comfortability, etc...) and there is even more stuff to come in the future! For a complete list of the current features check out the changelog below. As always crits && comments are appreciated. If you find any bugs or places where the sleeping overhaul doesn't work please report them here! Also the stats and different values aren't carved into stone. If there are issues with the balancing I'm totally open to change it.
 

Download from pz-mods.net

8o6exC7.png


The mod in action:
(ENG) Awesome showcase by Rancorist:


(GER) Great let's play by totu:


Known Bugs:
- Player starts sleeping before walking to the object (Fixed in v1.1.0)
- Fatigue is reset right after sleeping (Fixed in v1.1.0)
- Nightmares happening even when negative stats are zerored (Fixed in v.1.1.2)

Special Thanks:
EreWeGo: for all the testing and feedback!
Thuztor: for helping with the tile sheets && creating the trait-icons!
RobertJohnson: for his work and help with modding!
aricane: for pz-mods and being a nice guy!
7roses: for helping me figure out the overriding stuff!
... and finally all the people I forgot :)

Changelog
Spoiler

  • RobertJohnson, nasKo, Ludio Ludius and 9 others like this
“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#2 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4732 posts

Posted 23 July 2013 - 11:15 PM

Great to see all of your awesome mods here, Mat.


  • RoboMat likes this
"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#3 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 23 July 2013 - 11:17 PM

Great to see all of your awesome mods here, Mat.


That was quick haha :) Thanks Rathlord!

I wish I could've released the Sleeping Overhaul (or at least an early version of it) today :(
Hopefully I can finish it tomorrow.
“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#4 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4732 posts

Posted 23 July 2013 - 11:22 PM

We'll be looking forward to it!


"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#5 H_Bomb

H_Bomb

    BOOM!

  • Banned
  • PipPip
  • 24 posts

Posted 24 July 2013 - 09:33 AM

Now let us sleep on the floor, in trees, and under Dumpsters.



#6 datkid

datkid

    "OOO AH AH-AH!"

  • Members
  • PipPipPip
  • 783 posts

Posted 24 July 2013 - 09:57 AM

Good work :)


Give the time, some time.


#7 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 24 July 2013 - 10:06 AM

Now let us sleep on the floor, in trees, and under Dumpsters.


In trees and under Dumpsters?

Well actually sleeping (passing out) on the floor is one of the things I want to integrate.

Good work :)


Thanks! <3
“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#8 Rathlord

Rathlord

    "The Expert"

  • PZ Support Team
  • PipPipPip
  • 4732 posts

Posted 24 July 2013 - 08:22 PM

Sleeping anywhere is planned for the final game, also. Just one of those things we may need to wait on XD


"You owe us an ending!"
 
'I owe you nothing. I am a dungeon master. I create a boundless world, and I bind it by rules. Too heavy for a bridge? It breaks. Get hit? Take damage. Spend an hour outside someone's front door, fighting over who gets to kill him? He leaves through the back.'

#9 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 28 July 2013 - 09:36 PM

UPDATED TO VERSION 1.0.0

Features as listed below:

  • Added chance to pass out when too tired.
    => player will stay unconscious for a random amount of hours
    => passing out will only restore a small amount of fatigue
    => passing out will make you unhappy :(
  • Added options to sleep virtually anywhere:
    => on the floor
    => on beds
    => on sofas
    => on armchairs
    => on chairs
    => on benches
    => on treatment table
    => on crafted chairs
    => on stools
    => differentiates between a total of 291 tiles
  • Each object has a different level of comfortability
  • Sleeping has no fixed length anymore
    => instead player will sleep until being recuperated
    => small chance to wake up early when sleeping stressed (due to nightterrors)
  • Recuperation is affected by comfortability and certain stats
    => Nightowl Perk will reduce recuperation time
    => Stress will increase recuperation time
    => Lower Comfortability will increase recuperation time
    => Having a pillow in the inventory will reduce recuperation time
  • Player can take short naps even when not tired
  • Player walks to object to sleep
  • Tweaked ISModalDialog to prevent modals from being displayed offscreen
  • Tweaked ISWorldObjectContextMenu to deactivate the vanilla sleeping option

  • Dr_Cox1911, EreWeGo, Aricane and 2 others like this
“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#10 Aricane

Aricane

    Eater of the Stone

  • Members
  • PipPipPip
  • 363 posts

Posted 28 July 2013 - 09:42 PM

This is...so awesome! Mat, have a clyde  (clyde) and a hug.. and yet another clyde  (clyde)


  • RoboMat likes this

Hey! Please consider submitting your precious mods to pz-mods.net! Thank you, thank you, thank you!
pz-mods.net - for mod lovers, by mod lovers. Guides, news and crispy mods!


#11 EreWeGo

EreWeGo

    Just Relax. Just Relax. Breathe.

  • Members
  • PipPipPip
  • 365 posts

Posted 28 July 2013 - 09:46 PM

Great work Mat, can't wait to try out this latest version, love the changes listed!  :)



#12 Dr_Cox1911

Dr_Cox1911

    Board Certified Quack

  • Members
  • PipPipPip
  • 212 posts

Posted 28 July 2013 - 09:49 PM

This is just awesome!

Will test this tomorrow.


Visit the german PZ-Community!

*If my post is completely bollocks then I´m online with my phone or drunk (and sometimes both)  :mrgreen:


#13 Aricane

Aricane

    Eater of the Stone

  • Members
  • PipPipPip
  • 363 posts

Posted 28 July 2013 - 10:07 PM

Two things I noticed so far. You can sleep after you woke up, meaning if you're well rested at 2 am, you can keep on sleeping. Is that intented? Another thing is the modal windows seems to appear near the cursor rather than in the center of the screen.


Hey! Please consider submitting your precious mods to pz-mods.net! Thank you, thank you, thank you!
pz-mods.net - for mod lovers, by mod lovers. Guides, news and crispy mods!


#14 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 28 July 2013 - 10:13 PM

Thanks for the feedback.

Both are intended. The "napping" can be used to forward time a bit, because in real life you can stay in bed too if you are too lazy to get up ^^

I might change the modal position if people don't like it that way. I thought that having it at the cursors position would feel more "natural". If people don't like it, it wouldn't be a big issue to bring it to the middle ;)
“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#15 lemmy101

lemmy101

    Co-Founder, Developer

  • PZ Dev
  • PipPipPip
  • 1179 posts

Posted 28 July 2013 - 10:40 PM

Wowzers! This is amazing!


  • Rathlord and RoboMat like this

#16 Kajin

Kajin

    Fluffy Bunny of The Buttercup Meadow

  • Members
  • PipPipPip
  • 1205 posts

Posted 28 July 2013 - 11:27 PM

I should probably start using mods... This would be awesome.


I'm not in this for your gaming revolution. I'm just here for the sweet pixelated monies.

#17 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 29 July 2013 - 04:41 AM

Wowzers! This is amazing!


Thank you very much lemmy! (clyde)
 

I should probably start using mods... This would be awesome.


What holds you back? :)


“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#18 Kajin

Kajin

    Fluffy Bunny of The Buttercup Meadow

  • Members
  • PipPipPip
  • 1205 posts

Posted 29 July 2013 - 04:44 AM

What holds you back? :)

Laziness.


I'm not in this for your gaming revolution. I'm just here for the sweet pixelated monies.

#19 RoboMat

RoboMat

    Modder of Wheelie-Bins

  • Moderators
  • PipPipPip
  • 2721 posts

Posted 29 July 2013 - 06:59 AM

Laziness.


... my worst enemy.
“Shallow men believe in luck or in circumstance. Strong men believe in ZombRand().” ― RoboMat W. Emerson
Check out my mods on pz-mods.net.

#20 kinyoshi

kinyoshi

    The "Mad Magpie" Modder

  • Members
  • PipPipPip
  • 688 posts

Posted 29 July 2013 - 09:59 AM

Amazing RoboMat.

 

I petition and vote for The Indie Stone to hire RoboMat as a developer.

 

 

And RoboMat? What's with the dragons? Is it a Magic Dragon named Puff? Or his cousin named Pass?


  • ROFLMAOmatt likes this

With my Pistol Whipping Mod, you can add Kitten Knives to the Shotgun to make slice and dicing blunt weapons! Check it out!!

Check out my Project Zomboid Mods at PZ-Mods OR on the forums here in the Completed and WIP Sections!!!!






Also tagged with one or more of these keywords: Sleeping, Overhaul, Dragons, Sleep, Tired