Skip to content

Instantly share code, notes, and snippets.

@iydon
Last active October 26, 2023 07:30
Show Gist options
  • Select an option

  • Save iydon/7e7aca969de51acbfc9e3f3062cfc547 to your computer and use it in GitHub Desktop.

Select an option

Save iydon/7e7aca969de51acbfc9e3f3062cfc547 to your computer and use it in GitHub Desktop.
CS:GO configuration
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "b" "buymenu"
bind "c" "+voicerecord"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "+my_inspect"
alias "+my_inspect" "-lookatweapon ; +reload"
alias "-my_inspect" "+lookatweapon ; -reload"
bind "g" "drop"
bind "h" "+jumpthrow"
alias "+jumpthrow" "+jump;-attack;-attack2"
alias "-jumpthrow" "-jump"
bind "i" "show_loadout_toggle"
bind "m" "teammenu"
bind "q" "+my_lastinv"
alias "+my_lastinv" "lastinv"
alias "-my_lastinv" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "+spray_menu"
bind "u" "messagemode2"
bind "v" "toggle cl_righthand 0 1"
bind "w" "+forward"
bind "x" "+radialradio"
bind "y" "messagemode"
bind "z" "radio"
bind "`" "toggleconsole"
bind "." "exec practice"
bind "/" "exec hlae"
bind "SPACE" "+jump"
bind "TAB" "+my_shownet"
alias "+my_shownet" "+showscores ; net_graph 1 ; cl_showpos 1"
alias "-my_shownet" "-showscores ; net_graph 0 ; cl_showpos 0"
bind "ESCAPE" "cancelselect"
bind "DEL" "mute"
bind "PAUSE" "pause"
bind "SHIFT" "+speed;r_cleardecals"
bind "CTRL" "+duck"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "player_ping"
bind "MOUSE4" "voicerecord"
bind "MOUSE5" "+voicerecord"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
bind "kp_ins" "kill"
bind "kp_end" "map de_dust2"
bind "kp_downarrow" "map de_mirage"
bind "kp_pgdn" "map de_inferno"
@panorama_debug_overlay_opacity "0.8"
adsp_debug "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
budget_averages_window "30"
budget_background_alpha "128"
budget_bargraph_background_alpha "128"
budget_bargraph_range_ms "16.6666666667"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_panel_height "384"
budget_panel_width "512"
budget_panel_x "0"
budget_panel_y "50"
budget_peaks_window "30"
budget_show_averages "0"
budget_show_history "1"
budget_show_peaks "1"
bugreporter_uploadasync "0"
bugreporter_username ""
c_maxdistance "200"
c_maxpitch "90"
c_maxyaw "135"
c_mindistance "30"
c_minpitch "0"
c_minyaw "-135"
c_orthoheight "100"
c_orthowidth "100"
c_thirdpersonshoulder "false"
c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cachedvalue_count_partybrowser "1607653649"
cachedvalue_count_teammates "1607835657"
cam_collision "1"
cam_idealdelta "4.0"
cam_idealdist "150"
cam_idealdistright "0"
cam_idealdistup "0"
cam_ideallag "4.0"
cam_idealpitch "0"
cam_idealyaw "0"
cam_snapto "0"
cc_lang ""
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
chet_debug_idle "0"
cl_allowdownload "1"
cl_allowupload "1"
cl_autohelp "1"
cl_autowepswitch "0"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.33"
cl_bobamt_vert "0.14"
cl_bobcycle "0.98"
cl_buywheel_nomousecentering "0"
cl_buywheel_nonumberpurchasing "0"
cl_chatfilter_version "1"
cl_chatfilters "63"
cl_cmdrate "64"
cl_color "3"
cl_compass_enabled "1"
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.300000"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "2"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "4"
cl_crosshaircolor_b "255"
cl_crosshaircolor_g "0"
cl_crosshaircolor_r "1"
cl_crosshairdot "1"
cl_crosshairgap "-2.000000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "1.000000"
cl_crosshairstyle "5"
cl_crosshairthickness "0.000000"
cl_crosshairusealpha "1"
cl_debugrumble "0"
cl_detail_avoid_force "0.4"
cl_detail_avoid_radius "64"
cl_detail_avoid_recover_speed "0.25"
cl_detail_max_sway "5"
cl_disable_round_end_report "0"
cl_disablefreezecam "0"
cl_disablehtmlmotd "0"
cl_dm_buyrandomweapons "0"
cl_downloadfilter "all"
cl_dz_playagain_auto_spectate "0"
cl_embedded_stream_audio_volume "60"
cl_embedded_stream_audio_volume_xmaster "1"
cl_fixedcrosshairgap "3"
cl_forcepreload "0"
cl_freezecampanel_position_dynamic "1"
cl_grass_mip_bias "-0.5"
cl_hide_avatar_images ""
cl_hud_background_alpha "0.5"
cl_hud_bomb_under_radar "0"
cl_hud_color "10"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "1"
cl_hud_radar_scale "1.3"
cl_idealpitchscale "0.8"
cl_inventory_saved_filter2 "all"
cl_inventory_saved_sort2 "inv_sort_age"
cl_invites_only_friends "0"
cl_invites_only_mainmenu "0"
cl_itemimages_dynamically_generated "2"
cl_join_advertise "1"
cl_minimal_rtt_shadows "1"
cl_mouselook "1"
cl_mute_all_but_friends_and_party "0"
cl_mute_enemy_team "0"
cl_obs_interp_enable "1"
cl_observed_bot_crosshair "0"
cl_observercrosshair "1"
cl_ping_fade_deadzone "60"
cl_ping_fade_distance "300"
cl_player_ping_mute "0"
cl_playerspray_auto_apply "1"
cl_promoted_settings_acknowledged "1:1607035830373"
cl_quickinventory_lastinv "1"
cl_quickinventory_line_update_speed "65.0f"
cl_radar_always_centered "0"
cl_radar_icon_scale_min "0.4"
cl_radar_rotate "1"
cl_radar_scale "0.4"
cl_radar_square_with_scoreboard "1"
cl_radial_radio_tab_0_text_1 "#Chatwheel_sectorclear"
cl_radial_radio_tab_0_text_2 "#Chatwheel_youfixbomb"
cl_radial_radio_tab_0_text_3 "#Chatwheel_bombcarrierspotted"
cl_radial_radio_tab_0_text_4 "#Chatwheel_needbackup"
cl_radial_radio_tab_0_text_5 "#Chatwheel_holdposition"
cl_radial_radio_tab_0_text_6 "#Chatwheel_sorry"
cl_radial_radio_tab_0_text_7 "#Chatwheel_cheer"
cl_radial_radio_tab_0_text_8 "#Chatwheel_guardingbomb"
cl_radial_radio_tab_1_text_1 "#Chatwheel_enemyspotted"
cl_radial_radio_tab_1_text_2 "#Chatwheel_needbackup"
cl_radial_radio_tab_1_text_3 "#Chatwheel_bplan"
cl_radial_radio_tab_1_text_4 "#Chatwheel_bombcarrierspotted"
cl_radial_radio_tab_1_text_5 "#Chatwheel_multipleenemieshere"
cl_radial_radio_tab_1_text_6 "#Chatwheel_sniperspotted"
cl_radial_radio_tab_1_text_7 "#Chatwheel_aplan"
cl_radial_radio_tab_1_text_8 "#Chatwheel_inposition"
cl_radial_radio_tab_2_text_1 "#Chatwheel_affirmative"
cl_radial_radio_tab_2_text_2 "#Chatwheel_negative"
cl_radial_radio_tab_2_text_3 "#Chatwheel_compliment"
cl_radial_radio_tab_2_text_4 "#Chatwheel_thanks"
cl_radial_radio_tab_2_text_5 "#Chatwheel_cheer"
cl_radial_radio_tab_2_text_6 "#Chatwheel_peptalk"
cl_radial_radio_tab_2_text_7 "#Chatwheel_sorry"
cl_radial_radio_tab_2_text_8 "#Chatwheel_sectorclear"
cl_radial_radio_version_reset "12"
cl_radialmenu_deadzone_size "0.04"
cl_righthand "1"
cl_rumblescale "1.0"
cl_sanitize_player_names "0"
cl_scoreboard_mouse_enable_binding "+attack2"
cl_scoreboard_survivors_always_on "0"
cl_show_clan_in_death_notice "1"
cl_show_observer_crosshair "2"
cl_showhelp "1"
cl_showloadout "0"
cl_showpluginmessages2 "0"
cl_sniper_delay_unscope "0"
cl_spec_follow_grenade_key "0"
cl_spec_mode "4"
cl_tablet_mapmode "1"
cl_teamid_overhead_mode "2"
cl_teammate_colors_show "1"
cl_thirdperson "0"
cl_timeout "30"
cl_updaterate "64.000000"
cl_use_opens_buy_menu "1"
cl_versus_intro "1"
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
closecaption "0"
closeonbuy "0"
commentary_firstrun "0"
con_allownotify "1"
con_enable "1"
crosshair "1"
demo_index "0"
demo_index_max_other "500"
dsp_enhance_stereo "0"
engine_no_focus_sleep "50"
force_audio_english "0"
func_break_max_pieces "15"
g15_update_msec "250"
gameinstructor_enable "1"
hud_scaling "0.750000"
hud_showtargetid "1"
hud_takesshots "0"
joy_accelmax "1.0"
joy_accelscale "3.5"
joy_accelscalepoly "0.4"
joy_advanced "0"
joy_advaxisr "0"
joy_advaxisu "0"
joy_advaxisv "0"
joy_advaxisx "0"
joy_advaxisy "0"
joy_advaxisz "0"
joy_autoaimdampen "0"
joy_autoAimDampenMethod "0"
joy_autoaimdampenrange "0"
joy_axisbutton_threshold "0.3"
joy_cfg_preset "1"
joy_circle_correct "1"
joy_curvepoint_1 "0.001"
joy_curvepoint_2 "0.4"
joy_curvepoint_3 "0.75"
joy_curvepoint_4 "1"
joy_curvepoint_end "2"
joy_diagonalpov "0"
joy_display_input "0"
joy_forwardsensitivity "-1"
joy_forwardthreshold "0.15"
joy_gamma "0.2"
joy_inverty "0"
joy_lowend "1"
joy_lowend_linear "0.55"
joy_lowmap "1"
joy_movement_stick "0"
joy_name "joystick"
joy_no_accel_jump "0"
joy_pitchsensitivity "-1"
joy_pitchthreshold "0.15"
joy_response_look "0"
joy_response_look_pitch "1"
joy_response_move "1"
joy_sensitive_step0 "0.1"
joy_sensitive_step1 "0.4"
joy_sensitive_step2 "0.90"
joy_sidesensitivity "1"
joy_sidethreshold "0.15"
joy_wingmanwarrior_centerhack "0"
joy_wingmanwarrior_turnhack "0"
joy_yawsensitivity "-1"
joy_yawthreshold "0.15"
joystick "1"
joystick_force_disabled "1"
joystick_force_disabled_set_from_options "1"
key_bind_version "5"
lobby_default_privacy_bits2 "1"
lockMoveControllerRet "0"
lookspring "0"
lookstrafe "0"
m_customaccel "0"
m_customaccel_exponent "1.05"
m_customaccel_max "0"
m_customaccel_scale "0.04"
m_forward "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
m_pitch "0.022"
m_rawinput "0"
m_side "0.8"
m_yaw "0.022"
mapoverview_icon_scale "1.0"
mat_enable_uber_shaders "1"
mat_monitorgamma "2.2"
mat_monitorgamma_tv_enabled "0"
mat_powersavingsmode "0"
mat_queue_report "0"
mat_spewalloc "0"
mat_texture_list_content_path ""
mc_accel_band_size "0.5"
mc_dead_zone_radius "0.06"
mc_max_pitchrate "100.0"
mc_max_yawrate "230.0"
mm_csgo_community_search_players_min "3"
mm_dedicated_search_maxping "150"
mm_server_search_lan_ports "27015,27016,27017,27018,27019,27020"
muzzleflash_light "1"
name "iydon"
net_allow_multicast "1"
net_graph "0"
net_graphheight "64"
net_graphholdsvframerate "0"
net_graphipc "0"
net_graphmsecs "400"
net_graphpos "1"
net_graphproportionalfont "1"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphshowsvframerate "0"
net_graphsolid "1"
net_graphtext "1"
net_maxroutable "1200"
net_scale "5"
net_steamcnx_allowrelay "1"
npc_height_adjust "1"
option_duck_method "0"
option_speed_method "0"
password "843B51A9244F1D59969C9CE6C1CE88BF37FA72475C5FADDD694E42DBE150EA53"
play_distance "1"
player_botdifflast_s "5"
player_competitive_maplist_2v2_9_1_EB331822 "mg_de_guard,mg_de_elysion,mg_de_vertigo,mg_de_inferno,mg_de_overpass,mg_de_cbble,mg_de_train,mg_de_shortnuke,mg_de_shortdust,mg_de_lake"
player_competitive_maplist_8_9_1_73271C88 "mg_de_overpass,mg_de_vertigo,mg_de_nuke,mg_de_train,mg_de_dust2,mg_de_anubis,mg_de_cache,mg_cs_agency,mg_cs_office,mg_de_ancient,mg_de_engage,mg_cs_apollo,mg_lobby_mapveto"
player_nevershow_communityservermessage "1"
player_survival_list_9_1_B "mg_dz_blacksite,mg_dz_sirocco,mg_dz_frostbite"
player_teamplayedlast "2"
player_wargames_list2_9_1_E04 "mg_skirmish_armsrace,mg_skirmish_demolition,mg_skirmish_flyingscoutsman"
player_wargames_retakes_list_9_1_E04 "mg_skirmish_retakes"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1"
r_drawtracers_firstperson "1"
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
r_player_visibility_mode "1"
rate "300000.000000"
safezonex "1.0"
safezoney "1.0"
sc_enable "1.0"
sc_joystick_map "1"
sc_pitch_sensitivity "1.0"
sc_yaw_sensitivity "1.0"
scene_showfaceto "0"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
sensitivity "2.5"
sk_autoaim_mode "1"
skill "1.000000"
snd_deathcamera_volume "0.3"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
snd_ducking_off "1"
snd_ducktovolume "0.55"
snd_dzmusic_volume "0.2"
snd_hrtf_distance_behind "100"
snd_hrtf_voice_delay "0.1"
snd_hwcompat "0"
snd_mapobjective_volume "0"
snd_menumusic_volume "0.300000"
snd_mix_async "1"
snd_mix_async_onetime_reset "1"
snd_mixahead "0.025"
snd_music_selection "2"
snd_music_volume_onetime_reset_2 "1"
snd_musicvolume_multiplier_inoverlay "0.1"
snd_mute_losefocus "1"
snd_mute_mvp_music_live_players "0"
snd_mvp_volume "1.0"
snd_pitchquality "1"
snd_roundend_volume "0"
snd_roundstart_volume "0"
snd_surround_speakers "-1"
snd_tensecondwarning_volume "0"
sound_device_override ""
spec_replay_autostart "1"
spec_show_xray "1"
spec_usenumberkeys_nobinds "1"
ss_splitmode "0"
store_version "1"
suitvolume "0.25"
sv_forcepreload "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "logs"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_pvsskipanimation "1"
sv_skyname "sky_day02_05"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_unlockedchapters "1"
sv_voiceenable "1"
test_convar "0"
texture_budget_background_alpha "128"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_panel_height "284"
texture_budget_panel_width "512"
texture_budget_panel_x "0"
texture_budget_panel_y "450"
tr_best_course_time "0"
tr_completed_training "0"
triple_monitor_mode "0"
trusted_launch "1"
trusted_launch_once "0"
tv_nochat "0"
ui_deepstats_radio_heat_figurine "0"
ui_deepstats_radio_heat_tab "0"
ui_deepstats_radio_heat_team "0"
ui_deepstats_toplevel_mode "0"
ui_inventorysettings_recently_acknowledged ""
ui_mainmenu_bkgnd_movie_C5E107D7 "ancient"
ui_nearbylobbies_filter3 "competitive"
ui_news_last_read_link "https://blog.counter-strike.net/zh-hans/index.php/2020/12/31941/"
ui_playsettings_maps_listen_casual "mg_de_ancient"
ui_playsettings_maps_listen_competitive "random_classic"
ui_playsettings_maps_listen_deathmatch "random_classic"
ui_playsettings_maps_listen_scrimcomp2v2 "mg_de_inferno"
ui_playsettings_maps_listen_skirmish "mg_skirmish_flyingscoutsman"
ui_playsettings_maps_listen_skirmish_retakes "mg_skirmish_retakes"
ui_playsettings_maps_official_casual "mg_casualdelta"
ui_playsettings_maps_official_deathmatch "mg_dust247"
ui_playsettings_maps_workshop "@workshop/2185699891/csgohub_prac"
ui_playsettings_mode_listen "casual"
ui_playsettings_mode_official_v20 "deathmatch"
ui_playsettings_survival_solo "0"
ui_playsettings_warmup_map_name "de_mirage"
ui_popup_weaponupdate_version "2"
ui_setting_advertiseforhire_auto "1"
ui_setting_advertiseforhire_auto_last "/competitive"
ui_steam_overlay_notification_position "topright"
ui_vanitysetting_loadoutslot_ct "rifle1"
ui_vanitysetting_loadoutslot_t "rifle1"
ui_vanitysetting_team "t"
vgui_message_dialog_modal "1"
viewmodel_fov "60"
viewmodel_offset_x "1"
viewmodel_offset_y "1"
viewmodel_offset_z "-1"
viewmodel_presetpos "1"
viewmodel_recoil "1.0"
voice_caster_enable "0"
voice_caster_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
voice_mixer_boost "0"
voice_mixer_mute "0"
voice_mixer_volume "1.0"
voice_modenable "1"
voice_positional "0"
voice_scale "1.0"
voice_system_enable "1"
voice_threshold "4000"
volume "1.0"
vprof_graphheight "256"
vprof_graphwidth "512"
vprof_unaccounted_limit "0.3"
vprof_verbose "1"
vprof_warningmsec "10"
weapon_accuracy_logging "0"
xbox_autothrottle "1"
xbox_throttlebias "100"
xbox_throttlespoof "200"
zoom_sensitivity_ratio_joystick "1.0"
zoom_sensitivity_ratio_mouse "1.0"
// 快速断开连接,防止被恶意踢出
bind "ENTER" "disconnect"
// Rush B: 10048859
// Bilibili_Inc: 33416861
// Just Monika: 30809938
// SUSTC: 10637007
cl_clanid 0
bind "n" "my_team"
alias "my_team" "my_team_null"
alias "my_team_null" "cl_clanid 0 ; alias my_team my_team_bilibili"
alias "my_team_bilibili" "cl_clanid 33416861 ; alias my_team my_team_monika"
alias "my_team_monika" "cl_clanid 30809938 ; alias my_team my_team_sustc"
alias "my_team_sustc" "cl_clanid 10637007 ; alias my_team my_team_shark"
alias "my_team_shark" "cl_clanid 40997070 ; alias my_team my_team_null"
// crashz CROSSHAIR GENERATOR V3
bind "," "my_croosshair"
alias "my_croosshair" "my_croosshair_1"
alias "my_croosshair_1" "my_croosshair_1_1;my_croosshair_1_2 ; alias my_croosshair my_croosshair_2"
alias "my_croosshair_1_1" "cl_crosshair_t 0;cl_crosshair_drawoutline 0;cl_crosshair_dynamic_maxdist_splitratio 0.3;cl_crosshair_dynamic_splitalpha_outermod 0.5;cl_crosshair_dynamic_splitdist 7;cl_crosshair_friendly_warning 2;cl_crosshairalpha 255;cl_crosshaircolor 4"
alias "my_croosshair_1_2" "cl_crosshaircolor_b 255;cl_crosshaircolor_g 0;cl_crosshaircolor_r 1;cl_crosshairdot 1;cl_crosshairgap -2;cl_crosshairsize 1;cl_crosshairstyle 5;cl_crosshairthickness 0"
alias "my_croosshair_2" "my_croosshair_2_1;my_croosshair_2_2 ; alias my_croosshair my_croosshair_3"
alias "my_croosshair_2_1" "cl_crosshair_t 1;cl_crosshair_drawoutline 0;cl_crosshair_dynamic_maxdist_splitratio 0.3;cl_crosshair_dynamic_splitalpha_outermod 0.5;cl_crosshair_dynamic_splitdist 7;cl_crosshair_friendly_warning 2;cl_crosshairalpha 255;cl_crosshaircolor 5"
alias "my_croosshair_2_2" "cl_crosshaircolor_b 109;cl_crosshaircolor_g 67;cl_crosshaircolor_r 255;cl_crosshairdot 0;cl_crosshairgap -5;cl_crosshairsize 1.5;cl_crosshairstyle 4;cl_crosshairthickness 1.8"
alias "my_croosshair_3" "my_croosshair_3_1;my_croosshair_3_2 ; alias my_croosshair my_croosshair_4"
alias "my_croosshair_3_1" "cl_crosshair_t 0;cl_crosshair_drawoutline 0;cl_crosshair_dynamic_maxdist_splitratio 0.0;cl_crosshair_dynamic_splitalpha_outermod 0.3;cl_crosshair_dynamic_splitdist 5;cl_crosshair_friendly_warning 1;cl_crosshairalpha 75;cl_crosshaircolor 5"
alias "my_croosshair_3_2" "cl_crosshaircolor_b 255;cl_crosshaircolor_g 0;cl_crosshaircolor_r 255;cl_crosshairdot 1;cl_crosshairgap -7;cl_crosshairsize 1000;cl_crosshairstyle 4;cl_crosshairthickness 1;cl_fixedcrosshairgap -7"
alias "my_croosshair_4" "my_croosshair_4_1;my_croosshair_4_2 ; alias my_croosshair my_croosshair_1"
alias "my_croosshair_4_1" "cl_crosshair_t 0;cl_crosshair_drawoutline 1;cl_crosshair_dynamic_maxdist_splitratio 0.35;cl_crosshair_dynamic_splitalpha_outermod 0.5;cl_crosshair_dynamic_splitdist 7;cl_crosshair_friendly_warning 1;cl_crosshairalpha 240;cl_crosshaircolor 5"
alias "my_croosshair_4_2" "cl_crosshaircolor_b 0;cl_crosshaircolor_g 255;cl_crosshaircolor_r 0;cl_crosshairdot 1;cl_crosshairgap 9999;cl_crosshairsize 4;cl_crosshairstyle 4;cl_crosshairthickness 0.5;cl_fixedcrosshairgap 3"
// knife: ent_fire_weapon_knife.cfg
bind "[" "my_knife"
alias "my_knife" "my_knife_1"
alias "my_knife_0" "sv_cheats 1;mp_drop_knife_enable 1"
alias "my_knife_1" "my_knife_0;give weapon_knife_outdoor;exec ent_fire_weapon_knife ; alias my_knife my_knife_2"
alias "my_knife_2" "my_knife_0;give weapon_knife_skeleton;exec ent_fire_weapon_knife ; alias my_knife my_knife_3"
alias "my_knife_3" "my_knife_0;give weapon_knife_canis;exec ent_fire_weapon_knife ; alias my_knife my_knife_4"
alias "my_knife_4" "my_knife_0;give weapon_knife_cord;exec ent_fire_weapon_knife ; alias my_knife my_knife_5"
alias "my_knife_5" "my_knife_0;give weapon_knife_css;exec ent_fire_weapon_knife ; alias my_knife my_knife_6"
alias "my_knife_6" "my_knife_0;give weapon_bayonet;exec ent_fire_weapon_knife ; alias my_knife my_knife_7"
alias "my_knife_7" "my_knife_0;give weapon_knife_flip;exec ent_fire_weapon_knife ; alias my_knife my_knife_8"
alias "my_knife_8" "my_knife_0;give weapon_knife_gut;exec ent_fire_weapon_knife ; alias my_knife my_knife_9"
alias "my_knife_9" "my_knife_0;give weapon_knife_karambit;exec ent_fire_weapon_knife ; alias my_knife my_knife_10"
alias "my_knife_10" "my_knife_0;give weapon_knife_m9_bayonet;exec ent_fire_weapon_knife ; alias my_knife my_knife_11"
alias "my_knife_11" "my_knife_0;give weapon_knife_tactical;exec ent_fire_weapon_knife ; alias my_knife my_knife_12"
alias "my_knife_12" "my_knife_0;give weapon_knife_butterfly;exec ent_fire_weapon_knife ; alias my_knife my_knife_13"
alias "my_knife_13" "my_knife_0;give weapon_knife_falchion;exec ent_fire_weapon_knife ; alias my_knife my_knife_14"
alias "my_knife_14" "my_knife_0;give weapon_knife_push;exec ent_fire_weapon_knife ; alias my_knife my_knife_15"
alias "my_knife_15" "my_knife_0;give weapon_knife_survival_bowie;exec ent_fire_weapon_knife ; alias my_knife my_knife_16"
alias "my_knife_16" "my_knife_0;give weapon_knife_ursus;exec ent_fire_weapon_knife ; alias my_knife my_knife_17"
alias "my_knife_17" "my_knife_0;give weapon_knife_gypsy_jackknife;exec ent_fire_weapon_knife ; alias my_knife my_knife_18"
alias "my_knife_18" "my_knife_0;give weapon_knife_stiletto;exec ent_fire_weapon_knife ; alias my_knife my_knife_19"
alias "my_knife_19" "my_knife_0;give weapon_knife_widowmaker;exec ent_fire_weapon_knife ; alias my_knife my_knife_20"
alias "my_knife_20" "my_knife_0;give weapon_knifegg;exec ent_fire_weapon_knife ; alias my_knife my_knife_21"
alias "my_knife_21" "my_knife_0;give weapon_knife_ghost;exec ent_fire_weapon_knife ; alias my_knife my_knife_1"
// host_timescale
bind "]" "my_timescale"
alias "my_timescale" "my_timescale_1"
alias "my_timescale_0" "sv_cheats 1"
alias "my_timescale_1" "my_timescale_0;host_timescale 0.25 ; alias my_timescale my_timescale_2"
alias "my_timescale_2" "my_timescale_0;host_timescale 0.5 ; alias my_timescale my_timescale_3"
alias "my_timescale_3" "my_timescale_0;host_timescale 1 ; alias my_timescale my_timescale_4"
alias "my_timescale_4" "my_timescale_0;host_timescale 1.5 ; alias my_timescale my_timescale_5"
alias "my_timescale_5" "my_timescale_0;host_timescale 2 ; alias my_timescale my_timescale_1"
ent_fire weapon_knife addoutput "classname weapon_knifegg"
// 加载脚本 Counter-Strike Global Offensive\csgo\scripts\vscripts
script_execute practice_extension
// 小键盘为设置跑图快捷键
// kp_pgdn, kp_home
// 绑定按键
bind "kp_enter" "noclip" // 飞行
bind "kp_downarrow" "toggle bot_crouch" // bot 蹲下(注意键位冲突)
bind "kp_slash" "bot_kill" // 杀死 bot
bind "KP_5" "toggle r_drawothermodels 1 2" // 切换透视模式
bind "kp_plus" "bot_add" // 添加 bot
bind "kp_minus" "bot_kick" // 删除 bot
bind "kp_multiply" "bot_stop 1;bot_place" // 放置 bot(先添加 bot)
bind "kp_ins" "mp_restartgame 1" // 重新开始游戏
bind "kp_uparrow" "sv_rethrow_last_grenade" // 重现最近一次的投掷物
bind "kp_leftarrow" "toggle cl_grenadepreview" // 切换投掷物轨迹预测
bind "kp_rightarrow" "cl_sim_grenade_trajectory 30" // 显示当前道具轨迹 30s
bind "kp_pgup" "give item_assaultsuit;give weapon_flashbang;give weapon_hegrenade;give weapon_smokegrenade;give weapon_molotov;script sethp()" // 补齐血条头甲和满道具
bind "kp_end" "toggle bot_mimic 0 1" // BOT 模仿玩家动作
bind "leftarrow" "script storeA();con_logfile cfg/A.log; getpos; con_logfile 0" // 保存点A
bind "uparrow" "script loadA();exec A.log" // 回到点A
bind "rightarrow" "script storeB();con_logfile cfg/B.log; getpos; con_logfile 0" // 保存点B
bind "downarrow" "script loadB();exec B.log" // 回到点B
alias "hint" "script hint()" // 脚本存在时,使用hint指令打印跑图提示
bind "kp_del" "+Pucci" // 一键加速时间(让烟雾弹和燃烧弹快速消失)
alias "+Pucci" "host_timescale 25"
alias "-Pucci" "host_timescale 1"
// 一次性指令
sv_cheats 1 // 开启作弊
cl_use_opens_buy_menu 0 // 关闭 E 键打开购买菜单
ammo_grenade_limit_total 6 // 至多携带道具数
bot_kick // 踢掉电脑
sv_alltalk 1 // 全局语音(360度无死角)
sv_talk_enemy_dead 1
sv_talk_enemy_living 1
sv_talk_after_dying_time 99999
sv_infinite_ammo 1 // 无限子弹 <1.无限子弹 2.无限弹夹数 0.关闭>
sv_showimpacts 1 // 显示弹着点
sv_showimpacts_time 15 // 弹着点时间
sv_grenade_trajectory 1 // 显示投掷物轨迹
sv_grenade_trajectory_time 15 // 投掷物轨迹显示时间
sv_grenade_trajectory_dash 0 // 轨迹样式<1.绿黑相间 2.绿>
sv_grenade_trajectory_thickness 0.5 // 轨迹线厚度
mp_maxmoney 65535 // 金钱上限
mp_startmoney 65535 // 开始满金钱
mp_afterroundmoney 65535 // 回合结束满金钱
mp_buytime 9999 // 购买时间
mp_warmuptime 9999 // 热身时间
mp_roundtime 60 // 每回合时间
mp_roundtime_defuse 60 // 每回合时间
mp_freezetime 1 // 开局等待时间1s
mp_round_restart_delay 2 // 回合结束后等待时间2s
mp_buy_anywhere 1 // 全地图购买
mp_free_armor 2 // 出生全甲<1.半甲 2.全甲 0.关闭>
mp_drop_knife_enable 1 // 允许扔刀
mp_drop_grenade_enable 1 // 允许扔道具
mp_items_prohibited 0 // 去除物品购买限制
mp_humanteam any // 可加入任意阵营
mp_limitteams 0 // 去除队伍人数限制
mp_autoteambalance 0 // 关闭自动平衡队伍人数
mp_autokick 0 // 关闭自动踢人
mp_spectators_max 9 // 最多观察者人数
mp_forcecamera 0 // 不限制观察者观看的队伍
mp_respawn_immunitytime 0 // 复活免疫时间
mp_respawn_on_death_ct 1 // CT 死后即刻复活
mp_respawn_on_death_t 1 // T 死后即刻复活
mp_warmup_end // 热身结束
// CT和T出生携带的武器
mp_ct_default_secondary weapon_p250
mp_ct_default_primary weapon_m4a4
mp_t_default_secondary weapon_p250
mp_t_default_primary weapon_ak47
// 全枪全弹
give weapon_awp
give weapon_deagle
give weapon_hegrenade
give weapon_flashbang
give weapon_smokegrenade
give weapon_molotov
give weapon_vesthelm
give weapon_ak47
// 本文件放在此处 Counter-Strike Global Offensive\csgo\scripts\vscripts
// 加载方法 script_execute practiceExt
// 初始化
ent <- null; //定义物体变量
command <- null; //定义指令变量,存放指令字符串
PositionA <- Vector(0, 0, 0); //定义A位置变量
AngleA <- Vector(0, 0, 0); //定义A角度变量
PositionB <- Vector(0, 0, 0); //定义B位置变量
AngleB <- Vector(0, 0, 0); //定义B角度变量
printl( @">>> 跑图CFG扩展脚本初始化完成" );
function sethp() {
SendToConsole( @"ent_fire !self addoutput ""health 100"" " );
}
// 因为无法获得pitch 竖直角度总是为0 故此处主要用作弹出提示 等待改进
function storeA() {
//获取玩家实体 获取时总是1次成功1次失败故使用 或 运算
if ( ( ent = Entities.FindByClassname(ent, "player") ) != null || ( ent = Entities.FindByClassname(ent, "player") ) != null ) {
PositionA = ent.GetOrigin(); //获取位置
AngleA = ent.GetAngles(); //获取角度
ScriptPrintMessageCenterAll( "已保存点A" );
printl( ">>> 点A指令如下" )
}
//else {
// ScriptPrintMessageCenterAll( "保存点A失败,位置为(0, 0, 0)" );
//}
}
function loadA() {
if( PositionA.x || PositionA.y || AngleA.x || AngleA.y || AngleA.z ) {
command = "setpos " + PositionA.x + ", " + PositionA.y + ", " + PositionA.z + ";";
//command = command + "setang " + AngleA.x + ", " + AngleA.y + ", " + AngleA.z + ";" ;
SendToConsole( command );
SendToConsole( "-moveleft;-moveright;-forward;-back" );
ent.SetVelocity( Vector(0,0,0) );
ScriptPrintMessageCenterAll( "已回到点A" );
}
//else {
// ScriptPrintMessageCenterAll( "回到点A失败,位置为(0, 0, 0)" );
//}
}
function storeB() {
//获取玩家实体
if ( ( ent = Entities.FindByClassname(ent, "player") ) != null || ( ent = Entities.FindByClassname(ent, "player") ) != null ) {
PositionB = ent.GetOrigin(); //获取位置
AngleB = ent.GetAngles(); //获取角度
ScriptPrintMessageCenterAll( "已保存点B" );
printl( ">>> 点B指令如下" )
}
//else {
// ScriptPrintMessageCenterAll( "保存点B失败,位置为(0, 0, 0)" );
//}
}
function loadB() {
if( PositionB.x || PositionB.y || AngleB.x || AngleB.y || AngleB.z ) {
command = "setpos " + PositionB.x + ", " + PositionB.y + ", " + PositionB.z + ";";
//command = command + "setang " + AngleB.x + ", " + AngleB.y + ", " + AngleB.z + ";" ;
SendToConsole( command );
SendToConsole( "-moveleft;-moveright;-forward;-back" );
ent.SetVelocity( Vector(0,0,0) );
ScriptPrintMessageCenterAll( "已回到点B" );
}
//else {
// ScriptPrintMessageCenterAll( "回到点B失败,位置为(0, 0, 0)" );
//}
}
function cam( i, j ) {
//分享摄像机运动指令 A to B . i 和 j 与运动速度相关
if( PositionA.x || PositionA.y || AngleA.x || AngleA.y || PositionB.x || PositionB.y || AngleB.x || AngleB.y ) {
command = "spec_mode 6;";
command = command + "spec_goto " + PositionA.x + " " + PositionA.y + " " + PositionA.z + " " + AngleA.x + " " + AngleA.y +";";
command = command + "spec_lerpto " + PositionB.x + " " + PositionB.y + " " + PositionB.z + " " + AngleB.x + " " + AngleB.y + " " + i + " " + j + ";" ;
printl( "" );
printl( ">>> 摄像机运动指令已生成" );
printl( "" );
printl( command );
}
else {
ScriptPrintMessageCenterAll( "分享摄像机运动指令失败,点A或B位置为(0, 0, 0)" );
}
}
function hint() {
printl("──── 加载设置[auto.cfg] : exec auto");
printl("──── 跑图,练习道具 : exec practice");
printl("──── 对枪,SOLO : exec solo");
printl("──── 地图中加载设置[auto.cfg] : Insert键");
printl("──── 地图中一键跑图[practice.cfg] : Delete键");
printl("────────────────────── BOT相关 ─────────────────────────────");
printl("──── BOT难度(3>2>1>0) : bot_difficulty 3;");
printl("──── BOT静止 : bot_stop 1;");
printl("──── BOT拿刀 : bot_knives_only;");
printl("──── BOT拿手枪 : bot_pistols_only;");
printl("──── BOT全武器 : bot_all_weapons;");
printl("──── BOT加入队伍(any=任意) : bot_join_team ct;");
printl("──── BOT模仿玩家动作 : bot_mimic 1;");
printl("──── BOT模仿角度偏移 : bot_mimic_yaw_offset 180;");
printl("──── BOT蹲下 : bot_crouch 1; ");
printl("──── 添加BOT : bot_add;");
printl("──── 删除BOT : bot_kick;");
printl("──── 杀死BOT : bot_kill;");
printl("──── 放置BOT : bot_place;");
printl("────────────────────── 常用指令 ─────────────────────────────");
printl("──── 热身开始 : mp_warmup_start;");
printl("──── 热身结束 : mp_warmup_end;");
printl("──── 重新开始游戏 : mp_restartgame 1;");
printl("──── 回合开始静止1s : mp_freezetime 1;");
printl("──── 回合结束等待2s : mp_round_restart_delay 2;");
printl("──── 投掷物轨迹时间30s : sv_grenade_trajectory_time 30;");
printl("──── 弹着点时间30s : sv_showimpacts_time 30;");
printl("──── C4爆炸时间999s : mp_c4timer 999;");
printl("──── C4任意处放置 : mp_plant_c4_anywhere 1;");
printl("──── 队友伤害 : mp_teammates_are_enemies 1;");
printl("──── 忽视胜利条件 : mp_ignore_round_win_conditions 1;");
printl("──── 雷达显示所有人 : mp_radar_showall 1;" );
printl("──── 调整护甲(2=全甲) : mp_free_armor 1;");
printl("──── 无敌(个人) : god;");
printl("──── 无敌(所有人) : gods;");
printl("─────────────────────── 快捷键 ─────────────────────────────");
printl("──── BOT蹲下 : 2");
printl("──── 杀死BOT : /");
printl("──── 切换透视模式 : 5");
printl("──── 重现最近一次投掷物 : 8");
printl("──── 切换实时预测轨迹 : 4");
printl("──── 加速时间,松开恢复 : .");
printl("──── 预测投掷物轨迹30s : 6");
printl("──── 添加BOT : +");
printl("──── 删除BOT : -");
printl("──── 放置BOT : *");
printl("──── 重新开始 : 0");
printl("──── 飞行 : Enter");
printl("────────────────────── 脚本功能 ─────────────────────────────");
printl("──── 保存点A : ←");
printl("──── 回到点A : ↑");
printl("──── 保存点B : →");
printl("──── 回到点B : ↓");
printl(@"──── 补齐血条头甲和满道具 : 9");
printl("──── 打印提示(指令) : hint");
printl("═════════════════════════════════════════════════════════════");
printl("·在线游戏时请勿加载或多次加载本CFG,可能会被踢出");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment