Garry's Mod

Garry's Mod

Simple Overheal
17 Comments
yourlocallawyer 1 Jul @ 5:42pm 
?
yourlocallawyer 1 Jul @ 5:42pm 
ew ai
Stoque  [author] 11 Dec, 2024 @ 2:58pm 
i've done some playtesting this time. And this should fix it.
dandykong 10 Dec, 2024 @ 7:36pm 
Syntax error on line 48 (the timer you just tried to fix) is now stopping the whole addon from loading.

Timers with a nil value instead of a function need to be one line. Add a right parenthesis to line 48 and delete 49 and 50.
Stoque  [author] 10 Dec, 2024 @ 10:00am 
You're a godsend. I never caught that during my play testing. I'll make the adjustments as soon as I get back home.
dandykong 10 Dec, 2024 @ 8:23am 
Health drain timer in the DrainPlayerHealth function should be:
timer.Adjust("HealthDrainTimer", delay, 0, nil)

Existing code has a bug where it loses the for loop and only affects the first player on the server. It works fine in singleplayer though...
Stoque  [author] 25 Sep, 2023 @ 5:50pm 
Most HUDs assume your max HP will be at 100 no matter what, so all they do is check your percentage of max HP and interpolate that from 0 health to get the render. But because the addon brute forces your max HP to 1,000 when pressing the +use key, it messes up the calculations.
Lombaxtard 25 Sep, 2023 @ 12:30pm 
All the HUDs I've tested this with have the same issue: if I'm holding a +use button my health bar indicated that I have 10 HP (SlateHUD, Minimal HUD), however my real health is still what it was before and I've tested that by taking more than 10HP damage
Whenever I depress +use button my HUDs go back to normal
SuperToaster 31 Aug, 2023 @ 4:10am 
Holy crap, someone using ChatGPT for GOOD purposes? Awesome addon. :bigjohn:
Stoque  [author] 30 Aug, 2023 @ 4:43am 
Gm_nexus
Garb 29 Aug, 2023 @ 9:53pm 
What map in the vid?
Stoque  [author] 29 Aug, 2023 @ 1:00pm 
health overdose (not part of the addon)
common_male_rural01.mdl 29 Aug, 2023 @ 9:48am 
did bro just die of a heart attack at the end
common_male_rural01.mdl 29 Aug, 2023 @ 9:46am 
chatGPT my beloved
Stoque  [author] 29 Aug, 2023 @ 3:13am 
ChatGPT is an excellent teacher for understanding Lua scripting. However, don't expect it to make the entire project in one question. Ask it simple phrases like, "move speed increases over time" and build on top of that. ChatGPT will tell you what it is doing and show you what the code is doing.
♡ Spooky Starlight ♡ 28 Aug, 2023 @ 9:29pm 
And would it require any coding experience?
♡ Spooky Starlight ♡ 28 Aug, 2023 @ 9:27pm 
how do you make addons with ChatGPT?