Counter-Strike 2

Counter-Strike 2

Not enough ratings
[Script] Advanced Autoexec v1.0
By TуρєC
This guide is about setting up a clear system and split your one large autoexec.cfg into a few smaller files. This makes it easier to add new scripts, binds and stay on top of your things.
   
Award
Favorite
Favorited
Unfavorite
Overview
I split my autoexec into at least four files. In the following guide I'll explain the advantage of using different files for different purposes:
  • autoexec.cfg
  • scripts.cfg
  • keymapping.cfg
  • binds.cfg
Autoexec
The main purpose of this file is to load all others and to set up some default game settings.

// **AUTOEXEC** // ------------ clear unbindall exec scripts exec keymapping exec binds // - Game Settings // - Crosshair // - Viewmodels // - Hud // - Rates // - Video // - Tweaks // - Music // - Mouse // - Net
Scripts
This file contains all scripts and sets them up to make them accessible.

// **SCRIPTS** // ----------- // - Jumpthrow // - Runthrow // - Damage given // - Scorenet // - Crossaim // - Show equipment // - Knife Double Switch // - Bombfinder // - Volume Switcher
Keymapping
If you used secound key bindings like my Advanced Buyscript or a nade switcher, this file set all aliases for you to make them bindable in binds.cfg.

http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=922493767

// **KEYMAPPING** // -------------- // - Advanced Buyscript // - Granade switcher
Binds
This file simply maps all scripts and methods to your keys.

// **BINDS** // --------- // Bind 0-z bind "0" "vol_up" bind "1" "slot1" .. bind "y" "impulse 100" bind "z" "radio2" // Bind Num Pad bind "KP_INS" "d_ins" bind "KP_END" "d_awp" bind "-" "d_decoy" bind "KP_DOWNARROW" "d_ump45" bind "KP_PGDN" "d_mp7" bind "KP_LEFTARROW" "d_full2" bind "KP_5" "d_full1" bind "KP_RIGHTARROW" "d_pistol" bind "KP_HOME" "d_defuse" bind "KP_UPARROW" "d_vest_h" bind "KP_PGUP" "d_flash" bind "KP_MULTIPLY" "d_fire" bind "KP_MINUS" "d_he" bind "KP_PLUS" "d_smoke" bind "KP_ENTER" "d_enter" bind "KP_DEL" "+autodrop" //MODKEY! // Bind Function Keys bind "F3" "scrollj" .. bind "F11" "toggleconsole" // Bind Mouse bind "MOUSE1" "+attack" bind "MOUSE2" "+attack2" bind "MOUSE3" "use weapon_c4; drop" bind "MWHEELUP" "+jump" bind "MWHEELDOWN" "wchangerb"
Practice (optional)
Keyboard Layout
keyboard-layout-editor.^com/#/gists/bc9e9e66014dcb0457c939ad8e57dc75 (remove ^)