Garry's Mod

Garry's Mod

Oxygen and Stamina System (And Flashlight Battery)
138 Comments
Nexonix Aug 20 @ 9:56am 
Is there a command to make pill packs have no stamina?
average овош Aug 18 @ 6:11am 
how can i turn it off only to me but another players will still have stamina system?
dinogutt Aug 1 @ 8:37am 
Can you add a option that allows draining flashlight battery to restore shield or the charge in energy-powered weapons (like those often found in halo packs)
Sanders Jul 28 @ 1:37pm 
i have it set so we could use the stamina for "100 seconds" yet running and timing its no more then 15 sec why?
egeops123 Jul 27 @ 7:01pm 
where is slider
egeops123 Jul 27 @ 7:01pm 
solid wdym?
solid12 Jul 27 @ 2:20pm 
I pressed Mouse 3 on the slider and it set it back to default
egeops123 Jul 26 @ 12:58pm 
creator please answer my question any time i really want get chased with this mod
egeops123 Jul 26 @ 12:36pm 
i need an emergency help please someone tell me
egeops123 Jul 26 @ 12:26pm 
yo guys how do i fix my stamina system to original settings because i played with settings.
NyanCatGamer02 Jul 13 @ 7:16pm 
There could be any way to fix the drowning feature that won't regenerate the lost health after drowning?
NyanCatGamer02 Jul 13 @ 12:05am 
oh my god, I never knew I needed this until I subscribed to it, great job!!!
CyanStar Jun 11 @ 12:10am 
I love this addon, with my only real suggestion being maybe a way to assign different values for each slider to different players like you run out of stamina faster but others run out slower. Idk how difficult that would be to code tho-
sleepingpilot May 3 @ 3:46pm 
actually really underrated
MonoBoca Feb 7 @ 8:17pm 
i cant save configs:steamsad:
Sevka Slav Jan 27 @ 4:01pm 
meh fine, btw this mod of yours is hella cool, saying this so you feel good
is it possible someday for you to add UI modifications to it? I would like it to look more gritty and STALKER 2 like or dark instead of cartoony blue and green, not that I have a problem
Rad Poseidon  [author] Jan 27 @ 2:08pm 
I'm saying that it's on the creator of that mod. The code isn't open source so I'd have to unpackage it, and I don't think it's worth it to add compatibility for a specific mod when the developer of that one could have and should have just edited the player metatable to modify Player:FlashlightIsOn()
Sevka Slav Jan 23 @ 4:29pm 
... no I swear it does not use up the battery, besides I noticed this mod all it does is just paste a flashlight texture... which kinda sucks... but the animation is great
Sevka Slav Jan 23 @ 4:25pm 
wait, oh... sorry, hmm I don't know, when I used this, the flashlight battery hasn't gone done
Sevka Slav Jan 23 @ 4:25pm 
are you saying you could make a compatibility for this?
Rad Poseidon  [author] Jan 23 @ 4:08pm 
This addon uses GMod's default flashlight hooks to work. It's entirely possible for that mod to tie into them instead, which is what they should do.
Sevka Slav Jan 22 @ 12:11am 
is there any way you can make it compatible with this? https://steamcommunity.com/sharedfiles/filedetails/?id=2778699319&searchtext=flashlight+battery With this mod when I turn on the flashlight it doesn't drain battery
Rad Poseidon  [author] Dec 26, 2024 @ 9:11pm 
Looks like TFA's old cbobbing. There are several reuploads
PixelPreasure Dec 26, 2024 @ 12:23pm 
whats the viewbobbing addon?
Corcho Nov 30, 2024 @ 1:57pm 
can hud you're using?
Rad Poseidon  [author] Sep 17, 2024 @ 10:10am 
All of the gameplay values are server-sided, hence why they are prefixed with sv_
Domi Gamer Sep 16, 2024 @ 10:07am 
And if you run this addon on the server, then all players have different stamina settings? Or is the server admin responsible for setting stamina for all players?
MERCY_ALL Apr 20, 2024 @ 10:41am 
fun fact: if you set the width and height to 0 you just got the %
AzureAsher4544 Apr 13, 2024 @ 10:24am 
the position
AzureAsher4544 Apr 13, 2024 @ 10:22am 
how do i reset the things
Rad Poseidon  [author] Feb 25, 2024 @ 12:04pm 
That is a plan, I sort of whipped out this current version over the summer when I had some time from school, as you can tell the O2 tank item is kind of buggy and incomplete.
It'll get updated again eventually, I haven't abandoned it, it's just more like the mod is on standby for the time being.
Fredrick Feb 18, 2024 @ 11:40am 
I recommend adding in batteries to restore the flashlight's power by half in case the flashlight never recovers over time.
Olly Jan 28, 2024 @ 4:19am 
The bars are all stuck empty for me despite the bars showing 100. any ideas why?
Coffee Jan 19, 2024 @ 9:01am 
realistic!
wiimeiser Dec 28, 2023 @ 6:47pm 
Might be a conflict with something Jmod added. I know it added nutrition and scrounging recently.
Smug Corvo Dec 28, 2023 @ 10:37am 
For some reason, this mod paired with JMod prevents me from sprinting
YOU Dec 3, 2023 @ 7:28pm 
thanks, maybe try improving the aspects you dont like about it if you want to. :steamthumbsup:
Rad Poseidon  [author] Dec 3, 2023 @ 10:53am 
Old HUD I made. It's not very good, at least in my mind, but it is on my profile.
YOU Dec 2, 2023 @ 6:43pm 
whats that hud
Jesiel61 Nov 30, 2023 @ 2:13pm 
i have some ideas for this addon, for the stamina bar there could be like a few different versions of it to look different since the one that we have is fine it's just kinda plain same for the oxygen meter maybe there could be alts like a oxygen tank or a bubble that would be cool, and for the flashlight maybe the meter could just be a battery or a flashlight and maybe you could add a thing that when your underwater bubbles come out of your playermodel's head area and you can control how much appear and that's all the idea's i have for this!
#1 Hrvatski Domoljub Nov 10, 2023 @ 8:05pm 
Awesome mod!!! Recommend this mod to any gmod realism enthusiast!
5_Cell Oct 21, 2023 @ 5:21pm 
dell you really popped off with this one i never knew you were steam workshop famous
Lunelle Sep 20, 2023 @ 2:35pm 
i wish it looked like the vanilla half life 2-esque hud style
Fizzie Aug 25, 2023 @ 5:21pm 
@Sargasm
I don't think this mod gives a blurred screen effect, even if you run out of stamina.
I've been using this mod for a long time, so you might be experiencing something from another mod.
Mental Aug 25, 2023 @ 4:06pm 
no matter what I do with the values, even if I dsable everything, the screen stays blurry like I'm tired
findecisive Aug 24, 2023 @ 2:05am 
just raise sv_oxygen_maxoxygen
prototype money stock broker Aug 14, 2023 @ 8:37pm 
something you recently changed made oxygen deplete way faster
VintageDegenerate Aug 12, 2023 @ 2:41pm 
Might also be something on my end, but it's worth a try regardless
VintageDegenerate Aug 12, 2023 @ 2:41pm 
For those of you who still can't fix it, just make the cost values the tiniest bit below 1. Apparently if a cost percentage is 1, you can't start running.
Rad Poseidon  [author] Aug 12, 2023 @ 12:43pm 
Just published a small fix, may take a little while to go through.
I changed all of the convar defaults to something that should work better, and I've also changed the networking to 32 bits (max of 2,147,483,647) which I think should come out to around 25 days worth of sprint stamina. If you need to sprint longer than that I recommend going outside and or just disabling stamina. Whichever is more convenient.