Garry's Mod

Garry's Mod

FPS Booster!
Zak  [developer] 3 Dec, 2015 @ 9:50am
Stuff to add
Suggest stuff to add here!
< >
Showing 1-12 of 12 comments
Global 3 Dec, 2015 @ 1:40pm 
If there's one thing I'd love to see added, it's automatic tuning. Configure settings dynamically based off of FPS. Unless these commands cause a material system reload. In that case, rip.

Oh, and you should consider adding mat_viewportscale to horid_textures. It scales down the viewport. mat_viewportscale 0.4 renders only 40% of pixels, and will stretch them to accomidate for the unrendered pixels. May make things blurry, however.
mat_viewportscale 1 is default.
Zak  [developer] 3 Dec, 2015 @ 1:45pm 
Thanks, "Configure settings dynamically based off of FPS." sounds like a lot of fun!
I guess I would have to make it change settings based on if the average fps is going up or down otherwise when you spawn a big dupe your game will freeze from the dupe and from all the settings turning off xD Might result in a crash :D

mat_viewportscale 0.4 will be added in the next update!
Last edited by Zak; 3 Dec, 2015 @ 1:53pm
Zak  [developer] 7 Dec, 2015 @ 2:20pm 
Damn
RunConsoleCommand: Command is blocked! (mat_viewportscale)
Zak  [developer] 7 Dec, 2015 @ 2:27pm 
So annoying because I just made this....

timer.Create( "automaticresolutionchangerthingy", 1, 0, function()

local screenrescalethingy = GetConVarString("mat_viewportscale")
local addscreenresolutionthingy = screenrescalethingy + "0.1"
local takescreenresolutionthingy = screenrescalethingy - "0.1"
local fpsss1 = math.Round(1/RealFrameTime())

timer.Simple( 0.5, function()
local fpsss2 = math.Round(1/RealFrameTime())

if fpsss1 < fpsss2 and screenrescalethingy != "1" then
RunConsoleCommand( "mat_viewportscale", (addscreenresolutionthingy) )

elseif fpsss2 < fpsss1 and screenrescalethingy != "0.2" then
RunConsoleCommand( "mat_viewportscale", (takescreenresolutionthingy) )
end

end )

end )

And now "attempt to call global 'RealFrameTime' (a nil value)" xD
Zak  [developer] 17 Apr, 2016 @ 2:22am 
http://wiki.garrysmod.com/page/Entity/SetLOD
Just found that, might give it a go soon.
76561198076690687 6 Jul, 2016 @ 12:32am 
a way to not make my CPU burn?
Zak  [developer] 6 Jul, 2016 @ 2:50am 
Put some ice cubes on it.
Originally posted by Hackcraft:
Put some ice cubes on it.

lol xd Do something to lower load on the processor (Like more easy AI)
Zak  [developer] 6 Jul, 2016 @ 6:13am 
Not possible
Originally posted by Hackcraft:
Not possible

what do your script do? Lowers graphics? I can do it myself and still get 10 fps with 10 civilians walking around
Originally posted by Global:
If there's one thing I'd love to see added, it's automatic tuning. Configure settings dynamically based off of FPS. Unless these commands cause a material system reload. In that case, rip.

Oh, and you should consider adding mat_viewportscale to horid_textures. It scales down the viewport. mat_viewportscale 0.4 renders only 40% of pixels, and will stretch them to accomidate for the unrendered pixels. May make things blurry, however.
mat_viewportscale 1 is default.
i have to Say YOUR PRANKED
Hannya Man 31 Mar, 2018 @ 7:13pm 
how to disable
< >
Showing 1-12 of 12 comments
Per page: 1530 50