Post by PrivateParts on Dec 21, 2008 23:21:36 GMT
I remember a while ago looking at a quake webpage and the tweaks it suggested worked on COD4 - flat sat me through em a while back anyway I had a gander on some old forums and found this:
Quote:
COD4 Tweaks - Using the ingame Console
The following are console commands that may help improve network and gaming performance. If you do not know what the “console” is, then go read the COD public forums. The console is opened from your game by hitting the ~ key below the ESC key. All console command start with a “\” key (above the enter key)
Connections
1) Reduce number of failed connections to server:
- \cl_connectsattempts 30 (or 60) ( Bird posted this to the shout box. I tried it and have had much better success connecting to the server.)
- \cl_connectiontimeout 500 (increases the amount of time that you PC attempts to connect to a server before it quits trying.)
Performance or gaming improvements
1) Punkbuster Sleep setting
\pb_sleep 500 (tells punkbuster client software to wait longer before awakening and sending info to PB)
\pb_writecfg (makes the above setting permanent so you don’t have to do it each time you log in)
- The above changes the frequency that your PC reports to the server and thus reduced frequency of network spikes and the associated latency.
2) Packet transfer setting:
\cl_maxpackets 100
- This setting helps smooth out data transfer and should help if you have a cable or other high speed connection. I got a 20ms ping improvement and other FMJ members have seen the same improvement with many indicating they are getting better hit registration.
3) Manage whether or not extra or duplicate packets are sent to the server
\cl_packetdup 0 or 1
(1 is default and this sends an extra packet of data in case the first one is lost. If you enable the lagometer (see tools below), then you can see if you are losing any packets. If yes, then leave this at 1. If no, you can consider changing to 0.
4) Enable higher Frames Per Secon (FPS): ***may need to adjust amount to 124...seen pb check for this that checks for amount below 124***
\com_maxfps 125 (Default is 60 so this may help overall FPS. Some say this should be set at or just above your average FPS to smooth things out) (Others say the eye can only see 60FPS so who knows)
- This allows your game to go allow higher frame rates that the default. Set it to a value you want based on the capabilities of you machines…can go as high as 1000
In game tools
1) Show framerate so you can see how your PC is performing.
\cg_drawFPS 1 (choices are 0,1,2,or 3 where 0 = off)
- At a minimum, you need to try to be above 60FPS so that you have not visual choppiness. Reduce textures, shadows, lighting etc. to get above 60 if possible:
2) Show network connection quality:
\cg_drawlagometer 1 (puts a graph just above your grenades)
- Top meter on graph. If blue, (or blue with small amounts of yellow) then you system is in synch and you screen/system is refreshing in synch with the server’s perspective of the game world. If Yellow, then you are having issues and your screen/system may not be in synch with what the server thinks is happeing.. in blue shows how well your graphics card is staying in synch with the server as it relates to rendering the gaming environment. A few yellow items is OK but you want the vast majority to be blue. If you have a lot of yellow, this means that your graphics rendering and server rendering of the gameworld is out of synch. lost packets and you need to make sure you he smoother the flow on this meter, the better.
- Bottom meter should be all or mostly green. Lots of yellow or red means there are issues. When you spawn or die, you can sometimes see lots of RED , this seems to be OK. If you are all green, then you can consider changing your cl_packetdup to 0 and you can increase your cl_maxpackets
Any use? maybe not.
Found this too...
Quote:
This is for PC Only.
*********************************************
Short for frames per second (and typically written in lower case), a measure of how much information is used to store and display motion video. The term applies equally to film video and digital video. Each frame is a still image; displaying frames in quick succession creates the illusion of motion. The more frames per second (fps), the smoother the motion appears. Television in the U.S., for example, is based on the NTSC format, which displays 30 interlaced frames per second (60 fields per second). In general, the minimum fps needed to avoid jerky motion is about 30. Some computer video formats, such as AVI, provide only 15 frames per second.
Commands:
Draw your FPS on screen:
/cg_drawfps 1
Draw your Lagometer on screen:
/cg_drawlagometer 1
Max FPS command:
/com_maxfps 0
Others:
/cg_fov "80" (GAMEPLAY)*
/com_maxfps "125" (FPS)*
/snaps "30" (REGISTRY)*
/cl_maxpackets "100" (REGISTRY)*
/cl_packetdup "2" (REGISTRY)
/rate "25000" (REGISTRY)
/sm_enable 0 (FPS)*
/r_drawdecals 0 (FPS)*
/cg_drawFPS "Simple" (FPS)
/cg_brass "0" (FPS)
/r_multigpu "1" (FPS)
/r_cachemodellighting "1" (FPS)
/r_cacheSmodellighting "1" (FPS)
/cl_mouseaccel "0" (MOUSE)
Untested:
/r_rendererPreference "Shader model 2.0" (FPS)
/r_vsync "0" (FPS)
/r_smc_enable "0" (FPS)
/r_rendererPreference "0" (FPS)
/r_skincache "1" (FPS)
/cg_blood "0" (FPS)
/com_hunkmegs "512" (FPS)
/r_drawsun "0" (FPS)
Now Type In Console:
/vid_restart
Notes:
*CG FOV :: Field of view, where the value is the angle of the circular arc that is displayed
on your screen. High values will make the game appear "fisheyed".
*MAX FPS :: This command limits your maximum FPS. You may ask why you would want to do this,
and the answer is that it will help the server from having lag confusion when your frame rate
has a sudden rise or fall. Run a timedemo, collect your average FPS and use that as the limit
for when you play on-line.
*SNAPS :: This is possibly the most important setting for getting a good connection.
Snaps setting determines how many updates you recieve from the server. 20 to 30 for
56K connects in quake series 40 for high speed internet im sure the same for cod. (30 is fine).
*MAXPACKETS :: This setting puts a limit on the maximum amount of packets that can be sent to
the server via the client. This setting is useful for people with slower modems. Obviously we
all have high speed connects so set to at least 100. Lower maxpacket settings i.e 30 lowers ping
on screen but at the cost of registration.
*SM ENABLE :: Turns off unique Shadows ingame, it boosts FPS more than most commands.
*R DRAWDECALS :: Turns off details on walls and objects, however Punkbuster will kick you off for this at this time.
Quote:
COD4 Tweaks - Using the ingame Console
The following are console commands that may help improve network and gaming performance. If you do not know what the “console” is, then go read the COD public forums. The console is opened from your game by hitting the ~ key below the ESC key. All console command start with a “\” key (above the enter key)
Connections
1) Reduce number of failed connections to server:
- \cl_connectsattempts 30 (or 60) ( Bird posted this to the shout box. I tried it and have had much better success connecting to the server.)
- \cl_connectiontimeout 500 (increases the amount of time that you PC attempts to connect to a server before it quits trying.)
Performance or gaming improvements
1) Punkbuster Sleep setting
\pb_sleep 500 (tells punkbuster client software to wait longer before awakening and sending info to PB)
\pb_writecfg (makes the above setting permanent so you don’t have to do it each time you log in)
- The above changes the frequency that your PC reports to the server and thus reduced frequency of network spikes and the associated latency.
2) Packet transfer setting:
\cl_maxpackets 100
- This setting helps smooth out data transfer and should help if you have a cable or other high speed connection. I got a 20ms ping improvement and other FMJ members have seen the same improvement with many indicating they are getting better hit registration.
3) Manage whether or not extra or duplicate packets are sent to the server
\cl_packetdup 0 or 1
(1 is default and this sends an extra packet of data in case the first one is lost. If you enable the lagometer (see tools below), then you can see if you are losing any packets. If yes, then leave this at 1. If no, you can consider changing to 0.
4) Enable higher Frames Per Secon (FPS): ***may need to adjust amount to 124...seen pb check for this that checks for amount below 124***
\com_maxfps 125 (Default is 60 so this may help overall FPS. Some say this should be set at or just above your average FPS to smooth things out) (Others say the eye can only see 60FPS so who knows)
- This allows your game to go allow higher frame rates that the default. Set it to a value you want based on the capabilities of you machines…can go as high as 1000
In game tools
1) Show framerate so you can see how your PC is performing.
\cg_drawFPS 1 (choices are 0,1,2,or 3 where 0 = off)
- At a minimum, you need to try to be above 60FPS so that you have not visual choppiness. Reduce textures, shadows, lighting etc. to get above 60 if possible:
2) Show network connection quality:
\cg_drawlagometer 1 (puts a graph just above your grenades)
- Top meter on graph. If blue, (or blue with small amounts of yellow) then you system is in synch and you screen/system is refreshing in synch with the server’s perspective of the game world. If Yellow, then you are having issues and your screen/system may not be in synch with what the server thinks is happeing.. in blue shows how well your graphics card is staying in synch with the server as it relates to rendering the gaming environment. A few yellow items is OK but you want the vast majority to be blue. If you have a lot of yellow, this means that your graphics rendering and server rendering of the gameworld is out of synch. lost packets and you need to make sure you he smoother the flow on this meter, the better.
- Bottom meter should be all or mostly green. Lots of yellow or red means there are issues. When you spawn or die, you can sometimes see lots of RED , this seems to be OK. If you are all green, then you can consider changing your cl_packetdup to 0 and you can increase your cl_maxpackets
Any use? maybe not.
Found this too...
Quote:
This is for PC Only.
*********************************************
Short for frames per second (and typically written in lower case), a measure of how much information is used to store and display motion video. The term applies equally to film video and digital video. Each frame is a still image; displaying frames in quick succession creates the illusion of motion. The more frames per second (fps), the smoother the motion appears. Television in the U.S., for example, is based on the NTSC format, which displays 30 interlaced frames per second (60 fields per second). In general, the minimum fps needed to avoid jerky motion is about 30. Some computer video formats, such as AVI, provide only 15 frames per second.
Commands:
Draw your FPS on screen:
/cg_drawfps 1
Draw your Lagometer on screen:
/cg_drawlagometer 1
Max FPS command:
/com_maxfps 0
Others:
/cg_fov "80" (GAMEPLAY)*
/com_maxfps "125" (FPS)*
/snaps "30" (REGISTRY)*
/cl_maxpackets "100" (REGISTRY)*
/cl_packetdup "2" (REGISTRY)
/rate "25000" (REGISTRY)
/sm_enable 0 (FPS)*
/r_drawdecals 0 (FPS)*
/cg_drawFPS "Simple" (FPS)
/cg_brass "0" (FPS)
/r_multigpu "1" (FPS)
/r_cachemodellighting "1" (FPS)
/r_cacheSmodellighting "1" (FPS)
/cl_mouseaccel "0" (MOUSE)
Untested:
/r_rendererPreference "Shader model 2.0" (FPS)
/r_vsync "0" (FPS)
/r_smc_enable "0" (FPS)
/r_rendererPreference "0" (FPS)
/r_skincache "1" (FPS)
/cg_blood "0" (FPS)
/com_hunkmegs "512" (FPS)
/r_drawsun "0" (FPS)
Now Type In Console:
/vid_restart
Notes:
*CG FOV :: Field of view, where the value is the angle of the circular arc that is displayed
on your screen. High values will make the game appear "fisheyed".
*MAX FPS :: This command limits your maximum FPS. You may ask why you would want to do this,
and the answer is that it will help the server from having lag confusion when your frame rate
has a sudden rise or fall. Run a timedemo, collect your average FPS and use that as the limit
for when you play on-line.
*SNAPS :: This is possibly the most important setting for getting a good connection.
Snaps setting determines how many updates you recieve from the server. 20 to 30 for
56K connects in quake series 40 for high speed internet im sure the same for cod. (30 is fine).
*MAXPACKETS :: This setting puts a limit on the maximum amount of packets that can be sent to
the server via the client. This setting is useful for people with slower modems. Obviously we
all have high speed connects so set to at least 100. Lower maxpacket settings i.e 30 lowers ping
on screen but at the cost of registration.
*SM ENABLE :: Turns off unique Shadows ingame, it boosts FPS more than most commands.
*R DRAWDECALS :: Turns off details on walls and objects, however Punkbuster will kick you off for this at this time.