Heroes of Might & Magic V: Hammers of Fate

Heroes of Might & Magic V: Hammers of Fate

Pas assez d'évaluations
HoMM 5 - Hammers of Fate -- Enabling & Using the Console
De 💖 Officer Hotpants 💖
As the name suggests, this guide covers the enabling & usage of the console. It also contains relevant ID lists (creatures, skills, etc). Please note that this guide is currently just a copy of the guide for the base game.
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Enabling the Console
This is actually fairly simple to do. Contrary to information floating around online, the console & commands haven't actually been removed from the games. They've just been made a little harder to access. To enable them, do the following

  • If you haven't played yet, start up the game and create a profile, then exit back to the desktop.
  • Navigate to documents/my games/Heroes of Might and Magic V/Hammers of Fate/Profiles
  • In this folder should be a subfolder named as a seemingly random jumble of letters and numbers. Open this folder.
  • Open "user.cfg".
  • At the very bottom of the file, add "setvar dev_console_password = schwinge-des-todes".
  • Open "input.cfg"
  • Under the section "// console", add "bind show_console '`'" to the end of the list.
Commands
First and foremost, remember to enable the commands in the console first. This is easy to forget and the most common cause of people finding that the commands supposedly don't work.

Command
Effect
enable_cheats
Enables the cheats, believe it or not.

Once you've done that, you're free to use the commands.

Command
Effect
add_money #
Gives 100 of every resource & 100,000 gold. Allegedly higher numbers increase the amount of gold but this has never been the case for me.
add_gold #
Sets gold reserve to the #. Also sets resources to 0.
add_exp #
Gives the selected hero # experience points
add_all_spells
Gives the hero access to the entire spell list.
set_hero_luck_morale # #
Sets the selected hero's luck & morale to # and #, respectively.
@OpenCircleFog(0, 0, 0, 9999, PLAYER_1);
Reveals the world map to the player.
@ClearTheFog(0, 0, 0, 9999, PLAYER_1);
Allows the player to see exact enemy counts.
add_skill #
Gives the selected hero the corresponding skill (see the list in the "Skill List" section). You can actually exceed the skill limit with this command. You won't be able to see the excess skills but you will have them.
add_skill [NAME]
Gives the selected hero the corresponding skill (see the list in the "Skill List" section) You can actually exceed the skill limit with this command. You won't be able to see the excess skills but you will have them.
add_army #, # #
Gives the selected hero units of the indicated faction in the indicated numbers (see the example in the "Unit List" section for more information and an example).
@AddHeroCreatures("NAME", CREATURE_NAME, #);
Gives the specified hero # of the specified unit (requires knowledge of heroes' internal names, which I do not have).
@AddHeroCreatures("NAME", #, #);
Gives the specified hero # of the specified unit (requires knowledge of heroes' internal names, which I do not have).
Skill List
There are two different ways that skills can be added to a hero. The following two examples will both add the Learning skill to a selected hero.
  • add_skill 3
  • add_skill skill_learning
If for whatever reason you have trouble adding a given skill to your hero, try the alternative method.




-- Basic 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
-- Class skills --
  • SKILL_TRAINING = 13 <Haven
  • SKILL_GATING = 14 <Demon
  • SKILL_NECROMANCY = 15 <Undead
  • SKILL_AVENGER = 16 <Sylvan
  • SKILL_ARTIFICIER = 17 <Wizard
  • SKILL_INVOCATION = 18 <Dungeon
-- Skill 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
-- Knight perks --
  • PERK_HOLY_CHARGE = 55
  • PERK_PRAYER = 56
  • PERK_EXPERT_TRAINER = 57
-- Demonlord perks --
  • PERK_CONSUME_CORPSE = 58
  • PERK_DEMONIC_FIRE = 59
  • PERK_DEMONIC_STRIKE = 60
-- Necromancer perks --
  • PERK_RAISE_ARCHERS = 61
  • PERK_NO_REST_FOR_THE_WICKED = 62
  • PERK_DEATH_SCREAM = 63
-- Ranger perks --
  • PERK_MULTISHOT = 64
  • PERK_SNIPE_DEAD = 65
  • PERK_IMBUE_ARROW = 66
-- Wizard perks --
  • PERK_MAGIC_BOND = 67
  • PERK_MELT_ARTIFACT = 68
  • PERK_MAGIC_MIRROR = 69
-- Warlock perks --
  • PERK_EMPOWERED_SPELLS = 70
  • PERK_DARK_RITUAL = 71
  • PERK_ELEMENTAL_VISION = 72


+++ Class Feats +++
-- Knight --
  • 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 Lord --
  • 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 --
  • 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 --
  • 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 --
  • 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 --
  • 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
The add_army Command
The "add_army # # #" command can be a bit odd to use. The #s work as follows:
  • The first # is the faction (list below).
  • The second # indicates whether the creatures are upgraded. 0 is for unupgraded units while 1 for upgraded units.
  • The third # is the number of creatures per stack.
So to add 500 upgraded Dwarven units of each tier, for example, you would type the following:
  • add_army 6, 1 500

Now that we understand how to use the add_army command, the following is a list of the factions' numbers.

  • 0 - Haven
  • 1 - Sylvan
  • 2 - Academny
  • 3 - Dungeon
  • 4 - Necromancer
  • 5 - Inferno
  • 6 - Dwarven
Unit List
There is a command for adding only a specific creature to a given hero but it requires knowledge of the names of each hero as they appear in the game's files. Unfortunately I do not currently have a list of these names. However for those who do have a list of their names--or who just feel like brute forcing it--here's a list of units and their IDs.

  • CREATURE_UNKNOWN = 0
  • CREATURE_PEASANT = 1
  • CREATURE_MILITIAMAN = 2
  • CREATURE_ARCHER = 3
  • CREATURE_MARKSMAN = 4
  • CREATURE_FOOTMAN = 5
  • CREATURE_SWORDSMAN = 6
  • CREATURE_GRIFFIN = 7
  • CREATURE_ROYAL_GRIFFIN = 8
  • CREATURE_PRIEST = 9
  • CREATURE_CLERIC = 10
  • CREATURE_CAVALIER = 11
  • CREATURE_PALADIN = 12
  • CREATURE_ANGEL = 13
  • CREATURE_ARCHANGEL = 14
  • CREATURE_FAMILIAR = 15
  • CREATURE_IMP = 16
  • CREATURE_DEMON = 17
  • CREATURE_HORNED_DEMON = 18
  • CREATURE_HELL_HOUND = 19
  • CREATURE_CERBERI = 20
  • CREATURE_SUCCUBUS = 21
  • CREATURE_INFERNAL_SUCCUBUS = 22
  • CREATURE_NIGHTMARE = 23
  • CREATURE_FRIGHTFUL_NIGHTMARE = 24
  • CREATURE_PIT_FIEND = 25
  • CREATURE_BALOR = 26
  • CREATURE_DEVIL = 27
  • CREATURE_ARCHDEVIL = 28
  • CREATURE_SKELETON = 29
  • CREATURE_SKELETON_ARCHER = 30
  • CREATURE_WALKING_DEAD = 31
  • CREATURE_ZOMBIE = 32
  • CREATURE_MANES = 33
  • CREATURE_GHOST = 34
  • CREATURE_VAMPIRE = 35
  • CREATURE_VAMPIRE_LORD = 36
  • CREATURE_LICH = 37
  • CREATURE_DEMILICH = 38
  • CREATURE_WIGHT = 39
  • CREATURE_WRAITH = 40
  • CREATURE_BONE_DRAGON = 41
  • CREATURE_SHADOW_DRAGON = 42
  • CREATURE_PIXIE = 43
  • CREATURE_SPRITE = 44
  • CREATURE_BLADE_JUGGLER = 45
  • CREATURE_WAR_DANCER = 46
  • CREATURE_WOOD_ELF = 47
  • CREATURE_GRAND_ELF = 48
  • CREATURE_DRUID = 49
  • CREATURE_DRUID_ELDER = 50
  • CREATURE_UNICORN = 51
  • CREATURE_WAR_UNICORN = 52
  • CREATURE_TREANT = 53
  • CREATURE_TREANT_GUARDIAN = 54
  • CREATURE_GREEN_DRAGON = 55
  • CREATURE_GOLD_DRAGON = 56
  • CREATURE_GREMLIN = 57
  • CREATURE_MASTER_GREMLIN = 58
  • CREATURE_STONE_GARGOYLE = 59
  • CREATURE_OBSIDIAN_GARGOYLE = 60
  • CREATURE_IRON_GOLEM = 61
  • CREATURE_STEEL_GOLEM = 62
  • CREATURE_MAGI = 63
  • CREATURE_ARCH_MAGI = 64
  • CREATURE_GENIE = 65
  • CREATURE_MASTER_GENIE = 66
  • CREATURE_RAKSHASA = 67
  • CREATURE_RAKSHASA_RUKH = 68
  • CREATURE_GIANT = 69
  • CREATURE_TITAN = 70
  • CREATURE_SCOUT = 71
  • CREATURE_ASSASSIN = 72
  • CREATURE_WITCH = 73
  • CREATURE_BLOOD_WITCH = 74
  • CREATURE_MINOTAUR = 75
  • CREATURE_MINOTAUR_KING = 76
  • CREATURE_RIDER = 77
  • CREATURE_RAVAGER = 78
  • CREATURE_HYDRA = 79
  • CREATURE_CHAOS_HYDRA = 80
  • CREATURE_MATRON = 81
  • CREATURE_MATRIARCH = 82
  • CREATURE_DEEP_DRAGON = 83
  • CREATURE_BLACK_DRAGON = 84
  • CREATURE_FIRE_ELEMENTAL = 85
  • CREATURE_WATER_ELEMENTAL = 86
  • CREATURE_EARTH_ELEMENTAL = 87
  • CREATURE_AIR_ELEMENTAL = 88
  • CREATURE_BLACK_KNIGHT = 89
  • CREATURE_PHOENIX = 91
  • CREATURES_COUNT = 92
Reader Contributions
11 commentaires
AceSignus 30 sept. 2024 à 8h37 
Funny thing is that going through all the army cheats gave me the results of, 1 for Haven, 2 for Slyvan, 3 for Academy, 4 for Dungeon, 5 for Necromancer, 6 for Inferno and 7 for Dwarven.
All other numbers seem to default to Haven.
Baron Khazadson 3 janv. 2024 à 14h58 
Oops, got this to work eventually!
💖 Officer Hotpants 💖  [créateur] 4 déc. 2023 à 18h02 
Odd. Is the file set to read-only? Or in a protected folder?
Baron Khazadson 30 nov. 2023 à 16h39 
For some reason after editing the file in Notepad it forces me to save a new copy. Why is that?
_Blight_ 29 nov. 2023 à 16h11 
Yup. The console itself doesn't come up at all.
💖 Officer Hotpants 💖  [créateur] 28 nov. 2023 à 23h54 
You followed the instructions in "Enabling the Console"? And you used "enable_cheats" before entering any other commands?
_Blight_ 28 nov. 2023 à 17h40 
Doesn't seem to work on the GOG version. Oh well.
Dman883 7 juin 2022 à 16h03 
I know I used to use it. Not sure what changed. Maybe I'll pick up the entire steam bundle on G2A or something if I really get back into it.
💖 Officer Hotpants 💖  [créateur] 6 juin 2022 à 2h06 
Afraid I can't help you there. I never had it on CD. I'm not sure why it wouldn't work but I have to assume something changed between versions.
Dman883 5 juin 2022 à 16h55 
got nostalgic and reinstalled Hammers of Fate. Cannot get the console to open for the life of me. Playing with the old CD version. Did manage to get it updated to v2.01. The one after that fails.