Commands: Difference between revisions

From Heroes of Hammerwatch 2 Wiki
Jump to navigation Jump to search
Alpha (talk | contribs)
adding initial start still updating.
 
Line 3: Line 3:




==Cheats==
==Cheat Commands==
{| class="wikitable"
{| class="wikitable"
! colspan="2" style="text-align: center; font-weight: bold;" | Cheats
! colspan="2" style="text-align: center; font-weight: bold;" | Cheats
|-
| style="text-align: center; font-weight: bold;" | e_cheats
|
|-
|-
| style="text-align: center; font-weight: bold;" | cht_spectate_next
| style="text-align: center; font-weight: bold;" | cht_spectate_next

Revision as of 16:11, 25 January 2025

The commands below are available by opening the console using the tilde (~) key. This key is usually located below the escape key. These commands don't save to your configuration file so they will not stick once you close the game.
To save a command to your hwr.exe.cfg file you can either add the command manually by editing the file or type save your command & argument or save_curr your command.
Example:
save ui_scale 0.75
save_curr ui_scale


Cheat Commands

Cheats
e_cheats
cht_spectate_next
cht_spectate
cht_list_flags
cht_show_tailor
cht_print_charcreate_colors
cht_open_interface Requires 2 strings ,Opens a script interface. (cht_open_interface <filename> <class>
cht_tutorials_unlock
cht_noclip default false
cht_god default false
cht_plr_hidden default false
cht_plr_free_mana_cost default false
cht_plr_free_health_cost default false
cht_clear_skills
cht_refill_potions
cht_list_all_items
cht_play_music string
cht_play_ambience String
cht_remove_building String
cht_clear_trinkets
cht_spawn_trinket Int by ID
cht_spawn_specific_trinket String
cht_give_specific_trinket String
cht_fill_trinkets Requires 5 Int's Gives multiple random trinkets. (cht_fill_trinkets <common> <uncommon> <rare> <epic> <cursed>)
cht_spawn_equipment int Spawns equipment around the player. (cht_spawn_equipment <amount>)
cht_spawn_specific_equipment string
cht_spawn_equipment_for_slot rarity | amount )
cht_explore_level
cht_give_experience int
cht_give_health int
cht_damage int
cht_plr_damage_poison int
cht_plr_damage_fire int
cht_give_mana int
cht_give_material int Gives an amount of a certain material (gold/wood/stone/iron/crystals/dust/fragments/all). (cht_give_material <materal> <amount>)
cht_spawn_gold int
cht_spawn_material string int
cht_plr_level_progress int
cht_plr_level_skills
cht_plr_reset_cooldowns
cht_set_flag string bool bool Sets a flag. (set_flag <flag> <value> <persistent>)
cht_set_char_flag string bool Sets a flag bound to the character. (set_char_flag <flag> <value>)
cht_clear_flags
cht_clear_char_flags
cht_set_scalar string float Sets a scalar. (set_scalr <scalar> <value>)
cht_killall
cht_revive
cht_listenemies
cht_finish_level String
cht_goto_level
cht_give_keys string
cht_add_all_blueprints
cht_unlock_town_flags
print string
dbg_cht_fill_equipment
dbg_cht_ignore_equipment_requirements default false
dbg_show_stash
cht_free_shops default false
dbg_reset_accomplishments
dbg_track_unit_kills default false
dbg_list_unit_kills
dbg_clear_unit_kills