Console commands

Revision as of 20:42, 4 September 2024 by Avery (talk | contribs) (Add npc_kill, npc_destroy, and citadel_hero_testing_infinite_money.)

Console commands allow you to modify gameplay settings. Pressing F7 will open the developer console, which allows you to run commands.

Useful Console Commands

Commands that require cheats will not work in standard multiplayer matches. To enable cheats in a custom lobby, run sv_cheats true.

Command Values Default Description
changelevel See the map command. Loads a new map.

When used in a multiplayer lobby, players will remain connected while the map changes.

citadel_allow_purchasing_anywhere true/false Enables purchasing anywhere on the map, not just at shops. Requires cheats.
citadel_enable_fast_cooldowns Enables fast cooldowns, causing all abilities to have a 2 second cooldown. Requires cheats.
citadel_disable_fast_cooldowns Disables fast cooldowns. Requires cheats.
citadel_enable_fast_stamina Enables fast stamina, causing stamina to regen very fast. Requires cheats.
citadel_disable_fast_stamina Disables fast stamina. Requires cheats.
citadel_enable_no_hero_death Enables invincibility (your health will never go below 1). Requires cheats.
citadel_disable_no_hero_death Disables invincibility. Requires cheats.
citadel_display_new_player_recommendations true/false true Turns the "Great for New Players" banner on/off when selecting a hero.
citadel_hero_testing_enabled true/false false Enables the "Testing Tools" menu from the Hero Sandbox. Enabling the menu does not require cheats, but using any of this menu's functionality will.
citadel_hero_testing_infinite_money true/false false Gives players infinite souls and ability points.
citadel_hud_visible true/false true Shows/hides the HUD.
citadel_pause Pause the match.
citadel_region_override
  • -1: Auto
  • 0: North America
  • 1: Europe
  • 2: Asia
  • 3: South America
  • 4: Europe (not sure if this is different from 1)
  • 5: Oceania
-1 Overrides your matchmaking region.
citadel_spawn_nearby_neutrals Respawns nearby neutral camps. Requires cheats.
citadel_test_survey_popup Shows the post-match survey popup asking players to rate the match.
citadel_unlock_flex_slots Unlocks all flex slots. Requires cheats.
citadel_unpause_countdown number 3 Changes how many seconds the countdown will last when the game is unpaused. Requires cheats.
deadlock_early_development_warning_disabled true/false false Disables the Early Development Build popup when the game starts. This gets set to true if you close the popup after checking "Don't show this again".
deadlock_post_match_survey_disabled true/false false Disables the post-match survey. This gets set to true if you submit or skip a survey after checking "Don't show this again".
disconnect Disconnect from the current match.
dump_hero_names Lists the internal names of all available heros. Requires cheats.
healthpct 0 - 100 Sets your health to the given percentage of your max health. Requires cheats.
hurtme Deals 10 damage to yourself. Requires cheats.
killme Kills you.
kingme Gives you 1.2 million souls and levels up all your abilities. Requires cheats.
map
  • street_test: The main multiplayer map
  • new_player_basics: The Hero Sandbox map
  • 1v1_test: Seems like an early, smaller version of street_test
  • hero_testing: Seems like an early Hero Sandbox
Starts a game and loads into the chosen map.

When used in a multiplayer lobby, this command will kick everyone from the server. Use changelevel to switch maps without kicking everyone.

npc_destroy The name of an NPC to destroy (type npc_destroy<space> to see a list of names).

If no name is provided, destroys the NPC you're looking at.

Destroys an NPC (troopers, guardians, walkers, etc.).

As opposed to npc_kill, which causes the standard death sequence, this command zaps the NPC out of existence.

npc_kill The name of an NPC to kill (type npc_kill<space> to see a list of names).

If no name is provided, kills the NPC you're looking at.

Kills an NPC (troopers, guardians, walkers, etc.).

This causes the standard death sequence with particles, announcer lines, drops souls, etc.

quit Closes the game.
resetme Resets your level, abilities, and souls. Requires cheats.
selecthero Hero name from dump_hero_names Requires you to be on the hero selection screen, or have citadel_hero_testing_enabled set to true.
trooper_kill_all Kills all non-neutral creeps and guardians that aren't shielded. Requires cheats.
trooper_kill_non_bosses Kills all non-neutral creeps. Requires cheats.