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
No edit summary
mNo edit summary
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 the timing-related issues (such as the game running faster than normal) and potentially causing the game to stutter (or cause the servers to teleporting 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.}}
{{Bug|As mentioned above, running {{src|4}} game over 1000 FPS will cause timing-related issues such as the game running faster than normal.}}
Line 8: Line 8:
{{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}}
{{CCExample|If you wanted 85 frames per second, you would type in the console: |fps_max 85}}
{{CCExample|If you want to disable FPS cap, type: |fps_max 0}}
{{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.}}
{{Note|Using {{code|fps_max 0}} on GoldSrc instead make the game run at 1 FPS.}}



Revision as of 11:44, 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].

Icon-Bug.pngBug:As mentioned above, running Source Source game over 1000 FPS will cause timing-related issues such as the game running faster than normal.  [todo tested in ?]

Syntax: fps_max <frames per second>

Note.pngNote:Default: 300 FPS, 400FPS in Counter-Strike: Global Offensive CS:GO and Team Fortress 2 branch Team Fortress 2 branch.

Example: If you wanted 85 frames per second, you would type in the console: fps_max 85

Example: If you want to disable the FPS cap, type: fps_max 0

Note.pngNote:Using 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.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????