Logo135.png We're building a new wiki, so information on this page may be out of date.

We'd love for you to help us out!

FPS Effects

From SourceRuns
Jump to: navigation, search

In Half-Life 1, changing the amount of frames per second (fps) can affect various game mechanics. In this article we'll cover most of them. While it's better to use a high fps when speedrunning, it still has some downsides.
Note: To achieve most of the effects caused by changed fps, a value over 100fps will be used.
If you want to be able to override 100fps, you have to enter developer 1 and fps_max <fps> into your console. If you're running a SteamPipe HL1, don't forget to enter fps_override 1.

If you're having trouble reaching +100fps, try disabling VSync in your Graphic Card's driver properties.

Please refer to our Glossary of terms.

Scripts

Higher fps value makes the scripts run faster. For example, if you run a duck-loop script at 250fps, the script will execute more +duck commands, making you Doubleduck more times than with regular fps. The good thing about this, is that you'll be able to keep your speed for longer when Duckrolling. This also affects other scripts as well, such as Bunnyhopping script. In more complex scripts, the fps_max value is often changed to achieve the best use of the script.

Movement and Objects

One of the most noticeable effects that occur when running the game at some fps values, is the movement physics.

High FPS

Bunnyhop acceleration at different FPS values.
  • The airaccelerate is slightly bigger, so combine that with the scripts running faster, and you will be able to accelerate better while Bunnyhopping.
Graph that shows the time it takes you to make a full jump while running at certain fps.
Error creating thumbnail: /bin/bash: /usr/bin: Is a directory

Error code: 126
Plot that shows how unstable FPS values affect the player movement speed.
  • The FPS values equal to (1000 / n) where n = 1, 2, ... make the game running full-speed without any slowdowns. Here's a list of some of those values:
    • 71,4285 fps
    • 76,9230 fps
    • 83,3333 fps
    • 111,111 fps
    • 100 fps
    • 125 fps
    • 250 fps
    • 333,33 fps
    • 500 fps
    • 1000 fps

Anything between those exact frame rates makes the client behave like it's slow motion due to the movement frame time being rounded. So, for instance, if you're running at 501 fps, the movement code will think you're moving at 1000 fps thus creating a 2x slowdown.

Low FPS

  • NPCs turn faster, while with high fps it may take them a while. For example, the guard in c1a0d has to turn in order to activate the doors. With 20fps, it will take less time for him to make the turn, than running at 250fps.
  • Satchels and grenades have lower friction.
  • Better Collision Boosting speed from slanted slopes (45 fps seems to be best)
  • Walking with +use is faster with low fps; with 20 fps you can reach 200ups.
  • Less speed needed to avoid fall damage on upwards slopes. See Landing methods.

Health related

You can receive less falldamage with certain fps values. Speedrunner Oasiz made a video demonstrating this effect.

Firing rate

More accurate firing rate graph. The lower the dot is on the graph the faster your gun is firing at that fps. The graph shows that at lower fps your firing rate changes a lot more from fps to fps than at high fps, but crucially the higher speeds are all found at a lower fps.

It seems that the rate at which the 9mmAR fires depends on your fps, and that a lower fps results in a higher rate of fire. Here's a table showing the difference between fps values.

FPS Time to empty clip
20fps 20,9s
25fps 24,7s
30fps 27,3s
35fps 23,7s
100fps 22,7s
400fps 26,1s

If you want more accurate fire rate timings, take a look at the graph on the right.
The 20fps value gives you the fastest firing gun. The difference between the fastest and the values used by most people (60fps - 100fps) can be up to 0.5seconds quicker. That's about 10% quicker. For the Team Fortress Classic HWGuy's autocannon that means you can empty your clip 2 seconds quicker, which is a fair amount of damage. In Counter-strike, 10% quicker rate of fire could let you fire off that final bullet that kills somebody before they kill you. It's not a huge advantage but it certainly isn't negligable.

Personal tools