First Enable your cheats in the game (Pre-Patch)
Enabling cheat codes in Heroes of Might and Magic V 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.
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:
NOTE: This is disabled in later versions.
Effect Password Add Indicated Experience To Selected Hero add_exp [number] adds max resources & cash add_money 1 Display Indicated Player's Resources show_player_money [player number] Display Selected Hero's Movement Points show_hero_mp Instant win of the map. @Win() Reveals the whole map @OpenCircleFog(0, 0, 0, 9999, PLAYER_1); Selected Hero Has All Spells add_all_spells Set All Resources To 0 clear_money Set Gold Quantity add_gold [number] Set Luck And Morale For Selected Hero Cheat code: set_hero_luck_morale [luck number] [morale number] Shows the amount of enemys. @ClearTheFog(0, 0, 0, 9999, PLAYER_1);
Know Something We Don't?
You can submit new cheat codes for this game using our Cheat Submission Form.
Have We Been Fooled?
If you see a non-working or fake code in the list above, let us know by using our Problem Submission Form.