Project Zomboid

Project Zomboid

Pass out
108 Comments
Voxel | Julia 13 Jan @ 10:48pm 
Hi. Do you plan to update to build 42? If so, do you plan to do so soon, or only once a stable release is out?
Great Disnub 11 Dec, 2024 @ 11:04am 
Thats what I figured, but thank you!
DahakaMVl  [author] 11 Dec, 2024 @ 12:37am 
@Great Disnub Honestly, I don't think thats possible, but when I update the mod for Build 42, I'll think about it.
Great Disnub 10 Dec, 2024 @ 4:19pm 
First off, amazing mod, honestly not sure why this isn't an option in vanilla. Secondly is there any chance that its possible to make it so the mod will use nearby furniture for sleeping. I tend to read books if its too early for me to want to sleep, and being able to park myself next to a bed and use that when I pass out would be great. Though this obviously really only applies if/when you plan to update this mod for build 42. Thanks!
jlcarneiro 9 Oct, 2024 @ 8:18am 
Great idea! Congrats! I didn't quite get the explanation of the Randomness though:

1.0 means from 0 to 2 and 0.5 means from 0.5 to 1.5?!
EvilNecroid 5 Sep, 2024 @ 6:00am 
so zombies dont eat u while passed out at there feet?
DahakaMVl  [author] 7 Aug, 2024 @ 9:56am 
@ChicaV When deleting a Mod always check for it's entry under "SteamWorkshop" and "Mods" on the server.
ChicaV 21 Jun, 2024 @ 2:51pm 
I have added this mod to my server, where I had established that the day should last 2 hours. Since then, the characters get tired and fall asleep too soon, as if it was an hour long day. I tried to fix it by deleting the mod but it didn't worked, and as it didn't fix it, I did a hard wipe, but these problems have persisted. any idea what I can do?
DahakaMVl  [author] 17 Jan, 2024 @ 1:38am 
@BumbleBode I used some online Pixel Art Upscaling Algorithm (XBR/HQ/LQ). Don't remember which algorithm I used.
BumbleBode 16 Jan, 2024 @ 2:58pm 
How'd you make/get that smoothed out moodle? I know it's sorta irrelevant, but I'd like to know :demoticon:
Zefiruz 11 Jan, 2024 @ 12:20pm 
Mods que deberían ser vanilla.
Comatose 1 Nov, 2023 @ 5:40pm 
okay so the other day I ran an agoraphobic sleepyhead and was trying to clean a building when I got mobbed and JUST about made it out, after that I started passing out and after the circle closed in completely I resigned to my fate, however agoraphobic doesnt let you sleep outdoors so instead a nightmare scenario started, like honest to god nightmare made it to a safe house and fell asleep after going to loot the zombies I killed while escaping I noticed that the were not as many as I had killed in the nightmare, so iDk neat mod
Captain Tofu 15 Aug, 2023 @ 3:26am 
I am lying in a bed and pass out - is bed quality or the fact, that I am lying in a bed taken into account?
Croctus 25 Jul, 2023 @ 5:09am 
Is there a sandbox option or a .json file I need to change to use this? When the "you are passing out" message comes up and the dark circle closes in, I just get a message that says [not safe to sleep here] then the dark circle goes away. No error box in the corner or in the log files. Defeats the point of why I'm interested in this mod. I want my character to pass out even if it's dangerous.
Fat Stupid 15 May, 2023 @ 8:45pm 
immersive medicine adds a blood pressure system, would be cool to see a patch for compatibility between these...
Liberian Batman 31 Mar, 2023 @ 10:42pm 
This doesn't seem to work for me. I get the message telling me I am passing out and the circle starts closing in around me, but after that nothing actually happens.
melixrism 21 Feb, 2023 @ 11:52am 
i really wonder how this works in multiplayer
Gyropilot 15 Feb, 2023 @ 9:43am 
Wait. Soon after my survivor did manage to pass out. Was this effect intended?
Gyropilot 15 Feb, 2023 @ 9:36am 
My survivor is so tired, hurt and freaking out they are hallucinating IMGUR [imgur.com]
Not sure if a bug or a feature, but I like it. It fits them. They have many phobias, is probably infected, is watching over their sholder lying on a corner with a bloody baseball bat having the worst time of their life
My guess is they are trying to pass out but the panic generated is greater than this mod reduces before passing out. I have many mods
Trippy [imgur.com]
Rogue45 11 Feb, 2023 @ 12:13pm 
Is this safe to add to an active save?
sam 7 Feb, 2023 @ 9:22am 
Wait, this isn't how it works by default? Nice mod, assumed this was already base game.
holapd 4 Feb, 2023 @ 12:29am 
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1675498194617> 8,725,949,822>
holapd 4 Feb, 2023 @ 12:28am 
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:65)
at zombie.GameTime.update(GameTime.java:680)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
holapd 4 Feb, 2023 @ 12:27am 
I found an error while playing on the server
function: passingOutRoutine -- file: Pass_Out.lua line # 5 | MOD: Pass out

ERROR: General , 1675498189098> 8,725,944,304> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __add not defined for operands in passingOutRoutine at KahluaUtil.fail line:82.
ERROR: General , 1675498189099> 8,725,944,304> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __add not defined for operands in passingOutRoutine
PAИJICO 3 Feb, 2023 @ 3:33pm 
I admit that your mod is closest to the concept of "brutally wounded" from the most popular rp servers of other platforms, would you be able to create a mod where a player after being killed by another player only loses consciousness for a fixed amount of time? (with the effect of visibility for a very short distance and a certain time in sandbox settings)

Such a mod would be very useful at the zomboid workshop, so I am asking as one of many :D

(I was also thinking about the option of searching an unconscious player with his consent, but that's probably a higher driving school)
Макс 21 років 3 Feb, 2023 @ 9:36am 
Greetings from Ukraine! Thank you very much for a great and convenient mod.
I would like to translate this mod into Ukrainian

Download this rar archive via Google Drive and follow this instruction
{LINK REMOVED}

So to add a translation, you need to create a folder called shared under the path {LINK REMOVED}.
In the shared folder, you need to create a "Translate" folder.
And only after that, you will need to unzip the UA folder, where the translation itself is located, into the Translate folder.
Everything is ready! If there are any problems, you can write to me in PM or in Discord Макс 18 років#5884
Mega 29 Jan, 2023 @ 6:39pm 
Will be great if a friend can carry with you to safe
CometCon 22 Jan, 2023 @ 3:44am 
I noticed you somehow never died to the zombies who found you while you were passed out. Is that part of the mod or just happened that way by coincidence every time in the demo?
Solstice Initiative 31 Dec, 2022 @ 11:19pm 
I'm not gonna sugarcoat it
Agoraphobic + Adrenaline Junkie + Adrenaline mod + Night Owl + Wakeful
Agaros007 17 Nov, 2022 @ 8:01am 
@DahakaMVl as @tCrowD already mentioned:

in multiplayer players are able to wake up whenever they want, so they can just ignore passing out feature, that's sad

Is it possible to prevent this? So if player is passed out he can't just press "W" and wake up again?

Any Chance we get this?
Retour du Roi 25 Oct, 2022 @ 4:32pm 
My character stopped sleeping for 3 days or more, don't ask how.
Negative Ramos 18 Oct, 2022 @ 11:21am 
@KingChonker

P A N I C I S K E E P I N G Y O U A W A K E
DahakaMVl  [author] 18 Oct, 2022 @ 4:38am 
@KingChonker This looks hilarious but likely some graphics glitch not related to the mod. :D
KingChonker 17 Oct, 2022 @ 10:52pm 
Any reason this mod showed me what hell looks like when I used it to force my claustrophobic character to sleep? Does anybody know what this is?
https://gyazo.com/31c32af1f2a03b5328c6a885658b6416
Zorlond 13 Oct, 2022 @ 8:46am 
Is there any version that makes ya pass out from too much pain? More Traits recently came out with a Burn Ward Patient trait (entire body covered in Burn injuries), and I would think cleaning and caring for all that would make most people pass out. : /
tCrowD 10 Oct, 2022 @ 8:10am 
Oh, I think they are compitable, but in multiplayer players are able to wake up whenever they want, so they can just ignore passing out feature, that's sad

Is it possible to prevent this? So if player is passed out he can't just press "W" and wake up again?
tCrowD 10 Oct, 2022 @ 2:33am 
Is it compitable with "Sleep with friends"?
darkArt 29 Sep, 2022 @ 3:28am 
@DahakaMVl It sure helped, thanks
DahakaMVl  [author] 29 Sep, 2022 @ 2:06am 
@Artemist If you set the time to pass out after having max tiredness to 5 hours and set the randomness to 20% it means that the pass out time can deviate by up to 20% of 5 hours. This means the pass out time will be anywhere between 4 and 6 hours. Hope that helps :)
darkArt 28 Sep, 2022 @ 4:05pm 
I still don't really understand the math behind the randomness factor, could you explain it in more detail?
RamboTurkey 28 Sep, 2022 @ 3:46pm 
understood
DahakaMVl  [author] 28 Sep, 2022 @ 2:54pm 
@RamboTurkey First would be another mod, second one is something I'm considering for an update.
RamboTurkey 28 Sep, 2022 @ 1:41pm 
do you have any intrest in adding panic causing heart attacks and high levels of pain causing you to pass out from shock
p6kocka 25 Sep, 2022 @ 9:56am 
Understood. It would be much better with falling down animation and the fancy fading effect. Though, I understand that waking up lying under the feet of zombies would equals a death sentence...
DahakaMVl  [author] 25 Sep, 2022 @ 6:07am 
@p6kocka for now he is sleeping standing. Will fix that in the next update, but currently very busy.
p6kocka 25 Sep, 2022 @ 5:31am 
Does the character fall down when passing out? Or is he sleeping standing?
DahakaMVl  [author] 25 Sep, 2022 @ 2:41am 
@Hazy Lunar Sounds fine to me :)
Stormbox 25 Sep, 2022 @ 12:09am 
Hello! :scBunnygirl:
I am the owner of a small community and would like your permission to place any of your mods in a modpack for my server. Naturally, I'll credit you as the original owner of your mods, along with linking your mods to refer others to their workshop page. Thank you in advance! :scWitch:
DahakaMVl  [author] 20 Sep, 2022 @ 1:02am 
@Notloc Thanks a lot :)
Notloc 19 Sep, 2022 @ 7:43pm 
Hey Dahaka! Sorry for the slow response about compatibility with Adrenaline.

Instead of reading the moodle level, you could read the exact fatigue value using:
playerObject:getStats():getFatigue()

This gives you a number between [0, 1.0]
The max level of the tired moodle occurs when fatigue >= 0.9

For compatiblity with adrenaline, I store how much fatigue has been reduced in a global variable in the player mod data:
playerObject:getModData().adrenalineFatigue

so this code would give you a proper reading of the players fatigue (with or without adrenaline) to base your pass out logic on:

local effectiveFatigue = playerObject:getStats():getFatigue()
if playerObject:getModData().adrenalineFatigue then
effectiveFatigue = effectiveFatigue + playerObject:getModData().adrenalineFatigue
end