[ post][/post][ sell=2][/sell]//最优网络通讯质量
cl_lc "1"
cl_lw "1"
rate "25000"
ex_interp "0.01"
cl_rate "20000"
cl_cmdbackup "40"
cl_cmdrate "101"
cl_updaterate "101"
//开启游戏预测
cl_nopred "1"
ex_extrapmax "1.2"
cl_nosmooth "1"
cl_smoothtime "0.1"
cl_vsmoothing "0.05"
//FPS强制
fps_max "200"
fps_moden "180"
//禁用ATI显卡的Truform技术提升FPS
ati_npatch "0"
ati_subdiv "0"
//启用CPUMMX指令提升FPS
r_mmx "1"
//禁用游戏摇杆释放内存
joystick "0"
//关闭颜色抖动
gl_dither "0"
//关闭垂直同步
vid_wait 0
//亮度锁定
brightness "1"
gamma "3"
//高品质声效
hisound "1"
voice_enable "1"
voice_forcemicrecord "1"
sv_voiceenable "1"
s_distance "60"
s_automin_distance "2"
s_automax_distance "30"
s_min_distance "8"
s_max_distance "1000"
s_refgain "0.4"
s_refdelay "4"
s_occfactor "0.25"
s_verbwet "0.25"
s_distance "60"
//显示优化
gl_cull "1"
// 只渲染可见目标
gl_keeptjunctions "0"
// 显示纹理的裂纹
gl_clear "0"
// 纹理质量
d_spriteskip "0"
// 不清楚,似乎能提高性能
r_dynamic "1"
// 固定动态光源
r_mirroralpha "0"
// 关闭反射图片
gl_palette_tex "0"
// 使纹理平滑
r_norefresh "0"
// 非必要时不更新hud和console
gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
// 设置纹理模式
cl_shadows "0"
// 关闭玩家阴影
gl_wateramp "0"
//设置水纹效果
r_drawviewmodel "0"
//提高FPS并增大视野范围
gl_smoothmodels "0"
//模型平滑关闭
r_mirroralpha "0"
//关闭通道混合
//跳蹲脚本
alias +sjump "+jump;+duck;+speed"
alias -sjump "-jump;-duck;-speed"
//开关持久语音通讯项
alias voice_key voice_on
alias voice_on "+voicerecord; alias voice_key voice_off"
alias voice_off "-voicerecord; alias voice_key voice_on"
//开关持久无声步项
alias speed_key speed_on
alias speed_on "+speed; alias speed_key speed_off"
alias speed_off "-speed; alias speed_key speed_on"
//开关持久蹲下
alias duck_key duck_on
alias duck_on "+duck; alias duck_key duck_off"
alias duck_off "-duck; alias duck_key duck_on"
//左右手持木仓方式开关
alias hand_left "cl_righthand 0; alias hand_key hand_right"
alias hand_right "cl_righthand 1; alias hand_key hand_left"
alias hand_key hand_left
//调节游戏音量
alias volume0 "volume 0.0; alias volume_up volume1; alias volume_down volume0"
alias volume1 "volume 0.1; alias volume_up volume2; alias volume_down volume0"
alias volume2 "volume 0.2; alias volume_up volume3; alias volume_down volume1"
alias volume3 "volume 0.3; alias volume_up volume4; alias volume_down volume2"
alias volume4 "volume 0.4; alias volume_up volume5; alias volume_down volume3"
alias volume5 "volume 0.5; alias volume_up volume6; alias volume_down volume4"
alias volume6 "volume 0.6; alias volume_up volume7; alias volume_down volume5"
alias volume7 "volume 0.7; alias volume_up volume8; alias volume_down volume6"
alias volume8 "volume 0.8; alias volume_up volume9; alias volume_down volume7"
alias volume9 "volume 0.9; alias volume_up volume10; alias volume_down volume8"
alias volume10 "volume 1.0; alias volume_up volume10; alias volume_down volume9"
alias volume_up "volume8"
alias volume_down "volume6"
//调节mp3音量
alias mp3_volume0 "MP3volume 0.0; alias mp3_volume_up mp3_volume1; alias mp3_volume_down mp3_volume0"
alias mp3_volume1 "MP3volume 0.1; alias mp3_volume_up mp3_volume2; alias mp3_volume_down mp3_volume0"
alias mp3_volume2 "MP3volume 0.2; alias mp3_volume_up mp3_volume3; alias mp3_volume_down mp3_volume1"
alias mp3_volume3 "MP3volume 0.3; alias mp3_volume_up mp3_volume4; alias mp3_volume_down mp3_volume2"
alias mp3_volume4 "MP3volume 0.4; alias mp3_volume_up mp3_volume5; alias mp3_volume_down mp3_volume3"
alias mp3_volume5 "MP3volume 0.5; alias mp3_volume_up mp3_volume6; alias mp3_volume_down mp3_volume4"
alias mp3_volume6 "MP3volume 0.6; alias mp3_volume_up mp3_volume7; alias mp3_volume_down mp3_volume5"
alias mp3_volume7 "MP3volume 0.7; alias mp3_volume_up mp3_volume8; alias mp3_volume_down mp3_volume6"
alias mp3_volume8 "MP3volume 0.8; alias mp3_volume_up mp3_volume9; alias mp3_volume_down mp3_volume7"
alias mp3_volume9 "MP3volume 0.9; alias mp3_volume_up mp3_volume10; alias mp3_volume_down mp3_volume8"
alias mp3_volume10 "MP3volume 1.0; alias mp3_volume_up mp3_volume10; alias mp3_volume_down mp3_volume9"
alias mp3_volume_up "mp3_volume9"
alias mp3_volume_down "mp3_volume7"
//MP3选择
alias mp3_play1 "mp3 play mp3/1.mp3; alias mp3_play_next mp3_play2; alias mp3_play_last mp3_play10"
alias mp3_play2 "mp3 play mp3/2.mp3; alias mp3_play_next mp3_play3; alias mp3_play_last mp3_play1"
alias mp3_play3 "mp3 play mp3/3.mp3; alias mp3_play_next mp3_play4; alias mp3_play_last mp3_play2"
alias mp3_play4 "mp3 play mp3/4.mp3; alias mp3_play_next mp3_play5; alias mp3_play_last mp3_play3"
alias mp3_play5 "mp3 play mp3/5.mp3; alias mp3_play_next mp3_play6; alias mp3_play_last mp3_play4"
alias mp3_play6 "mp3 play mp3/6.mp3; alias mp3_play_next mp3_play7; alias mp3_play_last mp3_play5"
alias mp3_play7 "mp3 play mp3/7.mp3; alias mp3_play_next mp3_play8; alias mp3_play_last mp3_play6"
alias mp3_play8 "mp3 play mp3/8.mp3; alias mp3_play_next mp3_play9; alias mp3_play_last mp3_play7"
alias mp3_play9 "mp3 play mp3/9.mp3; alias mp3_play_next mp3_play10; alias mp3_play_last mp3_play8"
alias mp3_play10 "mp3 play mp3/10.mp3;alias mp3_play_next "mp3_play1"
//DEMO播放
//4X速播放
alias fw2on "host_framerate 0.05;alias fw2 fw2off;developer 1;echo Extreme Fastforward;developer 0"
alias fw2off "host_framerate 0.0;alias fw2 fw2on;developer 1;echo default playback speed;developer 0"
alias fw2 "fw2on"
//2X速播放
alias fastforwardon "host_framerate 0.015;alias fastforward fastforwardoff;developer 1;echo Fastforward;developer 0"
alias fastforwardoff "host_framerate 0.0;alias fastforward fastforwardon;developer 1;echo default playback speed;developer 0"
alias fastforward "fastforwardon"
//暂停
alias pauseon "host_framerate 0.0000000001;alias pauser pauseoff;developer 1;echo paused;developer 0"
alias pauseoff "host_framerate 0.0;alias pauser pauseon;developer 1;echo unpaused;developer 0"
alias pauser "pauseon"
//2/1速
alias slowmotionon "host_framerate 0.0025;alias slowmotion slowmotionoff;developer 1;echo Slowmotion;developer 0"
alias slowmotionoff "host_framerate 0.0;alias slowmotion slowmotionon;developer 1;echo default playback speed;developer 0"
alias slowmotion "slowmotionon"
//1/4速
alias sw2on "host_framerate 0.0005;alias sw2 sw2off;developer 1;echo Extreme Slowmotion;developer 0"
alias sw2off "host_framerate 0.0;alias sw2 sw2on;developer 1;echo default playback speed;developer 0"
alias sw2 "sw2on"
//录象录制
alias demsl demsl1
alias demsl1 "alias demsl demsl2;slowmotion;say_team demospeed 1/2"
alias demsl2 "alias demsl demsl1;sw2;say_team demospeed 1/4"
alias demft demft1
alias demft1 "alias demft demft2;fastforward;say_team demospeed 2x/1x"
alias demft2 "alias demft demft1;fw2;say_team demospeed 4x/1x"
alias savdem savdem1on
alias savdem1on "alias savdem savdem1of;record 001;say_team start to record demo vol.1 - 001.dem"
alias savdem1of "alias savdem savdem2on;stop;say_team finish demo vol.1 - 001.dem"
alias savdem2on "alias savdem savdem2of;record 002;say_team start to record demo vol.2 - 002.dem"
alias savdem2of "alias savdem savdem3on;stop;say_team finish demo vol.2 - 002.dem"
alias savdem3on "alias savdem savdem3of;record 003;say_team start to record demo vol.3 - 003.dem"
alias savdem3of "alias savdem savdem1on;stop;say_team finish demo vol.3 - 003.dem"
//脚本结束