Project Zomboid

Project Zomboid

Sanity B42
36 Comments
I Eat Homeless People 9 Jun @ 11:58pm 
This looks like the most badass mod ive seen for PZ in a while. I'll install it when I see the endless errors are fixed. That being said.... I fucking beg you; You should add a multiplayer feature where if someone kills another person/multiple people, that person goes insane. It'd help servers have more robbing rather than just KOS pvp.
Individual_07 30 Mar @ 8:00am 
Idea: If the Immersive suicide mod is enabled when your charecter has lost all their sanity for a long time a crying sound will play and a couple minutes later if your charecter has a gun with ammo or bleach they will end themselves for a more realistic experience of the potential effects of when one's mental state is completely ruined.

Just an idea though :)
limE_v0vveb0y_puppy_pojke 18 Mar @ 10:09am 
D: unfortunately a lot of errors
Gorgonite 12 Mar @ 2:22pm 
Endless errors at the moment
Spitdev1le 10 Mar @ 9:29am 
kind of soft locks* (sorry)
Spitdev1le 10 Mar @ 9:28am 
Hello, I'm just here to report somthing that could maybe help to upgrade the mode.
I have 2 fractured foot (bug, I fall from the 3rd floor because the ground didn't load up after the new update, nice) and since then, because of the pain even with pain killer, my sanity is at the lowest and because of that I mutilate myself every second... so not a bug or anything like that, but ... it's hard to play like that (even sleeping is...impossible...) so... could you add a med or anything to prevent this king of soft locks ?
Amazing mod by the way, it's heartbreaking to play without it.
Yandere 2 Mar @ 7:19pm 
Perhaps this problem also exists with translations into other languages.
Yandere 2 Mar @ 7:13pm 
The concept is really cool, but there are problems, at least with the translation into Russian, where there are question marks instead of letters. Please fix this if possible.
Chickenwingd 2 Feb @ 1:12pm 
This is one of the coolest mods I’ve ever seen. Keep up the great work!
VII 23 Jan @ 5:43am 
so was looking for something to this end, how hard would it be to do a similar setup like green hell did where once you loss too much sanity hallucinations attack you.
Bopin_Robin 5 Jan @ 2:47pm 
does the description mention all the Features, is it like hallucinations in lethal company or dead space?
Sco 1 Jan @ 11:05am 
thanks
ROCKY  [author] 1 Jan @ 9:29am 
I will add a setting to set how often you want the sound to have possibility of playing I've set it to every 10 mins and has 80% chance of happening so might be too much
Sco 1 Jan @ 3:55am 
I used it in my server of 15/20 people in 41, but don't exaggerate with the sound, some complained about too much noise, anyway good mod!
ROCKY  [author] 31 Dec, 2024 @ 8:21pm 
Plays sound effect when mubbling is not very good I wounldn't use it I will remove it in the upcoming updates - its basically ghostly voices, but with the voice profile in b42 I will make this option x10 better
ROCKY  [author] 31 Dec, 2024 @ 8:19pm 
I have also created a new settings in the sandbox called PlayGainDrainSanitySound, default is true. That basically plays a sounds every 30 mins depending if you lost sanity or you gain in that time
ROCKY  [author] 31 Dec, 2024 @ 8:18pm 
I've also created IK animations that now show up when you are insane and you talk
ROCKY  [author] 31 Dec, 2024 @ 8:18pm 
I have added the voices in the most recent update sorry Sco I forgot the new update has voices I can utilize in the mod - thanks for the idea
Sco 31 Dec, 2024 @ 3:30pm 
no sound?
ROCKY  [author] 30 Dec, 2024 @ 10:42pm 
SVari.playerStats = {
Primaries = {
Hunger = 0,
Unhappiness = 0,
Thirst = 0,
Fatigue = 0,
Smell = 0,
StressFromCigarettes = 0,
Infection = 0,
Sickness = 0,
Dirtyness = 0,
Poison = 0,
Drunkness = 0,
},
Multiplers = {
Pain = 0,
Boredom = 0,
Stress = 0,
Panic = 0,
Health = 0,
Wetness = 0,
Temperature = 0,
Morale = 0,
Fear = 0,
Discomfort = 0,
},
Bools = {
isReading = false,
isFishing = false,
isDriving = false,
--isSpeaking = false,
isExercising = false,
isSit = false,
isSleeping = false,
},
bDelta = {
isReading = 0,
isFishing = 0,
isDriving = 0,
--isSpeaking = 0,
isExercising = 0,
isSit = 0,
isSleeping = 0,
},
}
ROCKY  [author] 30 Dec, 2024 @ 10:10pm 
I have added buffs now so when you sleep, rest, fish, exercise etc.. you are buffed so a certain amount of time - also added posion level and drunkness make it slowdown how much sanity drains - it will still drain if your stats are bad. I also made it so that it checks where you sleep and on what quality bed that will effect sanity aswell
nigel 29 Dec, 2024 @ 11:47am 
Thank you admin!!

Even my health was maxed.(bandage cleaned on 2 wounds)
I guess it would make sense if base happiness was 100 for example.
But over 100, would result in "Positive happy" buff/moodle. Which would decay faster than regular happiness decay.

This would mean, even tho I am feeling okay, I can drink a bit and watch a movie to have A FEAKING BLAAASTT!!
It would be FUNNNNNNNN.
Rather than just being "happy 100"
And during this 100+ happy, the sanity could increase over time, if other factors are reasonable too.

But I guess that doesn't really exist in the game.
I did take sleeping pills as much as I could and slept but couldn't get my santiy over 30, because sleep limits.
It is a really good mechanic in general already tho to have sanity.
ROCKY  [author] 29 Dec, 2024 @ 11:14am 
So lets say in ur run u was barely tired, not hungry, and not thirsty thats lets say be .2,.2,.2 then dirtyness 0.7 stress from smokin lets say .2 aswell and infection if u had it a 1 and lower health lets say a .4 then that would equal 0.41 of a mean stat by itself + the secondary stats would make it go over if you was just stressed and a bit cold, to be fair now thinking about it I should debuff the secondary stat a bit more
ROCKY  [author] 29 Dec, 2024 @ 11:05am 
I will add a setting for you that will make it so that the actions and more like sleeping you can check a tickbox in sandbox to select which actions you want to regain sanity
ROCKY  [author] 29 Dec, 2024 @ 11:04am 
You can sleep which increases sanity 100% but the gain is less when u have negative stats.

these are the primary stats that influence sanity if they are not 0 they are sum up and took the mean of
Hunger = 0,
Unhappiness = 0,
Thirst = 0,
Fatigue = 0,
Health = 0,
Smell = 0,
StressFromCigarettes = 0,
Infection = 0,
Sickness = 0,
Dirtyness = 0,
And these are secondary stats that influence the sanity less but still contributing factor (1/2)
Pain = 0,
Boredom = 0,
Stress = 0,
Panic = 0,
Wetness = 0,
Temperature = 0,
Morale = 0,
Fear = 0,
Discomfort = 0,

You need to keep on top of them all, taking the smoker trait its either a curse or a blessing in disguse as it will lower you mean for primary but if you run out of ciggs u fudged - maybe this will help - I will check CDC 2 and make sure htye compatible
nigel 29 Dec, 2024 @ 10:53am 
The mod is CDC 2 https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3389707527&searchtext=cdc2

I waas expecting reading magazines, watching movies, smoking and drinking beer in general to increase sanity regardless.

It's definitely from having a bite and infection, causing panic and stuff.
As all my stats were good. (as mentioned below) read from the stats HUD mod.
ROCKY  [author] 29 Dec, 2024 @ 10:51am 
Hi Nigel which vaccine mod is it? Its possible that your Infection level is reading a high number? Also, Dirtiyness effects sanity, your health, hunger, thirst, fatigue but I will test the mod more
nigel 29 Dec, 2024 @ 7:30am 
Playing with CDC2. Got bitten, tested positive, took a vaccine.

My sanity is just decreasing over and over.
Happiness 100
boredom 0
pain 0
panic 0
stress 0
sickness 0
Anger 0
dirtinyess 0.7

Read maganzines, watched a movie, smoked a ciggie, drinking beer all the time
Ullatec 29 Dec, 2024 @ 5:27am 
Just to let ya know ROCKY, with new version the minimap works and so does the dashboard. Time to get my freak on, so to speak ;)
nigel 28 Dec, 2024 @ 4:04pm 
Erm... that sounds kinda cool, thanks
ROCKY  [author] 28 Dec, 2024 @ 3:53pm 
When you have low sanity you attract zombies by mumbling and have a chance to get a injury on limbs. Also, will take bandages off sometimes... Also, you gain rsome sanity whilst sleeping but whilst sanity moodle is visible you may wake up with more injuries...
nigel 28 Dec, 2024 @ 3:46pm 
What does sanity do when it gets low?
ROCKY  [author] 28 Dec, 2024 @ 3:09pm 
I have reworked the mod so now 0 errors. I think Ullatec why you didn't see the UI its either you were missing the MoodleFramework (dependency) or it was to do with some other mods.
Ullatec 26 Dec, 2024 @ 10:42pm 
So when i have this loaded, the minimap disapears and so does the car dashboard UI. I made sure i had the XB42 ones loaded and load order correctly. i am pretty heavly modifired (as if id do anything vanilla!). Ill try to see if i can see if its a conflicting one later on.
Ullatec 25 Dec, 2024 @ 1:06pm 
Nice. Ill be testing this out now, kindof like how i did when ya first released it, lol. I just came back to PZ for b42 so im a bit rusty.
ROCKY  [author] 23 Dec, 2024 @ 9:26am 
There is one error that pops up at start of the game is about item distribution - it must have updated how you call this. Everything else works.