This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.
This article's documentation is for Source 2. Click here for more information.

Fps max: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(it's just a simple cvar lol, doesn't need all the syntax explanations and examples, the bug notice is just duplicate of information above)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{this is a|console variable|name=fps_max|engine=GoldSrc|engine1=Source|engine2=Source 2}}
{{This is a|console variable|name=fps_max|engine=GoldSrc|engine1=Source|engine2=Source 2}}
This is a [[ConVar]] where you can define your '''frame rate limit'''. It is recommended that you limit them to the refresh rate of your monitor, because any frame rate above that is wasted, and could cause the monitor to have screen tearing issues, causing the systems to make coil whine noises due to higher power draw. Furthermore, having more than around 1000+FPS in a {{src|4}} games (or 100+ in {{gldsrc|4}}) will cause timing-related issues (such as the game running faster than normal) and potentially causing the game to stutter (or cause the servers to teleport you back where you should be){{ref|1}}.
This is a [[ConVar]] where you can define your '''frame rate limit'''. It is recommended that you limit them to the refresh rate of your monitor, because any frame rate above that is wasted, and could cause the monitor to have screen tearing issues, causing the systems to make coil whine noises due to higher power draw. Furthermore, having more than around 1000+FPS in a {{src|4}} games (or 100+ in {{gldsrc|4}}) will cause timing-related issues (such as the game running faster than normal) and potentially causing the game to stutter (or cause the servers to teleport you back where you should be){{ref|1}}.


{{Bug|As mentioned above, running {{src|4}} game over 1000 FPS will cause timing-related issues such as the game running faster than normal.}}
 
----
{{syntax|fps_max <frames per second>}}
{{note|Default: 300 FPS, 400FPS in {{csgo|4|nt=CS:GO}} and {{tf2branch|2}}.}}
{{note|Default: 300 FPS, 400FPS in {{csgo|4|nt=CS:GO}} and {{tf2branch|2}}.}}
{{CCExample|If you wanted 85 frames per second, you would type in the console: |fps_max 85}}
{{note|Using value 0 disables FPS cap in Source/Source 2, while in GoldSrc it will make game run at 1 FPS}}
{{CCExample|If you want to disable the FPS cap, type: |fps_max 0}}
{{Note|Using {{code|fps_max 0}} on GoldSrc instead make the game run at 1 FPS.}}
 
Quotation marks around strings are not always required, but should be used to ensure that special characters, such as spaces and semicolons, are not misinterpreted. For number-only strings, quotation marks should not be used.
 
{{note|On listen servers, going above 1000 FPS may cause pseudo-speedhacks, where time seems to have sped up. It should not happen on dedicated servers.{{confirm}}}}
{{note|On listen servers, going above 1000 FPS may cause pseudo-speedhacks, where time seems to have sped up. It should not happen on dedicated servers.{{confirm}}}}



Revision as of 11:57, 20 April 2025

English (en)Русский (ru)Translate (Translate)

fps_max is a console variable available in all GoldSrc GoldSrc, Source Source, and Source 2 Source 2 games. This is a ConVar where you can define your frame rate limit. It is recommended that you limit them to the refresh rate of your monitor, because any frame rate above that is wasted, and could cause the monitor to have screen tearing issues, causing the systems to make coil whine noises due to higher power draw. Furthermore, having more than around 1000+FPS in a Source Source games (or 100+ in GoldSrc GoldSrc) will cause timing-related issues (such as the game running faster than normal) and potentially causing the game to stutter (or cause the servers to teleport you back where you should be)[1].


Note.pngNote:Default: 300 FPS, 400FPS in Counter-Strike: Global Offensive CS:GO and Team Fortress 2 branch Team Fortress 2 branch.
Note.pngNote:Using value 0 disables FPS cap in Source/Source 2, while in GoldSrc it will make game run at 1 FPS
Note.pngNote:On listen servers, going above 1000 FPS may cause pseudo-speedhacks, where time seems to have sped up. It should not happen on dedicated servers.[confirm]

References

  1. 3klikphilip - YouTube logo 1000 FPS in CS:GO????