Jump to content

Welcome to the Heroes of Newerth forums

The forums have received a complete makeover. Click the button below to read more about it.
Read more

Repertoire of Useful Console Commands


Recommended Posts

Repertoire of Useful Console Commands

- Open up the game console by pressing Ctrl+F8


Quickstart Practice Game Enable in the UI (extremely helpful for people who love Practice Mode).
*Requires restarting HoN to take effect
*An icon appears in the top bar after restarting HoN: http://i.imgur.com/0Rftyjs.jpg

Quote

SetSave "ui_showQuickStart" "true"

List of console commands (in case you forget some of them or if new ones pop up)

Quote

cmdlist


Enable Advanced Mode in Test+++ (restart of the HoN Client is required):

Quote

SetSave "ui_forceEnableTesting" "true"


Enable the Ruler function in Practice Mode by rebinding it to a desired hotkey:

Quote

GameBind Ruler Ruler "" button game "K" "INVALID"

 

Change Max FPS

Quote

SetSave "host_maxFPS" "200"

 

Adjusting console height and opacity:
 

Quote

con_height 0.3 //will make the console taking only 30% of your screen.
con_alpha 0.4 //will make the console opacity to 40% (you can see stuff "through" the console screen)

*Numbers are floats, restricted to a range between 0 and 1


Practice Game Helpful when unable to login

Quote

startgame practice GameName map:caldavar allheroes:true devheroes:true nostats:true

*To host other games, there are some options that you can substitute into these fields (credits to Jonathan and VolkoCorp):

Quote

startgame game_type game_name game_options

game_type can be either local_automatic, practice, or remote_automatic

game_name can be any String

game_options are map:map_name mode:game_mode teamsize:5 spectators:10 referees:2 tier:1 noleaver:false

game_mode can be:

Quote

normal, nm, randomdraft, rd, singledraft, sd, banningdraft, bd, banningpick, bp, lockpick, lp, allrandom, ar, blindban, bb, botmatch, bm, deathmatch, captainsmode, cm, krosmode, km (deathmatch needs to be enabled in the map's worldconfig as it is disabled by default)

true/false game options

Quote

private
noleaver
nostats
allheroes
alternatepicks
norepick
noswap
noagility
nointelligence
nostrength
norespawntimer
dropitems
nopowerups
easymode
allowduplicate
reverseselect
notop
nomiddle
nobottom
allowveto
shuffleteams
autobalance
devheroes
cheats


Area Affectors

Quote

d_drawareaaffectors true


Projectile Radii

Quote

d_drawProjectileRadiuses true

Unit Bounds

Quote

d_drawUnitBounds true

Host Timescale:

Quote

host_timescale 1.5


The number can be changed from a value from 0 to 99


Reconnect:  Helpful when you can't normally reconnect to a game, i.e. the reconnect box dialog box doesn't pop up.

Quote

reconnect


Draw Selected Path:

Quote

cg_drawSelectedPath true

Dynamic File Update Helps when bugfixing/editing heroes

Quote

host_dynamicResReload true

Navgrid

Quote

cg_drawNavGrid true

Show FPS

Quote

host_drawFPS 1


*Inputting a "2" instead of a "1" will show your ping instead of your FPS.

Taunt Unlock Local only

Quote

g_perks true

Day/Night

Quote

g_dayStartTime #


Number is 225000 to shift to day, 675000 to shift to night

Terminate a player in Practice Mode

Quote

TerminatePlayer 1


*Note: only works once per Practice Mode instance for teal and pink. You will have to restart your Practice Mode session if you want to do it again.

Ready. Set. Go! You can change the green color, to what you desire.

Quote

Bind F4 "SpawnHero Hero_Flux; SelectAvatar Alt; Ready"


Select avatar in pick screen Useful for testing hero voice

Quote

SpawnHero Hero_<Entity Type>; SelectAvatar Alt


Console Transparency Value between 0 and 1 (0-100%)

Quote

con_alpha

Console Height Value between 0 and 1 (0-100%)

Quote

con_height

Rebind Refresh  You can change the green color, to what you desire.

Quote

SetSave bind Y "Refresh #GetSelectedEntity()#"

Fog of War Darkness Value between 0 and 1 (0-100%)

Quote

cg_fogofwarDarkness


Spawn Unit Command (especially useful for Alt Avatars)

Quote

StartCmdClickPos SpawnUnit2 <Entity Type>.<Alt> 0 1 1


Grey is optional, # can be 0 for Controllable, 1 for Uncontrollable, # is the faction the unit belongs to: 0 for Passive, 1 for Legion, 2 for Hellbourne, 3 for Neutral. # can be 0 for No-Precache, 1 for Precache


Spawn Unit Command, with voice enabled on spawned hero

Quote

StartCmdClickPos ClientSpawnUnit <Entity Type>.<Alt> 0 1 1


Grey is optional, # can be 0 for Controllable, 1 for Uncontrollable, # is the faction the unit belongs to: 0 for Passive, 1 for Legion, 2 for Hellbourne, 3 for Neutral. # can be 0 for No-Precache, 1 for Precache

Connecting Chat Connects to the chat-server. Good for those harsh DDoS times.

Quote

ChatConnect

Disconnecting Chat Disconnects the chat-server. Good for ... when you don't want to be disturbed?
ChatDisconnect

Joining Directly An alternative way to join games, if you know the IP.

Quote

Connect 83.89.75.43

Force Update Useful for reverting to older versions temporarily

Quote

Then type:

Quote

restartandupdate

http://dl.heroesofnewerth.com/ as substitute for website


Max Camera Distance Only works in Practice Mode or replay viewing

Quote

g_camDistanceMax 2200


8-Bit mode (first line turns 8-bit mode on, second line turns 8-bit mode off)

Quote

 

exec 8bit

exec non8bit

 

Big head mode

Quote

SetSave skel_bighead true
Setsave skel_bigheadscale 2.5

Give item command (useful for Puzzlebox recipes in Practice Mode, for example - and yes, this only works in Practice Mode obviously)

Quote

 

GiveItem #GetSelectedEntity()# Item_Summon recipe

Item name, optional "recipe" field to obtain recipe

 


Restart and update (useful if you cannot update regularly for some reason, but can still access the console):

Quote

restartandupdate

Check for Updates (useful for devs in particular)

Quote

SetSave "upd_checkForUpdates" "true"


======================

UI-related Console Commands

[TABLE]cvarlist | Lists the console cvars (console variables)
uitriggerlist <name>|Lists all UI Triggers that exist that have names that match against <name>. If no <name> is supplied, it will list all triggers.
cmdlist <name>    |Lists all Console Commands that exist that have names that match against <name>. If no <name> is supplied, it will list all commands.
uicmdlist <name>    |Lists all uiscript functions that exist that have names that match against <name>. If no <name> is supplied, it will list all commands.
luafunctions <name>    |Lists all Lua functions that exist that have names that match against <name>. If no <name> is supplied, it will list all commands.
ui_debughoverwidget <boolean>    |This is a cvar that, when set to true, will display information about what UI widget is selected and where it is and what its parents are. This is very useful for figuring out where widgets are and where your mouse is, for example.
[/TABLE]

======================
- Credits to Norroar, Deejay and the rest of the posters in this thread who helped me with this!

Edited by ElementUser
  • Thanks 1
Link to post
Share on other sites
  • 3 months later...

For "Bind XXX" command, what is the system name for the - and + keys to the right of a standard numpad?  When I bind a function to -, the - to the right of the numpad does not work but the - above the letters does.

Edited by MacroHard
bad spelling

Toxicity breeds toxicity.  Break the cycle.

Link to post
Share on other sites

now thats a new...

i distinctively remember being scolded for mentioning the console and commands in the post, being told neither are something the common playerbase should know about ?
i welcome these being more publicly accessable now tho

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...