Heroes of Might and Magic V Cheat Codes - PC

Heroes of might and magic V
LE Nelge/Flikr/CC BY 2.0

Enabling various cheat codes in Heroes of Might and Magic V on the PC requires editing a game file, and therefore it is highly recommended that you create a backup of any file you plan to edit before proceeding. Not doing this could result in a loss of save files or corruption of the program.

Using a text editor, such as Notepad or Wordpad (supplied with Windows systems), open the file autoexec.cfg located in the 'profiles' folder within the game directory.

With autoexec.cfg open, add this line to the end of the file:

setvar dev_console_password = schwinge-des-todes

Now, when you play a game, you will be able to open the cheat console by pressing the tilde key. (the tilde key is to the left of the number 1 and looks like this ~.

Using Cheat Codes

Once cheats have been activated, you can bring up the console with ~, type in one of the codes below and press Enter to activate it:

  • Add Skill Points: Cheat code: add_skill [skill name] Note: a list of skill ID's can be found on the next page.
  • Add Indicated Experience To Selected Hero: Cheat code: add_exp [number]
  • Fill Hero Army With Creatures From Indicated Town: Cheat code: add_army town [town number] [0 or 1] Note: Town IDs are on next page.
  • Selected Hero Has All Spells: Cheat code: add_all_spells
  • Set Luck And Morale For Selected Hero: Cheat code: set_hero_luck_morale [luck number] [morale number]
  • Set All Resources To 0: Cheat code: clear_money
  • Set Gold Quantity: Cheat code: add_gold [number]
  • Get Indicated Number Of Resources: Cheat code: add_money [number]
  • Display Indicated Player's Resources: Cheat code: show_player_money [player number]
  • Display Selected Hero's Movement Points: Cheat code: show_hero_mp