Developer's Blog
Register Low Fi Mark Forums Read

Notices

Reply
 
Thread Tools
Old 10-16-2011, 04:57 PM   #1
NXTk
Member
 
NXTk's Avatar
 
Join Date: Sep 2009
Location: Russia
Posts: 104
NXTk is offline

Default Dota 2: aliases, tricks


Some nice tricks with aliases in source engine.
Create "autoexec.cfg" file in "C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\cfg\" with following text.

Code:
// Toggle show\hide net_graph (ping,fps,delays) when press "p".
bind "p" "net_graph_on"
alias net_graph_on "net_graph 4; bind p net_graph_off;"
alias net_graph_off "net_graph 0; bind p net_graph_on;"
//
//Toggle show\hide healthbars when press "[".
alias bar_on "dota_hud_healthbars 1; bind [ bar_off;"
alias bar_off "dota_hud_healthbars 0; bind [ bar_on;"
bind "[" "bar_on"
//
//Toggle show\hide health bars then "shift" key pressed. (you cant use "alt" for this)
alias +bar_on "dota_hud_healthbars 1"
alias -bar_on "dota_hud_healthbars 0"
bind "shift" "+bar_on"
//
//Toggle show\hide glow selection effect when press "]".
alias on_glow "glow_outline_effect_enable 1; bind ] off_glow;"
alias off_glow "glow_outline_effect_enable 0; bind ] on_glow;"
bind ] "on_glow"
//
//Toggle on-off two colors minimap (green\red) when press "o".
alias simple_map_on "dota_minimap_simple_colors 1; bind o simple_map_off;"
alias simple_map_off "dota_minimap_simple_colors 0; bind o simple_map_on;"
bind o "simple_map_on"
Some useful console commands:

on\off health bars
dota_hud_healthbars 0\1

off\on 2 colors minimap
dota_minimap_simple_colors 0\1

off\on glow effect
glow_outline_effect_enable 0\1

off\on annoying, faded red\green rings under units
dota_disable_unit_ring 1\0

on\off annoying portrait movements.
dota_portrait_animate 1\0

on\off fog of war at minimap
dota_minimap_draw_fow 1\0

To make healthbar WC3 like (one bar with instant animation when health decreased):

dota_health_hurt_decay_time_min 0
dota_health_hurt_decay_time_max 0
dota_health_hurt_delay 0
dota_health_per_vertical_marker 9999
dota_health_hurt_threshold 0

Enjoy.
  Reply With Quote
Last edited by NXTk; 10-16-2011 at 05:15 PM.
Old 10-16-2011, 05:02 PM   #2
SmellyJelly
Member
 
SmellyJelly's Avatar
 
Join Date: Aug 2011
Location: From Past
Posts: 2,435
Blog Entries: 1
SmellyJelly is online now
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

If you dont have

cl_interp 0.0152
cl_interp_ratio 1
cl_smooth 0
cl_smooth time 0.01

In autoexec.cfg it helps out to smooth up game abit.
__________________
  Reply With Quote
Old 10-16-2011, 05:10 PM   #3
StraY_WolF
Member
 
StraY_WolF's Avatar
 
Join Date: Jun 2010
Location: Under the stars
Posts: 3,958
StraY_WolF is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Quote:
Originally Posted by SmellyJelly View Post
If you dont have

cl_interp 0.0152
cl_interp_ratio 1
cl_smooth 0
cl_smooth time 0.01

In autoexec.cfg it helps out to smooth up game abit.
Can I ask how to do this.
Lets assume I have no idea how a game works.
  Reply With Quote
Old 10-16-2011, 05:12 PM   #4
PuneetRJ
Member
 
PuneetRJ's Avatar
 
Join Date: Sep 2010
Location: India
Posts: 2,252
Blog Entries: 1
PuneetRJ is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Care to explain what this does?
__________________
YOU SHOULD CLICK THIS... JUST BECAUSE!



I invest atleast 6 hours into dota daily. Someone sell me a life.

Have a look at that sexy guide I wrote! It's like Megan Foxx, one look and you know it's a 10/10.
  Reply With Quote
Old 10-16-2011, 05:20 PM   #5
NXTk
Member
 
NXTk's Avatar
 
Join Date: Sep 2009
Location: Russia
Posts: 104
NXTk is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Quote:
Originally Posted by StraY_WolF View Post
Can I ask how to do this.
Lets assume I have no idea how a game works.
It's console commands, if you put they in autoexec.cfg file they will be execute when game starts.
  Reply With Quote
Old 10-16-2011, 05:20 PM   #6
Y-O-D-A
Member
 
Y-O-D-A's Avatar
 
Join Date: Jun 2009
Posts: 1,845
Y-O-D-A is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Shouldn't this be posted in the dota2 beta forums.... The majority of the people here are going to have no uses for this.
__________________
  Reply With Quote
Old 10-16-2011, 05:20 PM   #7
Denki~
Banned
 
Join Date: Sep 2011
Location: Philippines
Posts: 1,870
Blog Entries: 2
Denki~ is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Type bind mouse1 "+attack;impulse 101" to gain 16000 gold whenever you press your left mouse button.
  Reply With Quote
Old 10-16-2011, 05:23 PM   #8
NXTk
Member
 
NXTk's Avatar
 
Join Date: Sep 2009
Location: Russia
Posts: 104
NXTk is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Quote:
Originally Posted by Y-O-D-A View Post
Shouldn't this be posted in the dota2 beta forums.... The majority of the people here are going to have no uses for this.
Should, but i am not in beta. =( dev.dota2.com restricted for public users.
  Reply With Quote
Old 10-16-2011, 05:28 PM   #9
googleson78
Member
 
googleson78's Avatar
 
Join Date: Sep 2009
Location: Right Behind You
Posts: 2,112
Blog Entries: 1
googleson78 is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Quote:
Originally Posted by lDenki View Post
Type bind mouse1 "+attack;impulse 101" to gain 16000 gold whenever you press your left mouse button.
Nice try >_<
E: Tried, works.
__________________


Credits go to Raxet.
  Reply With Quote
Old 10-16-2011, 05:39 PM   #10
Twz
Member
 
Twz's Avatar
 
Join Date: Oct 2009
Location: United States
Posts: 245
Twz is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

aham.
__________________
  Reply With Quote
Old 10-16-2011, 05:40 PM   #11
SmellyJelly
Member
 
SmellyJelly's Avatar
 
Join Date: Aug 2011
Location: From Past
Posts: 2,435
Blog Entries: 1
SmellyJelly is online now
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Quote:
Originally Posted by StraY_WolF View Post
Can I ask how to do this.
Lets assume I have no idea how a game works.
C:\Program Files\Steam\steamapps\your username in steam or in common\dota 2 beta\dota\cfg

In this folder create text file 'autoexec.cfg' (extension must be cfg) and just paste in those commands in there save -> and every time you launch game they will automaticly exec for you. So you dont have to type anything each time.
__________________
  Reply With Quote
Old 10-16-2011, 10:36 PM   #12
Dota2Panda
Member
 
Dota2Panda's Avatar
 
Join Date: Aug 2011
Posts: 3,130
Dota2Panda is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

OK. This would be more useful for people in the dev forums.
__________________
We want Pandas in Dota 2!



This Panda is a member of the Philippine Dota 2 community.
Join us on Facebook - Dota 2 Philippines!
  Reply With Quote
Old 10-30-2013, 09:21 PM   #13
nashmarco
Member
 
Join Date: Apr 2011
Posts: 1
nashmarco is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Hi I was wondering if there is a command that let me edit the resolution of my dota 2, because in settings there are a few to choose, so I was looking for a command that let me change it , like with the cursor in other games, for example WoW you can edit the resolution as you want
  Reply With Quote
Old 10-30-2013, 11:49 PM   #14
ZeLover
Member
 
ZeLover's Avatar
 
Join Date: Oct 2010
Posts: 1,885
ZeLover is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

a 2011 thread... Nice
  Reply With Quote
Old 10-31-2013, 12:08 AM   #15
Super-sheep
Banned
 
Join Date: Aug 2009
Posts: 5,706
Super-sheep is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

Quote:
Originally Posted by nashmarco View Post
Hi I was wondering if there is a command that let me edit the resolution of my dota 2, because in settings there are a few to choose, so I was looking for a command that let me change it , like with the cursor in other games, for example WoW you can edit the resolution as you want
Right click on Dota 2 -> properties -> launch options from general tab and add this:
Code:
-width X -height Y
Where X is your desired screen width and Y is the height.
  Reply With Quote
Old 10-31-2013, 12:11 AM   #16
16marru
Member
 
16marru's Avatar
 
Join Date: Jan 2013
Location: 404 Not Found
Posts: 482
16marru is offline
Default Re: Dota 2: aliases, tricks
Did you find this post helpful? Yes | No

2011 and still active gg
__________________
  Reply With Quote
Reply
  Defense of the Ancients DotA Chat


Forum Jump

Thread Tools