Difference between revisions of "Commands"

From Heroes of Hammerwatch wiki
Jump to: navigation, search
(Game config commands)
Line 45: Line 45:
 
| style="text-align: center; font-weight: bold;" | rg_pixel_perfect
 
| style="text-align: center; font-weight: bold;" | 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.
 
| 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.
|}
 
 
==Cheat commands==
 
 
{| class="wikitable"
 
! colspan="2" style="text-align: center; font-weight: bold;" | Cheat commands
 
|-
 
| style="text-align: center; font-weight: bold;" | e_cheats
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
|-
 
| style="text-align: center; font-weight: bold;" | e_picmip
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
|-
 
| style="text-align: center; font-weight: bold;" | g_scale
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
|-
 
| style="text-align: center; font-weight: bold;" | g_timescale
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
 
|}
 
|}
  
Line 71: Line 53:
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | cs_bgcolor
 
| style="text-align: center; font-weight: bold;" | cs_bgcolor
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Background color of the console. Set as a vec4: *cs_bgcolor 1 0 0 0.5* for a red transparent console background.
 +
|-
 +
| style="text-align: center; font-weight: bold;" | cs_fgcolor
 +
| Text color of the console. Set as a vec4.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | cs_enabled
 
| style="text-align: center; font-weight: bold;" | cs_enabled
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Enable or disable the use of the console entirely. Useful if you need the console toggle button for something else.
|-
 
| style="text-align: center; font-weight: bold;" | cs_fgcolor
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | cs_height
 
| style="text-align: center; font-weight: bold;" | cs_height
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| The height of the console window, in a multiplier of the screen height: 0.5 means 50% of the screen height.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | cs_show_build
 
| style="text-align: center; font-weight: bold;" | cs_show_build
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to show the game's build ID in the bottom left of the screen.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | cs_speed
 
| style="text-align: center; font-weight: bold;" | cs_speed
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| The speed for the console toggle animation. The higher the faster.
 
|}
 
|}
  
Line 93: Line 75:
 
{| class="wikitable"
 
{| class="wikitable"
 
! colspan="2" style="text-align: center; font-weight: bold;" | Multiplayer/Lobby commands
 
! colspan="2" style="text-align: center; font-weight: bold;" | Multiplayer/Lobby commands
 +
|-
 +
| style="text-align: center; font-weight: bold;" | lobby_members
 +
| Write a list of all lobby members to the console.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | lobby_kick
 
| style="text-align: center; font-weight: bold;" | lobby_kick
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| 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*.
|-
 
| style="text-align: center; font-weight: bold;" | lobby_members
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | lobby_say
 
| style="text-align: center; font-weight: bold;" | lobby_say
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Send a chat message via the console.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | g_multiplayer_limit
 
| style="text-align: center; font-weight: bold;" | g_multiplayer_limit
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Set this value to some higher value than 4 before opening the "create lobby" menu to allow hosting lobbies with more than 4 players.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | g_multiplayer_ping_limit
 
| style="text-align: center; font-weight: bold;" | g_multiplayer_ping_limit
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| When clients get disconnected, they have this many seconds for their connection to be restored before they are automatically kicked.
 
|}
 
|}
  
Line 116: Line 98:
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | snd_volume
 
| style="text-align: center; font-weight: bold;" | snd_volume
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Master sound volume scale.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | snd_volume_env
 
| style="text-align: center; font-weight: bold;" | snd_volume_env
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Environment sounds volume scale.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | snd_volume_music
 
| style="text-align: center; font-weight: bold;" | snd_volume_music
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Music volume scale.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | snd_volume_sfx
 
| style="text-align: center; font-weight: bold;" | snd_volume_sfx
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Sound effects volume scale.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | snd_volume_ui
 
| style="text-align: center; font-weight: bold;" | snd_volume_ui
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| UI sounds volume scale.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | snd_volume_voice
 
| style="text-align: center; font-weight: bold;" | snd_volume_voice
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Voice sounds volume scale.
 
|}
 
|}
  
Line 140: Line 122:
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_bars_visibility
 
| style="text-align: center; font-weight: bold;" | ui_bars_visibility
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| 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.
|-
 
| style="text-align: center; font-weight: bold;" | ui_chat_dialog
 
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
 
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_chat_fade_time
 
| style="text-align: center; font-weight: bold;" | ui_chat_fade_time
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| The amount of time in milliseconds needs to be elapsed for a chat message to fade out.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_chat_scale
 
| style="text-align: center; font-weight: bold;" | ui_chat_scale
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Scale multiplier of the chat window.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_chat_width
 
| style="text-align: center; font-weight: bold;" | ui_chat_width
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Width scale of the chat window, scaled by the screen width.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_cursor_alpha
 
| style="text-align: center; font-weight: bold;" | ui_cursor_alpha
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Transparency scale of the mouse cursor and crosshair.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_cursor_health
 
| style="text-align: center; font-weight: bold;" | ui_cursor_health
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to show your health and mana next to the crosshair.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_cursor_health_alpha
 
| style="text-align: center; font-weight: bold;" | ui_cursor_health_alpha
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| If *ui_cursor_health* is enabled, this is the transparancy scale for the texts.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_draw_plr_names
 
| style="text-align: center; font-weight: bold;" | ui_draw_plr_names
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to show player names above player heads. -1 = never, 0 = only in town, 1 = always.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_draw_plr_names_real
 
| style="text-align: center; font-weight: bold;" | ui_draw_plr_names_real
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to show player's Steam/GOG names instead of their character names above their heads.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_draw_plr_stats
 
| style="text-align: center; font-weight: bold;" | ui_draw_plr_stats
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to show health bars above other player's heads.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_draw_vignette
 
| style="text-align: center; font-weight: bold;" | ui_draw_vignette
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to enable the vignetter effect when badly hurt.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_key_count
 
| style="text-align: center; font-weight: bold;" | ui_key_count
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| Whether to show the key count in the top bar.
 
|-
 
|-
 
| style="text-align: center; font-weight: bold;" | ui_scale
 
| style="text-align: center; font-weight: bold;" | ui_scale
| Filler text to fill a description of the command. Show examples of what's possible and explain properly plskthx :) -Muffin
+
| The scale multiplier of the entire UI.
 
|}
 
|}
  
  
 
<center>{{Template:BaseNav}}</center>
 
<center>{{Template:BaseNav}}</center>

Revision as of 23:18, 3 May 2018

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.