Jump to content

Sleep Deprivation 1.5.1

You'll get tired and eventually pass out if you don't sleep. You can also take a nap anywhere.
   (0 reviews)

3 Screenshots

Short version:  this mod forces the player to sleep every now and then by draining cores when Arthur gets tired, doing "heavy blinks" (screen fades out for a second) and eventually passing out from sleep deprivation. It also lets you take a quick nap anywhere.


Introduction: There are a lot of awesome mods that make Red Dead 2 a more realistic and immersive experience thanks to the amazing modding community ❤️
One thing that still bothered me is that you never really need to sleep, this mod attempts to fix that.

Almost everything below is customizable in the .ini file.


What this mod does:

- After going without sleep for a certain amount of time Arthur / John becomes tired. (When your normal sleep core gets depleted)
 Being tired slowly drains your cores, you'll do "heavy blinks" (screen fades out for a second) & Arthur will make tired / annoyed sounds and the screen goes slightly blurry (optional).

- Eventually you'll pass out of sleep deprivation. (When your secondary sleep core gets depleted)
  Passing out doesn't count as a good night sleep, it'll only take you back to 'tired' state and only refills your cores to 25%.


-Ability to take a quick nap anywhere:
While you're crouching press the "menu_up" key (up arrow by default) to bring up the prompt. Taking a nap takes two hours, it refills your cores up to to 50% and takes you back to rested state, BUT it'll only take half as much time to become tired again than after resting properly. Napping has no safeguards, it's up to you to only do it at appropriate places and times!
Bringing up the 'take a nap' prompt will make your character sit down, you can also use it to sit down anywhere (even if you don't want to sleep) - just for role play reasons..


-Use stimulants to recover your sleep core and stay on your feet longer!
Drinking coffee will recover 30% of your sleep core. 
Cocain Gum, Miracle Tonic, Bitters will recover 20%.
They are on a 2 in-game hour time out, meaning after drinking coffee, drinking again within 2 hours minutes will do nothing. 
You CAN however drink coffee and take another stimulant to stack their effects.
After 2 hours you can drink again but it'll only be 50% as effective as the first one. The third one will be only 25% and so on... until you sleep.
Taking stimulants while your sleep core is full will overcharge it, so you can drink your morning coffee for full effect.


-Sleep core HUD element:
It shows you how tired are you. The normal core runs out when you reach the 'tired' state (core drain & you start blinking).
After that a second (grey) outer core will appear, when it runs out you reached the 'sleep deprived' state and you'll pass out momentarily.
You can customize the core size and position, or disable it in the ini.

To make it easier to position the sleep core you can create a new text file in your game directory and name it scriptHookRDR2.dev. After this, pressing CTRL+R twice in game will reload every mod that uses scriphook.
So you can alt+tab out of the game, modify the position values in the .ini file, *save it* then press CTRL+R twice in game and the sleep core should move to the updated position, no need to reload the whole game.


Known issues:
-The sleep core's position and size will be wrong on different resolutions. You can fix this in the ini file. 
If you find any issue please let me know!


Installation:
Download SleepDeprivation.rar, extract it and drop the files into you Red Dead Redemption 2 game folder.

You're going to need Script Hook By Alexander Blade.
https://www.dev-c.com/rdr2/scripthookrdr2/

Special thanks to opariffazman for open sourcing his work ❤️ It helped a lot to learn things about Red Dead 2 modding and snipletts of his code were used in the making of this mod!

Edited by crossed99

What's New in Version 1.5.1   See changelog

Released

Verion 1.5.1:
- Added ini options to set what percentage of your sleep core should stimulants restore, and an option to disable them completely.
- Fixed a bug that made stimulants (other than coffee) more effective then they should have been.  

  • Like 1
 Share

User Feedback

Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...