Garry's Mod

Garry's Mod

304 ratings
Simple Physics Throttler
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Scenic, Realism
File Size
Posted
Updated
11.044 KB
11 Apr @ 7:46pm
25 Sep @ 1:08am
3 Change Notes ( view )

Subscribe to download
Simple Physics Throttler

Description
A simple throttling script which can save frames, reduce freezing, and can make the action more intense. (Similar to the space engineers system)

Benefits:
-Can make the game run smoother.
-Can stop those multi-second freezes when your potato can’t handle 10000000 NPCs.
-Can make getting into the sandbox menus smoother when frames are less than 1 per second.
-Can make multi-prop explosions and ragdoll deaths automatically 10x more awesome.

How it works for noobs: The script dynamically reduces the host_timescale convar if the game's frame rate drops behind your custom limit, effectively slowing down time so that the game can render more frames.
This is my first workshop script and I’m not a good programmer. This has not been tested for multiplayer or for use by servers, but this may change. I may expand the mod and enable linking it to other optimization scripts, we will see.

Mod can be enabled/disabled in options menu.

Highly Recommend this FPS booster

(not by me)

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1169579845

Update 10/25/25

Low quality implementation of physics_timescale throttling. More work to be done. Thanks for the suggestion. Time of future work is TBD.

Disclaimers'N'Stuff


AI Disclosure: ChatGPT was used for suggestions and assistance core concept still by me.

Special Thanks to Pinhead Larry

Original Inspiration: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=131426623&searchtext=bullet+time

Tags for shame: Optimization, Physics, Throttler, Frames, FPS, efficiency,time slow


Uploaded with gmpublisher[github.com]
51 Comments
EthicalObligation 17 Oct @ 10:15am 
The code I posted is more than enough for most people looking for timescale fps tieing. Just put it in an autorun.lua and you should be good.
iamaether 13 Oct @ 12:54am 
Please work on this addon, This addon works well and i'm not the minimum age to obtain a job to potentially gain a more powerful computer. Thanks.
Middle eastern Scoutmain 9 Oct @ 10:08am 
oh yeah AI SUX (sucks)
Middle eastern Scoutmain 9 Oct @ 10:08am 
i forgot it was a reddit ... forum link but the video still exist in youtube
Middle eastern Scoutmain 9 Oct @ 10:07am 
using chatgpt for suggestions was a SIN

i heard that only 80% of it actually is useful and from real sources (the 20% is made up and fake)

(p.s:if you wonder where i got the darn info i watched kurgezte??something something (title: having "AI SLOP" word in it) the link: https://www.reddit.com/r/mealtimevideos/comments/1o0jp7e/ai_slop_is_killing_our_channel_1213/ )
Cogs  [author] 25 Sep @ 1:37am 
I fully expect to have broken something, so just let me know.
Unami Fox 15 Sep @ 9:24pm 
If you guys don't like it then just make it yourself. (I would prob sub to that instead if its not made by a bot)
A̷r̷b̷i̷z̷y̷ 29 Aug @ 10:02am 
not bad:steamsad:
koishicat 4 Aug @ 3:36am 
just because you stated it doesnt mean these idiots can read.
Cogs  [author] 3 Aug @ 10:08pm 
@koishicat, the use of AI was stated in the Disclaimers'N'Stuff section.

It is my prerogative to work on(or not work on) the code in this addon at any given time. If someone wants to make a superior version of this addon I am not adverse to that (I would like a better version).

In terms of the phys_timescale: It does not slowdown NPCs, grenade detonation timers, and perhaps other things I'm not aware of. This means it might be less helpful in getting frames in NPC heavy battles. (though I don't fully understand the relationship between host_timescale and NPC processing) . All that being said, I think its a good idea to add an option for the addon to use phys_timescale as there are benefits to it. If/when I get around to this for this addon, is up to me. Someone may beat me to it(or not).

I will leave your comment up.

For others:

As of now I am still unsure of a method to gain all the benefits of host_timescale while also not slowing down sounds.