Jump to content

How to edit the healing properties of sleeping?


Mattressi

Recommended Posts

I'm trying to find where the healing properties of sleeping are in the GECK. I'm specifically looking to enable sleep healing for hardcore mode (especially restoring limb condition).

 

I'm working on making a hardcore mode rebalance. I don't like that eating or using a doctors kit heals you instantly, but sleeping does not. I've stopped healing from eating and I'm working on making it so that if you sleep without using the doctors bag, you won't heal limb, but if you sleep after having used it, you will slowly restore limb condition.

 

So, how would I modify the sleep healing parameters (I feel like I've looked everywhere, but can't find it), how do I enable healing from sleeping in hardcore mode and is there a way to make limb healing work when sleeping, but only to heal them slowly? If not, is it possible to slowly restore limb condition over time, like the Rad Regeneration perk from Fallout 3; except slower than the healing with Rad Regeneration and without it fixing a crippled limb - just a damaged limb? From what I can see, Rad Regen has a value of 1 and an unlimited duration: does that mean that it already heals at the slowest rate possible (I can't give it a number less than 1, so I'm assuming so).

 

I've searched all over (googling, on the GECK site and just browsing through the GECK); so any help would be greatly appreciated. Thanks :)

Edited by Mattressi
Link to comment
Share on other sites

Here is a mod that should help you out. I used it as a basis for my own personal game mod which also decreases the dehydration and starvation effect when sleeping. I always thought it was strange how when I slept for 8 hours I would wake up and almost be dead from dehydration and starvation. A Good Nights Sleep

 

Thanks for that. Is there some way to view the exact files changed by a mod? I'd love to see which files the creator of that mod changed.

 

 

Edit: I used FNVEdit to find the modified files. Seems the creator used a script to do it. I might just try that. Thanks :)

 

If anyone know any way to edit the original sleep healing, could you let me know? If not, I might try to just script around it.

 

Edit #2: OK, I'm stuck already. The creator of that mod was using 'Player.RestoreActorValue Health' to restore health while sleeping. This restores health, but not limb condition AFAIK. I can't find on the GECK site a command to go with 'Player.RestoreActorValue' (instead of health) which will heal some limb condition. Anyone know how to?

Edited by Mattressi
Link to comment
Share on other sites

Go to the Stats List page and look at the section Derived Statistics.

 

THANK YOU! I looked over that page briefly before, but I was looking for "Limb" or similar things - certainly not PerceptionCondition, etc! The only reason I found it then was because I was determined to go through each stat line by line before coming back here and making a fool out of myself, lol. Thanks very much for that - I've now got a basic script going and I'll work on improving it later.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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