Garry's Mod

Garry's Mod

57 个评价
STStamina Neu
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 写实
文件大小
发表于
更新日期
23.170 KB
2022 年 9 月 5 日 下午 4:16
2023 年 9 月 3 日 上午 8:35
3 项改动说明 ( 查看 )

订阅以下载
STStamina Neu

在 SweptThr.one 的 1 个合集中
SweptThrone Catalogue
135 件物品
描述
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 条留言
WeasleFire 2024 年 8 月 4 日 下午 3:27 
Is this really a better version? This variant doesn't have out of breath sounds.
SweptThr.one  [作者] 2024 年 6 月 9 日 上午 11:55 
yeah
Lombaxtard 2024 年 6 月 9 日 上午 11:35 
Do you allow edits?
Letsurzik 2024 年 1 月 9 日 上午 6:54 
What is the file path to the lua file
SweptThr.one  [作者] 2023 年 8 月 19 日 下午 6:05 
no
.:System:-:Evil:. 2023 年 8 月 19 日 上午 6:55 
How can I make stamina less and it recovers more slowly?
Is it possible to make stamina be spent while walking as well?
Fizzie 2023 年 8 月 10 日 下午 10:30 
I agree with Arinone
Arinone 2023 年 2 月 18 日 下午 2:21 
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.
2Fort Crusader 2022 年 10 月 12 日 下午 12:41 
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  [作者] 2022 年 9 月 22 日 下午 12:48 
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