战队新闻 -> 技术文章
战队简介 新闻动态 队内赛事 下载专区 战队论坛 队员专区
>> 国际新闻 >> 国内新闻 >> 技术文章 >> CS 图片

[翻译]国外网站一篇关于cfg的文章,希望对大家有帮助 !

Rain.M* [ 2006-01-06 13:14 ] 本文被浏览过2926


Counter-Strike Tweaks 1.5/1.6

增加如下命令置cs的快截方式中
-console   (出现控制台)  
-nojoy    (去除使用摇杆控制,节约内存)

-noipx (去除 LAN 支持, 节约内存)

-noforcemparms -noforcemaccel -noforcemspd (去鼠标加速度)

  
-dev (去除最大100fps 的限制*仅在STEAM中有效??*)

-heapsize (gives CS memory, set it by kbytes, example; i have 384mb of ram so i used: -heapsize (设定CS占用的内存, 单位是kbytes, 例如我有384M内存,那么我将如下设置:
-heapsize 300000 (告诉CS将使用300M内存进行游戏 , 请将这个值设为你实际内存值的60-80%)

Config 命令:

禁用语音 (我们有了team-speak, ventrilo, 为什么还要用这个10年前的老掉牙的东西?)
原文如此,如果你不用这些语音通讯软件,还是不要设置这部分了.
voice_scale "0"
voice_enable "0"
voice_modenable "0"
sv_voiceenable "0"
voice_forcemicrecord "0"

禁用 EAX(Environmental AudioExtensions?环境音效扩展集) (提升FPS)
参考文章,什么是EAX?:http://it.enorth.com.cn/system/2001/10/26/000175793.shtml
s_eax "0"

禁用A3D (在CPL是不允许使用s_a3d参数的)
s_a3d "0"

sound delay (after you turned off Sound acceleration, or random sound delays)
声音延迟 (当你关闭了声音加速,或者声音延迟产生混乱的时候使用???)
_snd_mixahead "0" or "0.1"

网络设置 (最佳设置):

rate "25000"
cl_updaterate "100"
cl_cmdrate "100"
cl_lc "1"
cl_lw "1"
ex_interp "0.1"

如果使用了最佳设置出现了lag,那么试下下面的值
rate "7500-10000"
cl_updaterate "20"
cl_cmdrate "30"

1.5/1.6 图象性能提升(提升fps):

gl_cull "1"
gl_keeptjunctions "0"
gl_texsort "0"
gl_palette_tex "1"
r_norefresh "0"
gl_round_down "3"
gl_picmip "2"
gl_playermip "2"
gl_ztrick "1"
gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
viewsize "120"
brightness "1"
gamma "3"
fastsprites "0"
fps_max "200"
max_shells "0"
cl_corpsestay "0"
max_smokepuffs "0"
mp_decals "0"
d_spriteskip "0"
cl_himodels "0"
model "gordon"
topcolor "30"
bottomcolor "6"
cl_minmodels "1"
cl_weather "0"
gl_affinemodels "1"
gl_alphamin "0.25"
gl_clear "0"
gl_dither "1"
gl_flipmatrix "0"
gl_flashblend "0"
gl_lightholes "0"
developer "1"
r_dynamic "0"
r_novis "0"
r_traceglow "1"
r_wateralpha "1"
r_mirroralpha "0"
r_bmodelhighfrac "5.0"
r_lightmap "0"
gl_max_size "128" (16/32/64/128/256) (值越小图象质量越差,但FPS越高)
precache "1"

鼠标接口设置 (如果你的鼠标支持USE接口,那么请设置

m_filter "0" USB接口使用
m_filter "1" PS/2接口使用

狙击枪开镜后移动速度
zoom_sensitivity_ratio "1-3" (默认1.2)

禁用ATI的Truform技术,会大大提升FPS:(TruForm 技术是即由硬件自行辨别,在 3D模型的表面产生更多个多边型,即由硬件的运算以使 3D模型的表面更加平滑)
ati_npatch "0"
ati_subdiv "0"

使用MMX指令支持
r_mmx "1"

Advanced Graphic Commands:
高级图象命令:
1 - 启用
0 - 禁用

控制血迹,禁用会提升FPS,但是谁不喜欢看到血呢;)?
violence_ablood 1/0
violence_hblood 1/0

-Control the gibs, disable to get more performance
控制gibs(起重杆???)禁用会提升FPS
violence_agibs 1/0
violence_hgibs 1/0


-Disabling it will make the game render everything, even objects you dont see, only crazy people will disable it.
只渲染可见目标,禁用它会使游戏渲染任何物体,甚至包括你看不到的东东, 只有疯子才会禁用它.
gl_cull "1" 只渲染可见目标,一定要设成1

-Enabling this will make sure you wont see any crashes and/or 3d bugs, disable it for more FPS
启用这个命令会避免任何crash或者3D方面的BUG,, 禁用会提升FPS
gl_keeptjunctions 1/0

-Multi texturing, disable it only on old 3d cards
多纹理设置,只有使用老显卡才有必要禁用它
gl_texsort 1/0

MMX指令支持,启用会提升FPS
r_mmx 1/0

游戏杆,禁用它会得到更多内存和FPS
joystick 0/1

-disable dither only if you have a really good computer, enable for more performance improvement
开关颜色抖动效果:建议关闭他除非你的配置确实牛比
gl_dither 0/1

-Enable for more model quality, disable for more performance-
模型平滑,开启会得到高质量,关闭会提升FPS
gl_smoothmodels 0/1

-Vsync, enable to limit the fps into your refresh rate, disable for highest fps
Vsync场同步功能,如果VSync是激活的状态下,那么你的FPS总数会限制显示的刷新频率。举个例子来讲,如果你的显示频率设置在75hz下的话,那么你的最大FPS值将不会高于75!所以当你关闭他的时候实质上对FPS就没有了限制。当然Antialiasing也会极大的降低性能分数,把他关掉,除非你专门想测试他的性能,所以,分别在OpenGL 和 Direct3D下关掉他们。会提升FPS的
参考文章:http://www.itdoor.net/pages/14 ,2309,1,1011869493.html
vid_wait 0/1

-Lightholes, disable for a little performance gain-
光洞效果,禁用它会得到微小的FPS提升
gl_lightholes 0/1

-Enable to see some objects like 1337 sunglasses and stuff like that, disable for more performance
开关alpha镜像混合,例如在匪2号的墨镜效果?总之是禁用了提升FPS
r_mirroralpha 1/0

是否开启预读模型模式,如果你的内存大于64M,那么打开它吧
precache 1/0

开启天气效果,比如Aztec的雨,关闭提升FPS
cl_weather 0/1

是否使用统一的人物模型?启用会提升FPS
cl_minmodels 1/0

-Round down, set value from 0-4 , the lower the number the higher the quality, higher number equals more performance
材质循环, 设置值为0-4(一说是0-6之间?) 低数字代表高质量,高数字带来高fps
gl_round_down 0/1/2/3/4

-Map quality, set value from 0-2, lower number equals more quality, higher number equals more performance
地图质量, 设置值为0-2(一说是0-3?)之间, 低数字代表高质量,高数字带来高fps
gl_picmip 0/1/2

-Player model quality, set value from 0-2, lower number equals more quality, higher number equals more performance
玩家模型质量, 设置值0-2(一说是0-3?)之间, 低数字代表高质量,高数字带来高fps
gl_playermip 0/1/2

贴图材质的最大解析度,值越小图象质量越差,但FPS越高
gl_max_size 16/32/64/128/256/512/1024

-Texture Quality (for Direct3D Trilinear bring more performance, and for OpenGL Brilinear bring more perormence) values
渲染模式(Direct3D 适用3线性过滤,OpenGL适用双线性过滤,注:GL_NEAREST是利用最坐标最靠近象素中心的纹理元素,这有可能使图样走型,但计算速度快;GL_LINEAR利用线形插值,效果好但计算量大)
关于Brilinear还有一个小趣闻http://computer.online.sh.cn/com ... /content_862903.htm
http://tech.tom.com/1370/1393/2004528-102002.html
(用金山词霸搜索Brilinear这个词的时候无意发现的连接,不代表本站观点)

GL_LINEAR_MIPMAP_LINEAR (Trilinear, high quality) (三线性,高画质)
GL_LINEAR_MIPMAP_NEAREST (Trilinear, low quality)(三线性,低画质)
GL_NEAREST_MIPMAP_LINEAR (Bilinear, high quality)(双线性,高画质)
GL_NEAREST_MIPMAP_NEAREST (Bilinear, high quality)(原文如此,我想应该是
Bilinear, low quality,双线性,低画质)
gl_texturemode

使用方法:

gl_texturemode "GL_NEAREST_MIPMAP_NEAREST"
//GL_LINEAR_MIPMAP_LINEAR
// GL_NEAREST_MIPMAP_LINEAR
//GL_NEAREST_MIPMAP_NEAREST


-Fastsprites, 控制烟雾弹等爆炸物的效果(范围0-2)低值高画质,高值提升运行速度

fastsprites 0/1/2
//0 最佳效果,运行最慢
//1 中等效果,运行一般
//2 最差效果,运行最快

这就是全部了,希望对大家有用

[C]Copyleft 2005 - 2006 BJGW 战队
BJGW^[6M] 分队 Rain.M*, Mistruster 提供
京ICP备06025768号