Skip to content

Instantly share code, notes, and snippets.

@hubwub
Created October 20, 2014 07:13
Show Gist options
  • Save hubwub/ab58a853c7b7d6a14cb9 to your computer and use it in GitHub Desktop.
Save hubwub/ab58a853c7b7d6a14cb9 to your computer and use it in GitHub Desktop.

Revisions

  1. Anne Celestino renamed this gist Oct 20, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Anne Celestino created this gist Oct 20, 2014.
    130 changes: 130 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,130 @@
    // Basic Graphics (take // away to use)

    rate "128000"
    cl_cmdrate 128
    cl_updaterate 128
    cl_interp "0"
    cl_interp_ratio "1"
    cl_cmdrate "128"
    cl_forcepreload "1"
    fps_max "999"
    viewmodel_fov 68
    mm_dedicated_search_maxping "100"
    cl_showloadout "1"
    cl_viewmodel_shift_left_amt "0" //removes armmovement when crouching
    cl_viewmodel_shift_right_amt "0"
    cl_bob_lower_amt "0" //weapons shaking less while runing
    cl_bobamt_lat "0"
    cl_bobamt_vert "0"
    cl_bobcycle "0.98"
    snd_mixahead "0.05" //less sounddelay
    r_drawtracers_firstperson "0" //no tracers
    cl_disablehtmlmotd "1" //disables motd
    cl_forcepreload "1" //preload
    cl_timeout "150000" //somewhat force reconnect
    cl_autohelp "0" //no beginner tipps
    gameinstructor_enable "0"
    cl_showhelp "0"
    cl_freezecameffects_showholiday "0" //no extraeffects for events
    snd_musicvolume "0" //music off
    mat_monitorgamma "1.6" //brightness
    m_customaccel "0"
    m_mouseaccel1 "0"
    m_mouseaccel2 "0"
    m_mousespeed "0"

    //=====================================================//
    // Num | / | * | - //
    // Lock | DECOY | SMOKE | FLASH //
    //-------------|-------------|-------------|-----------//
    // 7 | 8 | 9 | + //
    // SCOUT | AWP | AUTO SNIPER | NADES //
    //-------------|-------------|-------------| HE //
    // 4 | 5 | 6 | INCEND //
    // FAMAS/GALIL | M4A1/AK | AUG/SG556 | MOLOTOV //
    //-------------|-------------|-------------|-----------//
    // 1 | 2 | 3 | Enter //
    // SHOTGUN | AUTO SHOTGN | MP7 | ARMOR //
    //-------------|-------------|-------------| DEFUSE //
    // 0 | . | RESCUE //
    // DEAGLE | P90 | KIT //
    //=====================================================//

    // Aliases (Abbreviations for weapon combinations)
    alias "m4a1/ak47" "buy m4a1;buy ak47"
    alias "aug/sg556" "buy aug;buy sg556"
    alias "galilar/famas" "buy galilar;buy famas"
    alias "g3sg1/scar20" "buy g3sg1;buy scar20"
    alias "vesthelm/vest" "buy vesthelm;buy vest"
    alias "incgrenade/molotov" "buy incgrenade;buy molotov"


    // Key bindings (Aliases are used here)
    bind "KP_HOME" "buy ssg08; vesthelm/vest"
    bind "KP_UPARROW" "buy awp; vesthelm/vest"
    bind "KP_PGUP" "g3sg1/scar20; vesthelm/vest"


    bind "KP_LEFTARROW" "galilar/famas; vesthelm/vest"
    bind "KP_5" "m4a1/ak47; vesthelm/vest; buy defuser"
    //bind "KP_RIGHTARROW" "cl_crosshairalpha 255;cl_crosshaircolor 4;cl_crosshaircolor_b 0;cl_crosshaircolor_g 0;cl_crosshaircolor_r 0;cl_crosshairdot 0;cl_crosshairgap 0;cl_crosshairsize 5;cl_crosshairstyle 4;cl_crosshairthickness 1;cl_crosshairusealpha 1;cl_fixedcrosshairgap 3;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 1"
    //bind "KP_RIGHTARROW" "cl_fixedcrosshairgap 1; cl_crosshair_outline 1;cl_crosshair_drawoutline 1; cl_crosshairalpha 255; cl_crosshaircolor 5;cl_crosshaircolor_b 112;cl_crosshaircolor_g 0;cl_crosshaircolor_r 255;cl_crosshairdot 0;cl_crosshairgap 1;cl_crosshairscale 0;cl_crosshairsize 5;cl_crosshairstyle 2;cl_crosshairthickness 1.5;cl_crosshairusealpha 1"
    bind "KP_RIGHTARROW" "cl_fixedcrosshairgap 1; cl_crosshair_outline 1;cl_crosshair_drawoutline 1; cl_crosshairalpha 255; cl_crosshaircolor 5;cl_crosshaircolor_b 112;cl_crosshaircolor_g 0;cl_crosshaircolor_r 255;cl_crosshairdot 0;cl_crosshairgap 1;cl_crosshairscale 0;cl_crosshairsize 2;cl_crosshairstyle 4;cl_crosshairthickness 0;cl_crosshairusealpha 1"


    //bind "KP_END" "cl_crosshairalpha 150;cl_crosshaircolor 5;cl_crosshaircolor_b 255;cl_crosshaircolor_r 255;cl_crosshaircolor_g 0;cl_crosshairdot 0;cl_crosshairgap -100;cl_crosshairsize 500;cl_crosshairstyle 2;cl_crosshairusealpha 1;cl_crosshairthickness 0.4;cl_fixedcrosshairgap -100;cl_crosshair_drawoutline 0"
    bind "KP_END" "cl_crosshairstyle 4; cl_crosshairdot 0; cl_crosshairusealpha 1;cl_crosshairalpha 200;cl_crosshaircolor 5;cl_crosshaircolor_r 255;cl_crosshaircolor_g 0;cl_crosshaircolor_b 0;cl_crosshairgap -5;cl_crosshairthickness 1;cl_crosshairsize 2"
    bind "KP_DOWNARROW" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 112;cl_crosshaircolor_r 255;cl_crosshaircolor_g 0;cl_crosshairdot 0;cl_crosshairgap 1;cl_crosshairsize 1;cl_crosshairstyle 2;cl_crosshairusealpha 1;cl_crosshairthickness 4.5;cl_fixedcrosshairgap 1;cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 1"
    //bind "KP_PGDN" "cl_crosshairsize 2.5; cl_crosshairgap -1; cl_crosshairstyle 4; cl_crosshairthickness 1; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness .5; cl_crosshairalpha 999; cl_crosshaircolor 6"
    //bind "KP_PGDN" "cl_crosshair_drawoutline 1 ; cl_crosshair_dynamic_maxdist_splitratio 0 ; cl_crosshair_dynamic_splitalpha_innermod 1 ; cl_crosshair_dynamic_splitalpha_outermod 0.300000 ; cl_crosshair_dynamic_splitdist 7 ; cl_crosshair_outlinethickness 1 ; cl_crosshairalpha 200 ; cl_crosshaircolor 4 ; cl_crosshaircolor_b 50 ; cl_crosshaircolor_g 250 ; cl_crosshaircolor_r 50 ; cl_crosshairdot 0 ; cl_crosshairgap 1 ; cl_crosshairscale 0 ; cl_crosshairsize 5 ; cl_crosshairstyle 5 ; cl_crosshairthickness 1 ; cl_crosshairusealpha 1"
    //bind "KP_PGDN" "cl_crosshairstyle 0; cl_crosshaircolor 5; cl_crosshaircolor_b 0; cl_crosshaircolor_r 255; cl_crosshaircolor_g 0"
    bind "KP_PGDN" "cl_fixedcrosshairgap 1; cl_crosshair_outline 1;cl_crosshair_drawoutline 1; cl_crosshairalpha 255; cl_crosshaircolor 5;cl_crosshaircolor_b 112;cl_crosshaircolor_g 0;cl_crosshaircolor_r 255;cl_crosshairdot 0;cl_crosshairgap 1;cl_crosshairscale 0;cl_crosshairsize 2;cl_crosshairstyle 5;cl_crosshairthickness 0;cl_crosshairusealpha 1"

    bind "KP_INS" "buy mp7; vesthelm/vest"
    bind "KP_DEL" "buy p90; vesthelm/vest"

    bind "KP_SLASH" "buy decoy"
    bind "KP_MULTIPLY" "buy smokegrenade"
    bind "KP_MINUS" "buy flashbang"
    bind "KP_PLUS" "buy hegrenade; incgrenade/molotov"
    bind "KP_ENTER" "vesthelm/vest; buy defuser"

    //Display damage dealt in the top left of the screen once round finishes or you die. Makes it a little faster than opening console
    developer 1
    con_filter_enable 2
    con_filter_text_out "Player:"
    con_filter_text "damage"

    //Toggle game sound between muted, 25%, 50%, 75% and 100%.
    bind "0" "vol_up"
    alias "vol_up" "vol_.25"
    alias "vol_0.0" "volume 0.00; clear; echo damage_|~MUTEDMUTEDMUTEDMUTED~|; alias vol_up vol_.25"
    alias "vol_.25" "volume 0.25; clear; echo damage_|~VOLUMEDOT25PERCENT~|; alias vol_up vol_.50"
    alias "vol_.50" "volume 0.50; clear; echo damage_|~VOLUMEDOT50PERCENT~|; alias vol_up vol_.75"
    alias "vol_.75" "volume 0.75; clear; echo damage_|~VOLUMEDOT75PERCENT~|; alias vol_up vol_1.0"
    alias "vol_1.0" "volume 1.00; clear; echo damage_|~VOLUME100PERCENT~|; alias vol_up vol_0.0"

    //Toggle voice chat
    bind "9" "voice_chat"
    alias "voice_chat" "chat_1"
    alias "chat_1" "voice_enable 1; clear; echo damage_|~CHATONCHATONCHATON~|; alias voice_chat chat_0"
    alias "chat_0" "voice_enable 0; clear; echo damage_|~CHATOFFCHATOFFCHATOFF~|; alias voice_chat chat_1"

    //bhop toggle
    bind "MOUSE5" "mwheel"
    alias "mwheel" "normal"
    alias "normal" "bind MWHEELUP invnext; bind MWHEELDOWN invprev; clear; echo damage_|~NORMALMWHEEL~|; alias mwheel bhop"
    alias "bhop" "bind MWHEELUP +jump; bind MWHEELDOWN +jump; clear; echo damage_|~BHOPWHEEL~|; alias mwheel normal"

    //alias "+attack1" "cl_crosshairstyle 2; +attack";
    //alias "-attack1" "-attack; cl_crosshairstyle 5";
    //bind "mouse1" "+attack1"
    //cl_crosshair_dynamic_maxdist_splitratio "0"
    //cl_crosshair_dynamic_splitalpha_innermod "1"
    //cl_crosshair_dynamic_splitalpha_outermod "0.300000"
    //cl_crosshair_dynamic_splitdist "6"

    // Debug
    echo
    echo +++ autoexec.cfg executed successfully +++
    echo