# ezQuake Manual: Independent physics

Amount of rendered frames per second (FPS) used to be in majority QuakeWorld clients given by the server settings. For example most QuakeWorld servers are limited to 77 FPS so you couldn't have more than 77 FPS in your game.
In modern QuakeWorld clients this was changed by Tonik in his ZQuake client and by Spike in FTE QuakeWorld. In these clients your FPS can be independent on server settings and this is usually called independent physics (see below).
We've ported Tonik's patch for independent physics because our client is originated from his ZQuake client and so is more close to ours.

## Enabling independent physics

To enable independent physics use
`+set cl_independentPhysics 1`
option in your command-line.

Then you can change the amount of rendered FPS by cl_maxfps where e.g.
`cl_maxfps 0` = no limit (use as high FPS as your hardware performance allows),
`cl_maxfps 300` = limit the engine to 300 frames per second.

Because independent physics can use full performance potential of your hardware, you might need to change client's priority so you don't get lags caused by lack of CPU time for reading mouse and keyboard states. Either do this in menu in "client priority" or by typing:
sys_highpriority -1

In case of any problem we strongly suggest you to experiment with following variables.

- pushlatency - if you have problems make sure it's set to 0 (default value)
- cl_nopred - make sure it's 0 (default)
- cl_nolerp - most users get jerky gameplay when this is set to 1 (default value). You might wish to set it to 0 (not default!).
- cl_maxfps - use a high value or 0. For LCD you might want to use a number that is not a multiplication of your screen refresh rate. E.g. 313.
- cl_physfps - we recommend cl_physfps 77 as it is current standart on most QW servers.

While the engine keeps rendering the game at (preferably) high FPS it communicates with the server like it would have been using "standart" amount of FPS. You can change this amount of fps using cl_physfps variable, e.g.
`cl_physfps 0` = the client will use highest possible framerate that the server allows
`cl_physfps 77` = the client will communicate with the server with 77 FPS.

## Changed physics

One can think that the only advantage is smoother gameplay. It is certainly the main reason why many people use independent physics but there is also another aspect why independent physics were made.
If you cannot achieve standard 77 FPS, your physics will be a little different. You may notice that if you try playing with cl_physfps 30 (or cl_maxfps 30 when not using independent physics). Your jumps (and rocket-jumps) won't be that fast and high as with 77 FPS.
At least, don't forget that even independent physics don't bring you absolutely equal physics as if you'd have been using cl_maxfps 77.

Last update: 17.02.2007 06:54 PST, made by JohnNy_cz | ezQDocs