blog




  • Essay / Adjusting the new Netcode client - 1332

    Adjusting the new Netcode clientAdjusting the new netcode (client)So you understand how the server compensates for your lag now, and... what is it? Don't you like it? Well, fear not, you can disable it just for yourself while others who play better with it can leave it enabled. Valve has included plenty of options to let you configure the netcode the way you play best. Let's get started.cl_lc X - This tells the server you are playing on whether or not you want lag compensation. If you find that lag compensation sucks for you, setting it to 0 will remove it for you, allowing you to play according to your latency. Default is 1.cl_lw X - This controls whether weapon animations/sounds are played client-side. If this is enabled (cl_lw 1), then sounds and animations are played on the client side, the moment you fire the gun (instead of waiting for the server to confirm). There are disadvantages and advantages to this. If you do not enable this option (cl_lw 0), you will see the cannon fire according to your offset, which also means you will see the cannon fire in sync with the shots. The problem is that if you have lag compensation enabled, you won't have any bullet marks to adjust your aim until it's too late. This can work against you with random trajectory weapons, such as Counter-Strike's AK-47. The problem with enabling it is that your machine has to generate a random kick and inaccuracy. As a result, the ball marks/kicks displayed will likely not match those the server randomly generates. If you fire a very inaccurate weapon (again using CS's AK-47 as an example), bullets that appear to hit might not actually hit, and bullets that don't appear to hit might end up hitting at all. way. We recommend that you leave this enabled if you are...... middle of paper ...... disabled in Counter-Strike and HLDM.hud_saytext_time XX - This is the length of time, in seconds, that messages Player chat messages remain on your screen before they scroll. Setting this number to around 20 can make team communication much more effective, as you don't always have time to notice messages as they arrive. The default is 6.hud_deathnotice_time XX - Similar to hud_saytext_time, this is the number of seconds death notices stay on your screen. Although it is normally 6, a higher setting can give you more time to notice the deaths of your teammates or important enemies. This is very useful in team games. fastsprites X - This is a useful tweak for Counter-Strike. Setting this value to 1 lowers the complexity of the smoke grenade, making it ugly, but much faster. 2 uses a different method that may be even faster depending on your machine. Default is 0, or disabled.