Garry's Mod

Garry's Mod

52 ratings
STStamina Neu
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Realism
File Size
Posted
Updated
23.170 KB
Sep 5, 2022 @ 4:16pm
Sep 3, 2023 @ 8:35am
3 Change Notes ( view )

Subscribe to download
STStamina Neu

In 1 collection by SweptThr.one
SweptThrone Catalogue
135 items
Description
A better simple yet effective stamina system.

//

My original stamina addon, STStamina, was poorly-made. I've been sitting on this version for a while and today, I'm releasing it.

STStamina Neu adds a custom stamina system to your Garry's Mod game.

What's different from STStamina?
Nothing the average player will notice. If you're not an average player, this version uses Move hooks instead of setting walk and run speeds. This version also includes some functions for developers to use.
This version replaces the Stamina Pill entity with a Stamina Shot weapon that's much more convenient and viable.

When a player sprints, their stamina will decrease. Jump to take out a big chunk of stamina. Swim around and watch your stamina drain. Stand still or shoot up some Liquid Stamina™ to regain your stamina. If your stamina is below 25, you character's movement speed will be decreased, and your ability to jump will be gone.

This addon adds a simple, non-intrusive HUD. However, if you still prefer your game without it, use Lua to remove the HUDPaint hook "DrawST2StaminaHUD".
For developers: This addon has some custom functions to use. Find them here[docs.sweptthr.one].

This should work on all gamemodes that support sprinting.

I made this because my last version of this addon was coded very poorly and I wanted to fix it.


[sweptthr.one]

Credits:
Me - Code
27 Comments
WeasleFire Aug 4, 2024 @ 3:27pm 
Is this really a better version? This variant doesn't have out of breath sounds.
SweptThr.one  [author] Jun 9, 2024 @ 11:55am 
yeah
Lombaxtard Jun 9, 2024 @ 11:35am 
Do you allow edits?
Letsurzik Jan 9, 2024 @ 6:54am 
What is the file path to the lua file
SweptThr.one  [author] Aug 19, 2023 @ 6:05pm 
no
.:System:-:Evil:. Aug 19, 2023 @ 6:55am 
How can I make stamina less and it recovers more slowly?
Is it possible to make stamina be spent while walking as well?
Fizzie Aug 10, 2023 @ 10:30pm 
I agree with Arinone
Arinone Feb 18, 2023 @ 2:21pm 
Greal addon, but would be a LOT better if there's full in-game customisation, like CVARs (console commands) or a menu in 'Utilities' tab with configuration slidebars.
man who strangles w/ one hand Oct 12, 2022 @ 12:41pm 
is there an option to decrease the stamina going down or in simplier terms, is there a option to make it to where you can sprint longer
SweptThr.one  [author] Sep 22, 2022 @ 12:48pm 
also @CollChuuk i looked into that conflict and switched a hook so it works now. other things may break now but i'll await further