Topic > Optimize the new Netcode Client - 1332

Optimize the new Netcode Client Edit the new Netcode (Client) So you understand how the server is compensating for your delay now, and... what is it? Don't like it? Well, fear not, you can turn it off only for yourself while others who play it better can leave it on. Valve has included many options to set the netcode to how 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 think lag compensation sucks, setting it to 0 will get rid of it, allowing you to play latency-based. Default is 1.cl_lw X - Controls whether weapon animations/sounds play on the client side. If enabled (cl_lw 1), sounds and animations are played client-side, the instant you fire the gun (instead of waiting for server confirmation). There are disadvantages and advantages to this. If left off (cl_lw 0), you will see the gun fire when your lag allows, which also means you will see the gun fire in sync with the shots. The problem is that if lag compensation is on, you won't have bullet marks to adjust your aim until it's too late. This can work against you with random trajectory weapons, like the AK-47 from Counter-Strike. The problem with ignition is that your car has to generate the random kick and inaccuracy. As a result, the bullet/football marks displayed will likely not align with those randomly generated by the server. If you're shooting a highly inaccurate weapon (once again using CS's AK-47 as an example), bullets that appear to hit may not actually hit, and bullets that don't appear to hit may end up hitting anyway. you leave it active if you are... middle of paper ......disabled in Counter-Strike and HLDM.hud_saytext_time XX - This is the time, in seconds, that player chat messages remain active on the screen before that flow. Setting it to 20 or so can make team communication much more effective, as you don't always have time to notice messages as they arrive. The default value is 6.hud_deathnotice_time XX - Similar to hud_saytext_time, this is the number of seconds death notices remain on screen. While it is normally 6, setting it to a higher value can give you more time to notice the deaths of teammates or important enemies. This is very useful in team games. fastsprites X - This is a useful modification for Counter-Strike. Setting it to 1 decreases the complexity of the smoke grenade, making it ugly, but much faster. 2 uses a different method that might be even faster depending on your machine. The default value is 0 or disabled.