Heroes of Might and Magic V Cheats for PC

On: PC
Cheats provided by:cheathappens logo

Cheats & Hints 1

Cheat Codes
In order to use cheat codes, you must first enable the cheat console. To enable the cheat console for all game profiles, locate the autoexec.cfg file in your game folder\profiles directory. Open this file with Notepad. Add the following line as the last line in the file:

setvar dev_console_password = schwinge-des-todes

The end of the file will now look something like this:

//============================================================================
// Startup
mainmenu
setvar dev_console_password = schwinge-des-todes

While playing, press the tilde (`) key to bring up the cheat console. Use the following cheat codes in the cheat console.

add_all_spells
Gives all spells to currently selected hero.

add_gold #
Sets current gold to # and zeroes out other resources.

add_money #
Sets all resources except gold to # and sets gold to #*1000. So add_money 100 gives 100 of all resources and 100000 gold.

clear_money
Sets all your resources to zero.

set_hero_luck_morale X Y
Sets luck (X) and morale (Y) base values for current hero. For example, set_hero_luck_morale 5 3.

add_exp #
Adds # of experience to currently selected hero.

show_player_money #
Outputs resource quantities of specified player into console. Allows you to spy on other players. Example: show_player_money 2.

show_hero_mp
Shows detailed movement point stats for currently selected hero - exact quantity, stats for currently plotted path.

add_army town nTownID, bUpgrade
Will fill all hero army slots with 10 creatures of town id specified. Second param is 0 or 1 which controls whether creatures are from upgraded dwellings or not.

Town IDs:
HEAVEN = 0
PRESERVE = 1
ACADEMY = 2
DUNGEON = 3
NECRO = 4
INFERNO = 5

Example: add_army 5, 0 will fill all hero army slots with 10 basic inferno creatures. add_army 4, 1 will fill hero army slots with 10 upgraded Necro creatures.

@Win()
Win Mission.

@Loose()
Lose Mission.

add_skill NAME or ID
Add skills, perks or abilities. You can use either the name or ID number. Example: add_skill Sorcery or add_skill 8 will both give Sorcery. See list below for all 150 skills along with IDs.

Use the following names or IDs with the add_skill cheat. When using the name, use only the name itself and not the prefix (example: Sorcery not Skill_Sorcery).

SKILLS:

SKILL_LOGISTICS = 1
SKILL_WAR_MACHINES = 2
SKILL_LEARNING = 3
SKILL_LEADERSHIP = 4
SKILL_LUCK = 5
SKILL_OFFENCE = 6
SKILL_DEFENCE = 7
SKILL_SORCERY = 8
SKILL_DESTRUCTIVE_MAGIC = 9
SKILL_DARK_MAGIC = 10
SKILL_LIGHT_MAGIC = 11
SKILL_SUMMONING_MAGIC = 12
SKILL_TRAINING = 13
SKILL_GATING = 14
SKILL_NECROMANCY = 15
SKILL_AVENGER = 16
SKILL_ARTIFICIER = 17
SKILL_INVOCATION = 18

PERKS:

PERK_PATHFINDING = 19
PERK_SCOUTING = 20
PERK_NAVIGATION = 21
PERK_FIRST_AID = 22
PERK_BALLISTA = 23
PERK_CATAPULT = 24
PERK_INTELLIGENCE = 25
PERK_SCHOLAR = 26
PERK_EAGLE_EYE = 27
PERK_RECRUITMENT = 28
PERK_ESTATES = 29
PERK_DIPLOMACY = 30
PERK_RESISTANCE = 31
PERK_LUCKY_STRIKE = 32
PERK_FORTUNATE_ADVENTURER = 33
PERK_TACTICS = 34
PERK_ARCHERY = 35
PERK_FRENZY = 36
PERK_PROTECTION = 37
PERK_EVASION = 38
PERK_TOUGHNESS = 39
PERK_MYSTICISM = 40
PERK_WISDOM = 41
PERK_ARCANE_TRAINING = 42
PERK_MASTER_OF_ICE = 43
PERK_MASTER_OF_FIRE = 44
PERK_MASTER_OF_LIGHTNINGS = 45
PERK_MASTER_OF_CURSES = 46
PERK_MASTER_OF_MIND = 47
PERK_MASTER_OF_SICKNESS = 48
PERK_MASTER_OF_BLESSING = 49
PERK_MASTER_OF_ABJURATION = 50
PERK_MASTER_OF_WRATH = 51
PERK_MASTER_OF_QUAKES = 52
PERK_MASTER_OF_CREATURES = 53
PERK_MASTER_OF_ANIMATION = 54
PERK_HOLY_CHARGE = 55
PERK_PRAYER = 56
PERK_EXPERT_TRAINER = 57
PERK_CONSUME_CORPSE = 58
PERK_DEMONIC_FIRE = 59
PERK_DEMONIC_STRIKE = 60
PERK_RAISE_ARCHERS = 61
PERK_NO_REST_FOR_THE_WICKED = 62
PERK_DEATH_SCREAM = 63
PERK_MULTISHOT = 64
PERK_SNIPE_DEAD = 65
PERK_IMBUE_ARROW = 66
PERK_MAGIC_BOND = 67
PERK_MELT_ARTIFACT = 68
PERK_MAGIC_MIRROR = 69
PERK_EMPOWERED_SPELLS = 70
PERK_DARK_RITUAL = 71
PERK_ELEMENTAL_VISION = 72

FEATS:

KNIGHT_FEAT_ROAD_HOME = 73
KNIGHT_FEAT_TRIPLE_BALLISTA = 74
KNIGHT_FEAT_ENCOURAGE = 75
KNIGHT_FEAT_RETRIBUTION = 76
KNIGHT_FEAT_HOLD_GROUND = 77
KNIGHT_FEAT_GUARDIAN_ANGEL = 78
KNIGHT_FEAT_STUDENT_AWARD = 79
KNIGHT_FEAT_GRAIL_VISION = 80
KNIGHT_FEAT_CASTER_CERTIFICATE = 81
KNIGHT_FEAT_ANCIENT_SMITHY = 82
KNIGHT_FEAT_PARIAH = 83
KNIGHT_FEAT_ELEMENTAL_BALANCE = 84
KNIGHT_FEAT_ABSOLUTE_CHARGE = 85
DEMON_FEAT_QUICK_GATING = 86
DEMON_FEAT_MASTER_OF_SECRETS = 87
DEMON_FEAT_TRIPLE_CATAPULT = 88
DEMON_FEAT_GATING_MASTERY = 89
DEMON_FEAT_CRITICAL_GATING = 90
DEMON_FEAT_CRITICAL_STRIKE = 91
DEMON_FEAT_DEMONIC_RETALIATION = 92
DEMON_FEAT_EXPLODING_CORPSES = 93
DEMON_FEAT_DEMONIC_FLAME = 94
DEMON_FEAT_WEAKENING_STRIKE = 95
DEMON_FEAT_FIRE_PROTECTION = 96
DEMON_FEAT_FIRE_AFFINITY = 97
DEMON_FEAT_ABSOLUTE_GATING = 98
NECROMANCER_FEAT_DEATH_TREAD = 99
NECROMANCER_FEAT_LAST_AID = 100
NECROMANCER_FEAT_LORD_OF_UNDEAD = 101
NECROMANCER_FEAT_HERALD_OF_DEATH = 102
NECROMANCER_FEAT_DEAD_LUCK = 103
NECROMANCER_FEAT_CHILLING_STEEL = 104
NECROMANCER_FEAT_CHILLING_BONES = 105
NECROMANCER_FEAT_SPELLPROOF_BONES = 106
NECROMANCER_FEAT_DEADLY_COLD = 107
NECROMANCER_FEAT_SPIRIT_LINK = 108
NECROMANCER_FEAT_TWILIGHT = 109
NECROMANCER_FEAT_HAUNT_MINE = 110
NECROMANCER_FEAT_ABSOLUTE_FEAR = 111
RANGER_FEAT_DISGUISE_AND_RECKON = 112
RANGER_FEAT_IMBUE_BALLISTA = 113
RANGER_FEAT_CUNNING_OF_THE_WOODS = 114
RANGER_FEAT_FOREST_GUARD_EMBLEM = 115
RANGER_FEAT_ELVEN_LUCK = 116
RANGER_FEAT_FOREST_RAGE = 117
RANGER_FEAT_LAST_STAND = 118
RANGER_FEAT_INSIGHTS = 119
RANGER_FEAT_SUN_FIRE = 120
RANGER_FEAT_SOIL_BURN = 121
RANGER_FEAT_STORM_WIND = 122
RANGER_FEAT_FOG_VEIL = 123
RANGER_FEAT_ABSOLUTE_LUCK = 124
WIZARD_FEAT_MARCH_OF_THE_MACHINES = 125
WIZARD_FEAT_REMOTE_CONTROL = 126
WIZARD_FEAT_ACADEMY_AWARD = 127
WIZARD_FEAT_ARTIFICIAL_GLORY = 128
WIZARD_FEAT_SPOILS_OF_WAR = 129
WIZARD_FEAT_WILDFIRE = 130
WIZARD_FEAT_SEAL_OF_PROTECTION = 131
WIZARD_FEAT_COUNTERSPELL = 132
WIZARD_FEAT_MAGIC_CUSHION = 133
WIZARD_FEAT_SUPRESS_DARK = 134
WIZARD_FEAT_SUPRESS_LIGHT = 135
WIZARD_FEAT_UNSUMMON = 136
WIZARD_FEAT_ABSOLUTE_WIZARDY = 137
WARLOCK_FEAT_TELEPORT_ASSAULT = 138
WARLOCK_FEAT_SHAKE_GROUND = 139
WARLOCK_FEAT_DARK_REVELATION = 140
WARLOCK_FEAT_FAST_AND_FURIOUS = 141
WARLOCK_FEAT_LUCKY_SPELLS = 142
WARLOCK_FEAT_POWER_OF_HASTE = 143
WARLOCK_FEAT_POWER_OF_STONE = 144
WARLOCK_FEAT_CHAOTIC_SPELLS = 145
WARLOCK_FEAT_SECRETS_OF_DESTRUCTION = 146
WARLOCK_FEAT_PAYBACK = 147
WARLOCK_FEAT_ELITE_CASTERS = 148
WARLOCK_FEAT_ELEMENTAL_OVERKILL= 149
WARLOCK_FEAT_ABSOLUTE_CHAINS = 150

Edited 10/06/2011 - 6:04pm GMT+1

Trainers 2

Download: Trainer

Unlimited Resources, Action Points, Mana. Max Hero's Stats, Level Up, Infinite Building.

(Downloads are on an external site and open in a new window)
Edited 10/06/2011 - 6:04pm GMT+1

Download: Trainer

Unlimited Time, Money. Works with v1.2.

(Downloads are on an external site and open in a new window)
Edited 10/06/2011 - 6:04pm GMT+1

Savegames 1

Download: Savegame

Unlock All Campaigns and Levels.

(Downloads are on an external site and open in a new window)
Edited 10/06/2011 - 6:04pm GMT+1
To add your comment, please login or register

User Comments

rony_r's Avatar

rony_r@ Stormwolf

All of the other cheats work but this one doesn't do anything, regardless of which town ID I select, or level ( 1 or 0). I've removed all armies from the hero except for 1 troop, tried the cheat outside a castle, inside a castle- can't get it to work. Any suggestions?
Posted 17:07 on 09 February 2013
phil2768's Avatar

phil2768

plz how do i set the cheats up
Posted 11:04 on 04 August 2011
majormikki06's Avatar

majormikki06

yeah i have tried to enable the cheat console console onto the file but when i save it it says access denied.what do i have to do.i have saved a nackup file but still it says access denied.
Posted 03:37 on 19 April 2010
...???...???'s Avatar
Delete Post

...???...???

this was no help i know the cheats all i wanted to know and every1 else wants to know is a DETAILED DESCRIPTION ON HOW TO DO THE CHEAT INSTALLING THINGY STEP BY STEP....
Posted 13:28 on 11 January 2009
whelp's Avatar
Delete Post

whelp

Nice collection of tricks, thanks!

There is just one cheat that does not work for me, the add_army. I followed the example's syntax, tried it with a couple of towns (Inferno, Haven, Necromancer, and Warlock), but no effect :(
The commands used were, for example, add_army 0,0 or add_army 4,1

All others I tried (resource, exp, spells, win) work fine...
Posted 13:54 on 04 December 2008
Bumperpants's Avatar
Delete Post

Bumperpants

I followed the directions and changed the autoexe.cfg file. Had no problems but the change dosent seem to do anything. I cant get the console to come up in the game. What do I do?
Posted 17:26 on 05 November 2008
Baza's Avatar
Delete Post

Baza

Im trying it with notepad like it said but its not letting me save it why is this?
Posted 20:57 on 09 October 2008
Stormwolf's Avatar
Delete Post

Stormwolf

Yo JimmyS1 ...
When you do add_army cheat it is supposed to go like this ...
exmpl: since you want inferno creatures hence town id 5 you write
add_army 5, 1

The 1 stands for upgraded units.
If you put a 0 you get standard units. exmpl: 0=Angel 1=Archangel

So when you type in:
add_army 5, 1
You should get all of the second tier creatures of inferno.
For a town reference number ID u can look at the above

Just remember
never put anything other then 0 or 1 since anything else wont be reqognized by the system ..
Good luck mate
Hope that was usefull
Posted 03:20 on 17 September 2008
JimmyS1's Avatar
Delete Post

JimmyS1

Hey! It Doesn't work.. It said on Heroes Of Might And Magic "Usage: add_army 5,5
Replace current hero army by all creatures in nTownid"
Help?
Posted 18:45 on 31 August 2008
renen01's Avatar
Delete Post

renen01

umm i have other name i not have the name autoexec.cfg so i gues that why its not work for me when i chaing it to setvar dev_console_password = schwinge-des-todes so i cant log in the game that dem fack kk
Posted 20:15 on 18 August 2008
Dominic's Avatar
Delete Post

Dominic

I want to unlock all levels in campaign but i dont now how you got to do it..
What do I do?
Posted 17:10 on 18 June 2008
demon_lord's Avatar
Delete Post

demon_lord

Stefan, that is because you're supposed to be using Notepad.
Posted 15:49 on 16 June 2008
Stefan's Avatar
Delete Post

Stefan

I can't edit autoexe.cfg: I'm writing the line at the bottom but it is not saved, when I open it with word pad the last line is not there
Posted 07:34 on 17 April 2008
nathan's Avatar
Delete Post

nathan

it dosant work for mine some reason?
this is wat i do:
i go into note pad, Open my games in my documents, click on heroes of might and magic V, go into profiles, it games up with my profile name and if i click on thatit goes into saves, then nothing wat do i do?
Posted 11:21 on 02 October 2007
den_mas's Avatar

den_mas

i can win this game
so cool so easy
Thanks
Posted 22:36 on 25 August 2007

Game Stats

System Requirements
Release Date: 16/05/2006
Developer: Nival Interactive
Publisher: Ubisoft
Genre: Strategy
No. Players: 1 + Online
Rating: PEGI 12+
Site Rank: 199 5
View Full Site