Garry's Mod

Garry's Mod

FPS Booster!
Zak  [開發人員] 2015 年 12 月 3 日 上午 9:50
Stuff to add
Suggest stuff to add here!
< >
目前顯示第 1-12 則留言,共 12
Global 2015 年 12 月 3 日 下午 1:40 
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  [開發人員] 2015 年 12 月 3 日 下午 1:45 
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!
最後修改者:Zak; 2015 年 12 月 3 日 下午 1:53
Zak  [開發人員] 2015 年 12 月 7 日 下午 2:20 
Damn
RunConsoleCommand: Command is blocked! (mat_viewportscale)
Zak  [開發人員] 2015 年 12 月 7 日 下午 2:27 
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  [開發人員] 2016 年 4 月 17 日 上午 2:22 
http://wiki.garrysmod.com/page/Entity/SetLOD
Just found that, might give it a go soon.
me after the lobotomy 2016 年 7 月 6 日 上午 12:32 
a way to not make my CPU burn?
Zak  [開發人員] 2016 年 7 月 6 日 上午 2:50 
Put some ice cubes on it.
me after the lobotomy 2016 年 7 月 6 日 上午 4:23 
引用自 Hackcraft
Put some ice cubes on it.

lol xd Do something to lower load on the processor (Like more easy AI)
Zak  [開發人員] 2016 年 7 月 6 日 上午 6:13 
Not possible
me after the lobotomy 2016 年 7 月 6 日 上午 6:29 
引用自 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
Patrick the Legendary 2017 年 8 月 16 日 上午 3:12 
引用自 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 2018 年 3 月 31 日 下午 7:13 
how to disable
< >
目前顯示第 1-12 則留言,共 12
每頁顯示: 1530 50