Skip to content

Instantly share code, notes, and snippets.

@0snilcy
Created December 10, 2016 07:48
Show Gist options
  • Save 0snilcy/445752d74d57cf0017cf194a6a8d4c44 to your computer and use it in GitHub Desktop.
Save 0snilcy/445752d74d57cf0017cf194a6a8d4c44 to your computer and use it in GitHub Desktop.
// -high -console -freq 120 -novid -nosync -noaafonts -noforcemspd -noforcemparms -noforcemaccel +exec autoexec.cfg
//////////////////////////////////////////
// CONSOLE SETTINGS - DON'T TOUCH
//////////////////////////////////////////
developer "1" // Enables developer mode
con_enable "1" // Enables the console
con_notifytime "20" // Sets the on-screen output messages to 6 seconds until fade-away
contimes "20" // Enables up to 14 lines of on-screen output messages
con_filter_text "##@@" // Filters out other console output (the string must be a character sequence which is unlikely to appear in the console)
con_filter_enable "1" // Enables filtering of console on-screen output
//////////////////////////////////////////
// MISC
//////////////////////////////////////////
dota_killcam_show "0" // Enables information windows upon death (default 0)
dota_player_units_auto_attack "0" // Hero autoattack disabled (default 1)
dota_unit_fly_bonus_height "150" // Flying height of air units (Default 150)
echo " [~>] Misc settings"
//////////////////////////////////////////
// MOUSE
//////////////////////////////////////////
dota_force_right_click_attack "0" // Rightclick deny disabled (default 0)
dota_minimap_misclick_time "0.2" // Threshold delay to accept minimap clicks (default 0.2)
echo " [~>] Mouse settings"
//////////////////////////////////////////
// MINIMAP
//////////////////////////////////////////
dota_minimap_hero_size "1200" // Slightly bigger hero icons on minimap (default 600)
echo " [~>] Minimap settings"
//////////////////////////////////////////
// SPELLS
//////////////////////////////////////////
dota_disable_range_finder "1" // Visual spell range indicator activated (default 1)
dota_ability_quick_cast "1" // Doubletapping to selfcast
echo " [~>] Spells settings"
//////////////////////////////////////////
// CAMERA
//////////////////////////////////////////
dota_camera_accelerate "30" // Decelerating map scroll (50 = insta stop, 1 = smooth slowdown, vanilla DotA would be 50)
dota_camera_speed "2500" // Scrolling speed (vanilla DotA-like is 6500, default 3000)
dota_camera_disable_zoom "1" // Disables mousewheel zoom (default 1)
dota_reset_camera_on_spawn "0" // Center screen on hero after respawn (Default 1)
echo " [~>] Camera settings"
//////////////////////////////////////////
// HEALTH BAR
//////////////////////////////////////////
dota_hud_healthbar_hoveroutline_alpha "230" // Mouse hover outline brightness on healthbars (default 200)
dota_always_show_player_names "0" // Always show player names
dota_hud_healthbar_number "1" // Health number above the lifebar on (default 1)
dota_health_per_vertical_marker "50" // Health segmenting in the lifebar (default 250)
dota_health_marker_major_alpha "220" // Opacity major healthbar divider (default 255, 0=invisible 255=opaque)
dota_health_marker_minor_alpha "128" // Opacity minor healthbar divider (default 128, 0=invisible 255=opaque)
echo " [~>] Healthbar settings"
//////////////////////////////////////////
// PAIN EFFECTS
//////////////////////////////////////////
//Fade time on visual effects on doing or receiving damage reduced to half duration
dota_health_hurt_decay_time_max "0.8" // (Default 0.8)
dota_health_hurt_decay_time_min "0.3" // (Default 0.3)
dota_health_hurt_delay "0.1" // (Default 0.1)
dota_pain_decay "0.8" // (Default 0.8)
dota_pain_factor "3" // (Default 3)
dota_pain_fade_rate "3" // (Default 3)
dota_pain_multiplier "0.8" // (Default 0.8)
echo " [~>] Pain effects settings"
//////////////////////////////////////////
// GRAPHICS
//////////////////////////////////////////
fps_max "120" // Max FPS for client to render (Default 120)
//mat_vsync "1" // VSYNC on/off (0 Disables, 1 Enables)
//mat_triplebuffered "0" // Enable with vsync if fps is less than 60 (0 Disables, 1 Enables)
engine_no_focus_sleep "1" // Run Dota 2 at full fps when tabbed out (Default 1)
echo " [~>] Graphics settings"
//////////////////////////////////////////
// HUD EFFECTS
//////////////////////////////////////////
dota_hud_flip 0 // Flip the interface left-right
dota_screen_shake "0" // Screen shake on certain spell effects (default 1)
echo " [~>] HUD settings"
//////////////////////////////////////////
// NETGRAPH
//////////////////////////////////////////
net_graphheight 64 // Height
net_graphinsetbottom 437 // Position from bottom
net_graphinsetleft 0 // Position from left
net_graphinsetright -30 // Position from right
net_graphpos 1 // Position the graph
net_graphproportionalfont 0 // Adapt font proportions
net_graphtext 1 // Show netgraph
bind "F10" "showgraph" // Toggle Net_Graph
alias "showgraph" "showgraph_off" // DON'T TOUCH THIS
alias "showgraph_on" "net_graph 1; alias showgraph showgraph_off" // DON'T TOUCH THIS
alias "showgraph_off" "net_graph 0; alias showgraph showgraph_on" // DON'T TOUCH THIS
echo " [~>] Netgraph settings"
//////////////////////////////////////////
// NETCODE(Advanced User Only)
//////////////////////////////////////////
// Altough the lerp value will probably blink red/yellowish in your netgraph, tests have shown that this is likely the most responsive setup possible.
cl_interp "0.055" // Interpolate object positions starting this many seconds in past (Default 0.055, Min 0.033)
cl_interp_ratio "1" // Multiplies final result of cl_interp (Default 2)
cl_smoothtime "0" // When errors occur smooth display over X time, 0 Disables (Default 0.1)
cl_smooth "1" // Smooth view/eye origin after prediction errors.
rate "80000" // Total amount of bandwidth Dota 2 may use (Default 80000)
cl_updaterate "30" // Amount of updates recieved from server per second (Default 30, Max 30)
cl_cmdrate "30" // Amount of updates sent to server per second (Default 30, Max 30)
echo " [~>] Netcode settings"
//////////////////////////////////////////
// SCRIPT: Rune top/bot hotkeys
//////////////////////////////////////////
// Jump camera to rune positions while pressing the keys and back to hero on release
unbind "f1"; bind "f1" "+show_runetop" // Jump camera to top rune and back to hero
unbind "f2"; bind "f2" "+show_runebottom" // Jump camera to bottom rune and back to hero
alias "+show_runetop" "dota_camera_setpos -2296.339355 1085.593506 0.000000"
alias "-show_runetop" "+dota_camera_follow;+dota_camera_follow;-dota_camera_follow"
alias "+show_runebottom" "dota_camera_setpos 2874.552734 -3017.180664 0.000000"
alias "-show_runebottom" "+dota_camera_follow;+dota_camera_follow;-dota_camera_follow"
echo " [~>] Script runes settings"
//////////////////////////////////////////
// TIMER HOTKEY
//////////////////////////////////////////
bind "f5" "chatwheel_say 57" // This will show the timer, eg: "6:49"
echo "///////////////////////////////////////////////////"
echo "// AUTOEXEC.CFG DONE ! //"
echo "///////////////////////////////////////////////////"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment