DO NOT TRY THIS AT HOME : Rotteneggs.com text files and message bases are for INFORMATIONAL PURPOSES ONLY. DO NOT undertake any project based upon any information obtained from this or any other web site.We are not responsible for, nor do we assume any liability for, damages resulting from the use of any information on this site.
(34 votes) Published: Jul 10, 2007 4:56 p.m. In 1 Favorites Lists Viewed 523 times
The following egg is on how to boost your FPS, as well as identify, cut down, and tweak your rates to reduce choke and loss when playing any source game. If you don’t play CSS/Source SDK BASE Mods don’t bother reading this egg, as you will be bored shitless amongst other things.
To lower your CPU usage graphically, which raises your fps, there are hundreds of thousands of things you can do. I will be showing you the most noticeable and game efficient (keeps it looking and feeling like CSS/whatever source mod) methods.
FPS SAVING:
Firstly you will need to set up the counter which shows you your FPS. To do this, enable developers console (options, keyboard settings, advanced) then load it by pressing ` (key above 1). From here you can either type cl_showfps 2. To disable it type cl_showfps 0.
Alternatively you can type in "net_graph 3". This will put a set of numbers which show anything needed in this guide (including choke and loss). To disable it type "net_graph 0", and to change its position "net_graphpos x". x = 1,2, or 3.
Direct X Level:
Firstly, unless your graphics card is 2-3 years old, you should have Direct x9.0 hardware. To check, load up CSS/whatever steam game, go into options, video, advanced. In the bottom right corner should be something saying your hardware level. If it is 9.0 read on, if it is 8.1 or 8.0 ignore this section.
We will be tuning it from 9.0 to 8.1. Why? There is a huge difference in running 9.0 to 8.1 for your CPU. You will get at least a bonus or 5 - 10 fps from changing something which doesn’t affect anything in 99% of source games. (Insurgency and Hidden are the only two i have found noticeable differences when changing direct level with)
Steps:
Load up steam, and go onto the my games section. Right click the game of choice and go into properties.
From here you want to go into "Set Launch Options"
Now type in the box "-dxlevel 81" and press okay. This will set your game to load off Direct X level to 8.1 whenever you double click it (doesn’t work with hidden, as it 9.0 is needed for the hidden skin).
Now load up whichever game you just changed the launch options on, go into options, video, then advanced. Under Direct X hardware level it should now be 8.1, as shown below.
Tuning graphics:
I will be going into the video options you can select, recommending which is most needed and which isn’t.
Above is the graphics which i would recommend for someone with a struggling graphics card to have. The * is what it would recommend for your graphics card.
Model detail is the most important thing you can have as max, as the need to know the hitbox (where their body starts and ends) of the person you are trying to kill is vital. If the graphics are on low, and you are shooting over a vast distance, the head fills a good portion of space where the hitbox doesn’t, which means your aiming at air.
Texture detail is similar, but not nearly needed as much. If your graphics card is really bad don’t be afraid to turn this to low, and model detail to medium. It won’t be a huge difference.
Shader and water detail are only there to make it look pretty, so we throw those out the window.
Shadow detail is needed as (when we add the autoexec.cfg which i will show you) you will be able to see peoples shadows through the floor (if they are above you).
Antialiasing is what keeps the textures smooth, and stops the jagged, polygon look which lines get at distances. Unless your playing a game like Insurgency, 2x MSAA should keep it looking smooth, if not perfect.
Filtering mode is not needed, as it only relates to the physics of the engine, which only steals your fps.
Vertical sync should only be used if your monitor is "cutting" or getting jagged patches, where part of it doesn’t move for a small period when the top half moves.
HDR just makes a stronger contrast between light and dark, this should not matter at all as you should have your brightness set to max.
Autoexec.cfg (for CSS):
For this we will be using something called "Caseys Config", which is a well known FPS saver. I will be showing you later what to edit if it causes loss/choke (likely if you are looking at this guide).
This is another way of setting launch options, but can be edited a lot easier and tweaked. Firstly open up explorer (or run), go into steam, steamapps, your email/steam id, css, cstrike, cfg.
Right click, and select new - text document (MAKE SURE ITS TEXT AND NOT WORD)
Into this text document c+p the following.
//_Set Netcode vars_
cl_cmdrate 80″
cl_interp 0.01″
cl_interpolate 1″
cl_lagcompensation 1″
cl_updaterate 60″
cl_smooth 1″
rate 25000″
//_Set Client vars_
cl_drawmonitors 0″ // Disables the rendering of ingame monitors which contain 3d rendered images.
cl_ragdoll_physics_enable 0″ // Disables ragdoll.
cl_show_splashes 0″ // Disables water splashes.
cl_phys_props_enable 1″ // Enables Phsyics Props.
cl_phys_props_max 50″ // Maximum amount of Physics props allowed.
cl_forcepreload 1″ // Forces the game to load all texture and model information into memory on map load.
cl_restrict_server_commands 0″ // Compatible/needed with serverplugins
//_Set Render vars_
r_decals 0″ // Disables decals.
r_drawbatchdecals 1″ // Enables the rendering of decals in batch.
r_decal_cullsize 9999″ // Any decals under this size are not rendered.
r_rootlod 2″ // Base lod of the model in the memory.
r_lod -1″ // Different level of details on models. -1 = Variable at distance. 0 = None. 1 = Minor. 2 = Less minor.
r_modellodscale 1.0″ // The transitioning power of LOD.
r_drawmodeldecals 0″ // Models decals, I.E. Blood.
r_shadowmaxrendered 32″ // Max shadows the game will render.
r_shadows 0″ // Disables shadows (Change to 1 if you like them.)
r_shadowrendertotexture 1″ // Rendered the shadow texture causing it to match the player model.
r_dynamic 0″ // Disables dynamic lights.
r_propsmaxdist 1200″ // Max distance at which props are rendered.
r_drawdetailprops 1″ // Enables the rendering of detail props.
r_occlusion 1″ // Enables the Model Occlusion system.
r_renderoverlayfragment 0″
r_3dsky 0″ // Disables the rendering of 3d sky boxes.
r_waterdrawreflection 0″ // Disables the rendering of water reflections.
r_waterforceexpensive 0″ // Forces cheap water.
r_drawflecks 0″ // Disables the sparks and dirt from bullet impacts.
r_eyes 0″ // Disables eyes in models.
r_teeth 0″ // Disables teeth in models.
gl_clear 0″ // Disables the gl_clear convariable!
//_Set Materials vars_
mat_monitorgamma 1.6″ // Lower the number the brighter the screen. Only works in fullscreen.
mat_disable_bloom 1″ // Disables bloom effects.
mat_hdr_enabled 0″ // Disables HDR.
mat_hdr_level 0″ // Double Disables HDR.
mat_specular 0″ // Disables Specularity on objects.
mat_picmip 2″ // Changes the resolutions of textures when theyre loaded into memory. May improve FPS on graphics cards with low memory sizes.
mat_antialias 0″ // Disables the use of multisampling to smooth out edges.
mat_bumpmap 0″ // Disables bump mapping.
mat_clipz 0″ // Disables optimized Z-Buffer rendering.
mat_compressedtextures 0″ // Disables texture compression. Users with low amounts of system memory should turn this on.
mat_mipmaptextures 1″ // Enables the use of mipmapping to make textures look smooth.
mat_reducefillrate 1″ // Reduces the fillrate when the game is run in DXLevel 8.
mat_trilinear 0″ // Disables the use of Trilinear mipmapping.
mat_wateroverlaysize 8″ // Sets the resolution of water distortion. Must be multiple of 8.
//_Set Violence vars_
violence_ablood 1″
violence_agibs 1″
violence_hblood 1″
violence_hgibs 1″
//_Set HUD vars_
net_graph 3″ // Enables net_graph (Required in SS round)
net_graphpos 3″ // Adjusts netgraph position-set between 1 and 3.
When you exit and go to save, make sure you set it to Save as: All files (IMPORTANT), and the name as Autoexec.cfg
CHOKE AND LOSS:
This is only here because the autoexec above might change your rates (i’ve set the above so that it keeps the defaults, not sure about default rate setting though), so your computer might (or might already be without you knowing) having problems with choke/loss.
To view these you need to enable net_graph 3 from developers console (see top). Your choke and loss should stay at 0, unless loading a round/dead (where it should go up to 5 max).
Choke and loss affect your gameplay by "lying" about where you are, where your bullets are hitting, and where your enemy is. If you find that the enemies you are trying to kill are bleeding but not taking damage (e.g you headshot someone twice and they are unharmed) it is likely you have loss/choke (unless they have 100 ping and above, and were moving).
Choke means that your computer is requesting too many files, and loss means your computer isn’t sending the amount its trying to.
The things which affect this are your rates, the ones which we will be touching are:
rate
cl_update
cl_cmdrate
fps_max
If you are recieving loss/choke try changing your cl_updaterate to 40, and cl_cmdrate to 60. You want the cmdrate to always be large then the update, but only by around 25% (give or take, just dont have updaterate larger then cmd). If you are still having problems try turn them down 5 each until fixed. If it is not fixed change them back to defaults and try changing the rate (see below). You will notice that your ping is quite often different from what the server says, this is because you are over stressing your internet, and why many people will join a server with 300 - 400 ping.
The worst rates you can use will be "cl_update 20" and "cl_cmdrate 30". Most servers will change your rates if they are this low, and your update will quite frequently be turned to 30 or 60 depending on the server. If you suddenly get choke/loss in a server, check your update rates/cmd rates by typing them into the developers console and seeing if they have been changed.
Rate means how many bytes per second are being processed by your computer. If you are constantly recieving loss even after modifying your update and cmdrates, try turning it down 5000 and seeing if it makes a difference. If it doesn’t try another 5000 etc till you find the balance which means you don’t lag. Mine is set to 22000.
Fps_max should be set to 60 or 90, depending on where your fps go to in the calmest areas of the map.
When editing your rates, make sure you change them in the autoexec.cfg after you have them perfected. Otherwise you will have to re-install them every time you load up your source game.