Commands

From Heroes of Hammerwatch wiki
Revision as of 23:18, 3 May 2018 by Miss (talk | contribs)
Jump to: navigation, search

Game config commands

Game config commands
g_gore Affects whether slain enemies will leave gore effects or not. True or False.
g_language Changes the game's language. Currently no other languages. Will require a restart to take effect.
g_laser_sight Changes the Aim Guide option. 1 for on, 0 of off, -1 for Auto.
g_local_player_marker Adds a colored circle below your character's sprite. True or False.
g_mousemove_speed Multiplier for the speed of the mouse cursor movement on gamepads.
g_movedir_snap Snap angle for the movement direction on gamepads.
r_hdr Enables or disables the use of HDR rendering.
r_shadows Shadow quality. 0 = off, 1 = sun only, 2 = all.
r_smooth_scrolling Enables or disables smooth camera scrolling.
rg_brightness Brightness of the game.
rg_contrast Contrast of the colors.
rg_gamma Gamma value of the colors.
rg_crt_curve Multiplier for the CRT curve effect.
rg_pixel_perfect Whether the scene needs to render in pixel perfect mode or not. Pixel perfect in this sense means that the game will be rendered in 1x sprite scale and then upscaled (faster). If it's disabled, the game is rendered in its full size and sprites are scaled instead (slower). Disabling pixel perfect allows for a few smoother effects like shadows.

Console config commands

Console config commands
cs_bgcolor Background color of the console. Set as a vec4: *cs_bgcolor 1 0 0 0.5* for a red transparent console background.
cs_fgcolor Text color of the console. Set as a vec4.
cs_enabled Enable or disable the use of the console entirely. Useful if you need the console toggle button for something else.
cs_height The height of the console window, in a multiplier of the screen height: 0.5 means 50% of the screen height.
cs_show_build Whether to show the game's build ID in the bottom left of the screen.
cs_speed The speed for the console toggle animation. The higher the faster.

Multiplayer/Lobby commands

Multiplayer/Lobby commands
lobby_members Write a list of all lobby members to the console.
lobby_kick Kick a player from the lobby. Only works if you're the host. Takes 1 parameter, the lobby member ID. Get the ID using *lobby_members*.
lobby_say Send a chat message via the console.
g_multiplayer_limit Set this value to some higher value than 4 before opening the "create lobby" menu to allow hosting lobbies with more than 4 players.
g_multiplayer_ping_limit When clients get disconnected, they have this many seconds for their connection to be restored before they are automatically kicked.

Sound commands

Sound commands
snd_volume Master sound volume scale.
snd_volume_env Environment sounds volume scale.
snd_volume_music Music volume scale.
snd_volume_sfx Sound effects volume scale.
snd_volume_ui UI sounds volume scale.
snd_volume_voice Voice sounds volume scale.

UI commands

UI commands
ui_bars_visibility Whether to show the health/mana bars in the middle of the screen. -1 = never, 0 = only when health or mana is not full, 1 = always.
ui_chat_fade_time The amount of time in milliseconds needs to be elapsed for a chat message to fade out.
ui_chat_scale Scale multiplier of the chat window.
ui_chat_width Width scale of the chat window, scaled by the screen width.
ui_cursor_alpha Transparency scale of the mouse cursor and crosshair.
ui_cursor_health Whether to show your health and mana next to the crosshair.
ui_cursor_health_alpha If *ui_cursor_health* is enabled, this is the transparancy scale for the texts.
ui_draw_plr_names Whether to show player names above player heads. -1 = never, 0 = only in town, 1 = always.
ui_draw_plr_names_real Whether to show player's Steam/GOG names instead of their character names above their heads.
ui_draw_plr_stats Whether to show health bars above other player's heads.
ui_draw_vignette Whether to enable the vignetter effect when badly hurt.
ui_key_count Whether to show the key count in the top bar.
ui_scale The scale multiplier of the entire UI.