Counter-Strike 2

Counter-Strike 2

Not enough ratings
autoexec.cfg应用实例
By 的寂寞在唱歌
   
Award
Favorite
Favorited
Unfavorite
例1、投掷物练习模式、单机模式
//练雷模式:无限备弹+显示弹着点+手雷轨迹+落点预览+携雷上限+移除bot+死亡复活+不分敌友+警察捡包+土匪救人+全图购买+购买时长+关闭无敌购买+初始金钱+金钱上限+扔掉武器自动消失+一局时长60分+单人模式
alias nade "sv_infinite_ammo 2;sv_showimpacts 3;sv_grenade_trajectory_prac_trailtime 8;sv_grenade_trajectory_prac_pipreview 1;ammo_grenade_limit_total 7;bot_quota 0;mp_respawn_on_death_ct 1;mp_respawn_on_death_t 1;mp_teammates_are_enemies 1;mp_anyone_can_pickup_c4 1;mp_only_cts_rescue_hostages 0;mp_buy_anywhere 1;mp_buytime 60000;mp_buy_during_immunity 0;mp_startmoney 99999;mp_maxmoney 99999;weapon_auto_cleanup_time 2;mp_roundtime 60;mp_roundtime_defuse 60;mp_roundtime_hostage 60;single" bind "i" "nade" //按I开启练雷模式(需要单机模式作支持)
//单人模式:开启作弊+允许连跳+自动连跳+冻结时间3秒+可打身体+不送护甲+开启友伤+关闭友伤惩罚+可杀人质+不平衡人数+人数上限10+可丢匕首+可丢手雷+武器轮廓+死亡掉落持枪+允许地图武器+电击枪5秒充能+允许重甲(csgo)+重甲冷却1局(csgo)+重新开局
alias single "sv_cheats 1;sv_enablebunnyhopping 1;sv_autobunnyhopping 1;mp_freezetime 3;mp_damage_headshot_only 0;mp_free_armor 0;mp_friendlyfire 1;mp_tkpunish 0;mp_hostages_takedamage 1;mp_autoteambalance 0;mp_limitteams 10;mp_drop_knife_enable 1;mp_drop_grenade_enable 1;mp_weapons_glow_on_ground 1;mp_death_drop_gun 2;mp_weapons_allow_map_placed 1;mp_taser_recharge_time 5;mp_weapons_allow_heavyassaultsuit 1;mp_heavyassaultsuit_cooldown 1;mp_restartgame 1" bind "o" "single" //按O开启单机模式
//配套按键
bind "[" "bot_add_ct" //按[添加一个警 bind "]" "bot_add_t" //按]添加一个匪 bind "=" "bot_add" //按+添加电脑人 bind "-" "bot_kill" //按-杀死所有电脑人,回合结束 bind "BackSpace" "bot_kick" //按退格踢出所有电脑人 bind "p" "bot_place;bot_stop 1" //按P在准星处放一个不动的bot(先添加bot再放置) bind "CapsLock" "noclip" //大写锁定键自由飞行 bind "g" "sv_rethrow_last_grenade" //按G复现上一个投掷效果 bind "LeftArrow" "ent_fire smokegrenade_projectile kill;stopsound" //左箭头删除烟雾实体 alias +fast "host_timescale 3" alias -fast "host_timescale 1" bind "RightArrow" "+fast" //按住右箭头加速时间流逝,松开恢复 bind "F9" "give weapon_healthshot" //F9给医疗针
例2、轮切准星样式
//狙击准星设置
cl_debounce_zoom 0 //狙击按住右键循环切镜 cl_sniper_auto_rezoom 1 //狙击开枪后自动开镜 cl_sniper_delay_unscope 0 //狙击开枪后延迟关镜 cl_crosshair_sniper_width 1 //狙击镜十字线粗细 cl_crosshair_sniper_show_normal_inaccuracy 0 //站定时不虚化狙镜十字线
//共用准星设置
cl_crosshair_friendly_warning 2 //准星处标示队友 cl_crosshairgap_useweaponvalue 0 //准星扩散不随武器不同而变化 cl_crosshairusealpha 1 //准星使用透明度 cl_crosshaircolor_b 60 //自定义颜色蓝 cl_crosshaircolor_g 40 //自定义颜色绿 cl_crosshaircolor_r 250 //自定义颜色红
//8个准星单独的设置
alias ch1 "cl_crosshairstyle 2;cl_crosshairsize 6.5;cl_crosshairgap 1.0;cl_crosshairthickness 0.5;cl_crosshairalpha 255;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 1.0;cl_crosshairdot 0;cl_crosshair_t 0;cl_crosshair_recoil 0;cl_crosshaircolor 1;cl_crosshair_dynamic_maxdist_splitratio 0.7;cl_crosshair_dynamic_splitalpha_innermod 1.0;cl_crosshair_dynamic_splitalpha_outermod 0.3;cl_crosshair_dynamic_splitdist 0.0" alias ch2 "……" alias ch3 "……" //省略号处仿照ch1填入准星各项参数 alias ch4 "……" alias ch5 "……" alias ch6 "……" alias ch7 "……" alias ch8 "……" //用不到这么多可以删去
//准星轮切指令
alias crh1 "ch1;alias crosshairq crh2" alias crh2 "ch2;alias crosshairq crh3" alias crh3 "ch3;alias crosshairq crh4" alias crh4 "ch4;alias crosshairq crh5" alias crh5 "ch5;alias crosshairq crh6" alias crh6 "ch6;alias crosshairq crh7" alias crh7 "ch7;alias crosshairq crh8" //用不到这么多可以删去,但标号要顺下来 alias crh8 "ch8;alias crosshairq crh1" bind "/" "crosshairq" //按左斜杠切换下一个准星样式,8号下一个跳回1号 bind "kp_1" "crh1" //按小键盘1切1号准星 bind "kp_2" "crh2" //…… bind "kp_3" "crh3" bind "kp_4" "crh4" bind "kp_5" "crh5" bind "kp_6" "crh6" bind "kp_7" "crh7" bind "kp_8" "crh8" //按小键盘8切8号准星
//快捷准星控制
bind "kp_9" "toggle cl_crosshair_recoil 0 1" //按小键盘9开关后座力跟随 bind "kp_plus" "toggle cl_crosshair_t 1 0" //按小键盘+切换十字T字准星 bind "kp_minus" "toggle cl_crosshairdot 1 0" //按小键盘-开关准星中点
-------------------------------------------
自用cfg(上):医疗针t、扔枪f、看枪g、喷漆中键、团队聊天enter、蹲c、语音ctrl、报点侧上键
alias sen1 "sensitivity 2.10;zoom_sensitivity_ratio 0.983
alias sen2 "sensitivity 2.20;zoom_sensitivity_ratio 0.950
alias sen3 "sensitivity 2.65;zoom_sensitivity_ratio 0.938
sen2
crh1
net_client_steamdatagram_enable_override 0
cl_net_buffer_ticks 1
sv_pausable 1
sv_party_mode 1
bot_difficulty 3
custom_bot_difficulty 5
alias +flashspray "+spray_menu;slot7"
alias -flashspray "-spray_menu"
bind "mouse3" "+flashspray"
bind "mouse4" "slot8"
bind "mouse5" "player_ping"
bind "mwheelup" "InvPrev"
bind "mwheeldown" "slot7"
bind "0" "slot6" //HE
bind "8" "slot7" //flash
bind "7" "slot9" //decoy
bind "6" "slot10" //molly
bind "t" "slot12" //health
bind "9" "slot13" //UtilityTablet
bind "F1" "radio"
bind "F2" "parachute;exojump"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "give weapon_tagrenade" //waller
bind "F6" "give weapon_breachcharge" //RCbomb
bind "F7" "give weapon_bumpmine"
bind "F8" "give weapon_snowball;give weapon_snowball;give weapon_snowball"
bind "F9" "give weapon_healthshot"
bind "F10" "give weapon_shield"
bind "F11" "give item_heavyassaultsuit"
bind "PAUSE" "pause"
bind "INS" "buy hegrenade"
bind "DEL" "buy molotov"
bind "HOME" "buy flashbang"
bind "END" "buy smokegrenade"
bind "PgUp" "buy vest"
bind "PgDn" "buy vesthelm"
bind "UpArrow" "buy p250"
bind "DownArrow" "buy secondary3"
bind "LeftArrow" "ent_fire smokegrenade_projectile kill;ent_fire molotov_projectile kill;stopsound"
alias +fast "host_timescale 3"
alias -fast "host_timescale 1"
bind "RightArrow" "+fast"
bind "\" "buy defuser"
bind "," "buyammo1"
bind "." "buyammo2"
bind "[" "bot_add_ct"
bind "]" "bot_add_t"
bind "=" "bot_add"
bind "-" "bot_kill"
bind "BackSpace" "bot_kick"
bind "CapsLock" "noclip"
bind "CTRL" "+voicerecord"
alias +radarscores "+showscores;cl_radar_always_centered 0"
alias -radarscores "-showscores;cl_radar_always_centered 1"
bind "TAB" "+radarscores"
bind "ENTER" "messagemode2"
alias +sft "+sprint;toggleradarscale;-cl_show_team_equipment"
alias -sft "-sprint;toggleradarscale;+cl_show_team_equipment"
bind "SHIFT" "+sft"
bind "ALT" "+jump"
bind "SPACE" "+jump"
bind "a" "+left"
bind "d" "+right"
bind "w" "+forward"
bind "s" "+back"
bind "f" "drop"
alias +gg "+lookatweapon"
alias -gg "-lookatweapon;sv_rethrow_last_grenade"
bind "g" "+gg"
bind "h" "toggle gameinstructor_enable 1 0"
bind "j" "playerchatwheel Radio.NeedQuiet Chatwheel_quiet;ignorerad;toggle cl_mute_all_but_friends_and_party 1 0"
bind "k" "enemydown"
bind "l" "report"
alias +rad1 "radio1;+radialradio"
alias +rad2 "radio2;+radialradio2"
alias +rad3 "radio3;+radialradio3"
alias -rad1 "-radialradio"
alias -rad2 "-radialradio3"
alias -rad3 "-radialradio2"
bind "z" "+rad1"
bind "x" "+rad2"
bind "v" "+rad3"
bind "c" "+duck"
bind "b" "buymenu;+cl_show_team_equipment"
bind "n" "give item_nvgs;nightvision"
bind "q" "lastinv"
bind "u" "toggle cl_mute_enemy_team 1 0"
alias nade "sv_infinite_ammo 2;sv_showimpacts 3;sv_grenade_trajectory_prac_trailtime 8;sv_grenade_trajectory_prac_pipreview 1;ammo_grenade_limit_total 7;bot_quota 0;mp_respawn_on_death_ct 1;mp_respawn_on_death_t 1;mp_teammates_are_enemies 1;mp_anyone_can_pickup_c4 1;mp_only_cts_rescue_hostages 0;mp_buy_anywhere 1;mp_buytime 60000;mp_buy_during_immunity 0;mp_startmoney 99999;mp_maxmoney 99999;weapon_auto_cleanup_time 2;mp_roundtime 60;mp_roundtime_defuse 60;mp_roundtime_hostage 60;single"
bind "i" "nade"
alias single "sv_cheats 1;sv_enablebunnyhopping 1;sv_autobunnyhopping 1;mp_freezetime 3;mp_damage_headshot_only 0;mp_free_armor 0;mp_friendlyfire 1;mp_tkpunish 0;mp_hostages_takedamage 1;mp_autoteambalance 0;mp_limitteams 10;mp_drop_knife_enable 1;mp_drop_grenade_enable 1;mp_weapons_glow_on_ground 1;mp_death_drop_gun 2;mp_weapons_allow_map_placed 1;mp_taser_recharge_time 5;mp_weapons_allow_heavyassaultsuit 1;mp_heavyassaultsuit_cooldown 1;mp_restartgame 1"
bind "o" "single"
bind "p" "bot_place;bot_stop 1"
rate 786432
alias restore_ctrl "cl_mute_enemy_team 0;cl_mute_all_but_friends_and_party 0;m_yaw 0.022;m_pitch 0.022;bot_stop 0"
alias restore_ui "sv_showimpacts 0;gameinstructor_enable 0;cl_clanid 0;cl_showpos 0;cl_showfps 0"
restore_ctrl
restore_ui
自用cfg(下):因字数限制只能分两篇
volume 0.33
snd_voipvolume 0.20
voice_loopback 1
snd_mixahead 0.05
snd_spatialize_lerp 0.00
snd_steamaudio_enable_perspective_correction 0
snd_menumusic_volume 0.05
snd_roundstart_volume 0.12
snd_roundaction_volume 0.12
snd_mapobjective_volume 0.04
snd_tensecondwarning_volume 0.04
snd_roundend_volume 0.04
snd_mvp_volume 0.20
snd_deathcamera_volume 0.12
fps_max 60
fps_max_ui 30
fps_max_tools 30
r_fullscreen_gamma 2.2
r_player_visibility_mode 0
viewmodel_fov 68
viewmodel_offset_x 2.5 //2
viewmodel_offset_y 2
viewmodel_offset_z -1.7 //-2
switchhandsleft
cl_prefer_lefthanded 1
cl_predict_body_shot_fx 0
cl_predict_head_shot_fx 0
cl_predict_kill_ragdolls 0
cl_use_opens_buy_menu 0
cl_buywheel_donate_key 1
cl_dm_buyrandomweapons 0
cl_showloadout 1
cl_teamid_overhead_mode 1
cl_radar_always_centered 1
cl_radar_scale 0.4
cl_radar_scale_alternate 0.62
cl_radar_icon_scale_min 0.4
cl_radar_square_with_scoreboard 0
cl_hud_radar_scale 1.3 //max1.3
cl_hud_radar_background_alpha 1
cl_hud_radar_map_additive 0
cl_hud_color 9
cl_hud_telemetry_frametime_show 1
cl_hud_telemetry_net_misdelivery_show 2
cl_hud_telemetry_ping_show 2
cl_hud_telemetry_frametime_poor 20
cl_hud_telemetry_frametime_show 2
cl_hud_telemetry_net_detailed 1
cl_hud_telemetry_net_misdelivery_poor 1
cl_hud_telemetry_net_misdelivery_show 1
cl_hud_telemetry_net_quality_graph_show" "1"
cl_hud_telemetry_ping_poor 100
cl_hud_telemetry_ping_show 2
cl_color 1 //purple
cl_teammate_colors_show 2
cl_show_clan_in_death_notice 0
cl_scoreboard_survivors_always_on 1
cl_allow_animated_avatars 0
hud_showtargetid 1
hud_scaling 1.2
developer 1
con_enable 1
ui_steam_overlay_notification_position bottomright
cl_radial_radio_tab_0_text_1 "#Chatwheel_requestweapon"
cl_radial_radio_tab_0_text_2 "#Chatwheel_youfixbomb"
cl_radial_radio_tab_0_text_3 "#Chatwheel_spreadout"
cl_radial_radio_tab_0_text_4 "#Chatwheel_guardingbomb"
cl_radial_radio_tab_0_text_5 "#Chatwheel_rotatetome"
cl_radial_radio_tab_0_text_6 "#Chatwheel_requestecoround"
cl_radial_radio_tab_0_text_7 "#Chatwheel_requestspend"
cl_radial_radio_tab_0_text_8 "#Chatwheel_ifixbomb"
cl_radial_radio_tab_1_text_1 "#Chatwheel_midplan"
cl_radial_radio_tab_1_text_2 "#Chatwheel_bplan"
cl_radial_radio_tab_1_text_3 "#Chatwheel_peptalk"
cl_radial_radio_tab_1_text_4 "#Chatwheel_flashbang"
cl_radial_radio_tab_1_text_5 "#Chatwheel_sorry"
cl_radial_radio_tab_1_text_6 "#Chatwheel_smoke"
cl_radial_radio_tab_1_text_7 "#Chatwheel_requestplan"
cl_radial_radio_tab_1_text_8 "#Chatwheel_aplan"
cl_radial_radio_tab_2_text_1 "#Chatwheel_multipleenemieshere"
cl_radial_radio_tab_2_text_2 "#Chatwheel_onmyway"
cl_radial_radio_tab_2_text_3 "#Chatwheel_coveringyou"
cl_radial_radio_tab_2_text_4 "#Chatwheel_bombcarrierspotted"
cl_radial_radio_tab_2_text_5 "#Chatwheel_fire"
cl_radial_radio_tab_2_text_6 "#Chatwheel_sniperspotted"
cl_radial_radio_tab_2_text_7 "#Chatwheel_gethostage"
cl_radial_radio_tab_2_text_8 "#Chatwheel_heardnoise"
cl_radial_radio_tap_to_ping 0
cl_radial_radio_version_reset 12
cl_silencer_mode 1
cl_grenadecrosshair_keepusercrosshair 0
cl_grenadecrosshair_smoke 0
cl_grenadecrosshairdelay_decoy 0
cl_grenadecrosshairdelay_explosive 0
cl_grenadecrosshairdelay_fire 0
cl_grenadecrosshairdelay_flash 0
cl_grenadecrosshairdelay_smoke
cl_debounce_zoom 0
cl_sniper_auto_rezoom 0
cl_sniper_delay_unscope 1
cl_crosshair_sniper_width 2
cl_crosshair_friendly_warning 2
cl_crosshairgap_useweaponvalue 0
cl_crosshairusealpha 1
cl_crosshaircolor_r 245
cl_crosshaircolor_g 35
cl_crosshaircolor_b 160
alias ch1 "cl_crosshairstyle 2;cl_crosshairsize 13;cl_crosshairgap -9;cl_crosshairthickness 0.5;cl_crosshairalpha 255;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 0.5;cl_crosshairdot 0;cl_crosshair_t 1;cl_crosshair_recoil 0;cl_crosshaircolor 1;cl_crosshair_dynamic_maxdist_splitratio 0.85;cl_crosshair_dynamic_splitalpha_innermod 1.0;cl_crosshair_dynamic_splitalpha_outermod 0.4;cl_crosshair_dynamic_splitdist 1"
alias ch2 "cl_crosshairstyle 2;cl_crosshairsize 4.0;cl_crosshairgap 1;cl_crosshairthickness 1.0;cl_crosshairalpha 255;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 1.0;cl_crosshairdot 0;cl_crosshair_t 0;cl_crosshair_recoil 0;cl_crosshaircolor 1;cl_crosshair_dynamic_maxdist_splitratio 1.0;cl_crosshair_dynamic_splitalpha_innermod 0.7;cl_crosshair_dynamic_splitalpha_outermod 1.0;cl_crosshair_dynamic_splitdist 0"
alias ch3 "cl_crosshairstyle 5;cl_crosshairsize 8.0;cl_crosshairgap 0;cl_crosshairthickness 0.5;cl_crosshairalpha 240;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 1.0 ;cl_crosshairdot 0;cl_crosshair_t 0;cl_crosshair_recoil 0;cl_crosshaircolor 1"
alias ch4 "cl_crosshairstyle 4;cl_crosshairsize 11;cl_crosshairgap -12;cl_crosshairthickness 1.0;cl_crosshairalpha 255;cl_crosshair_drawoutline 0;cl_crosshair_outlinethickness 0.5;cl_crosshairdot 0;cl_crosshair_t 1;cl_crosshair_recoil 1;cl_crosshaircolor 5"
alias ch5 "cl_crosshairstyle 2;cl_crosshairsize 16.5;cl_crosshairgap 1;cl_crosshairthickness 4.0;cl_crosshairalpha 140;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 0.5;cl_crosshairdot 0;cl_crosshair_t 0;cl_crosshair_recoil 0;cl_crosshaircolor 5;cl_crosshair_dynamic_maxdist_splitratio 1.0;cl_crosshair_dynamic_splitalpha_innermod 1.0;cl_crosshair_dynamic_splitalpha_outermod 1.0;cl_crosshair_dynamic_splitdist 0"
alias ch6 "cl_crosshairstyle 4;cl_crosshairsize 430;cl_crosshairgap -7;cl_crosshairthickness 1.0;cl_crosshairalpha 85;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 0.5;cl_crosshairdot 1;cl_crosshair_t 0;cl_crosshair_recoil 0;cl_crosshaircolor 5"
alias ch7 "cl_crosshairstyle 4;cl_crosshairsize 0.5 ;cl_crosshairgap -16;cl_crosshairthickness 11;cl_crosshairalpha 255;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 0.5;cl_crosshairdot 0;cl_crosshair_t 1;cl_crosshair_recoil 0;cl_crosshaircolor 1"
alias ch8 "cl_crosshairstyle 4;cl_crosshairsize 1.0;cl_crosshairgap -4;cl_crosshairthickness 1.0;cl_crosshairalpha 255;cl_crosshair_drawoutline 0;cl_crosshair_outlinethickness 1.0;cl_crosshairdot 0;cl_crosshair_t 0;cl_crosshair_recoil 0;cl_crosshaircolor 2"
alias crh1 "ch1;alias crosshairq crh2"
alias crh2 "ch2;alias crosshairq crh3"
alias crh3 "ch3;alias crosshairq crh4"
alias crh4 "ch4;alias crosshairq crh5"
alias crh5 "ch5;alias crosshairq crh6"
alias crh6 "ch6;alias crosshairq crh7"
alias crh7 "ch7;alias crosshairq crh8"
alias crh8 "ch8;alias crosshairq crh1"
bind "/" "crosshairq"
bind "kp_1" "crh1"
bind "kp_2" "crh2"
bind "kp_3" "crh3"
bind "kp_4" "crh4"
bind "kp_5" "crh5"
bind "kp_6" "crh6"
bind "kp_7" "crh7"
bind "kp_8" "crh8"
bind "kp_9" "toggle cl_crosshair_recoil 0 1"
bind "kp_plus" "toggle cl_crosshair_t 1 0"
bind "kp_minus" "toggle cl_crosshairdot 1 0"
bind "kp_enter" "messagemode2"
echo "##### sen1/sen2_for_sensitivity #####"
echo "##### nade_for_practice; G_for_re-throw #####"
echo "##### single_for_bots #####"