heroes cheats

While playing, press the tilde (`) key to bring up the cheat console. Use the following cheat codes in the cheat console.
add_all_spellsGives 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_moneySets all your resources to zero.
set_hero_luck_morale X YSets 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_mpShows detailed movement point stats for currently selected hero - exact quantity, stats for currently plotted path.
add_army town nTownID, bUpgradeWill 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 = 0PRESERVE = 1ACADEMY = 2DUNGEON = 3NECRO = 4INFERNO = 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 IDAdd 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 = 1SKILL_WAR_MACHINES = 2SKILL_LEARNING = 3SKILL_LEADERSHIP = 4SKILL_LUCK = 5SKILL_OFFENCE = 6SKILL_DEFENCE = 7SKILL_SORCERY = 8SKILL_DESTRUCTIVE_MAGIC = 9SKILL_DARK_MAGIC = 10SKILL_LIGHT_MAGIC = 11SKILL_SUMMONING_MAGIC = 12SKILL_TRAINING = 13SKILL_GATING = 14SKILL_NECROMANCY = 15SKILL_AVENGER = 16SKILL_ARTIFICIER = 17SKILL_INVOCATION = 18
PERKS:
PERK_PATHFINDING = 19PERK_SCOUTING = 20PERK_NAVIGATION = 21PERK_FIRST_AID = 22PERK_BALLISTA = 23PERK_CATAPULT = 24PERK_INTELLIGENCE = 25PERK_SCHOLAR = 26PERK_EAGLE_EYE = 27PERK_RECRUITMENT = 28PERK_ESTATES = 29PERK_DIPLOMACY = 30PERK_RESISTANCE = 31PERK_LUCKY_STRIKE = 32PERK_FORTUNATE_ADVENTURER = 33PERK_TACTICS = 34PERK_ARCHERY = 35PERK_FRENZY = 36PERK_PROTECTION = 37PERK_EVASION = 38PERK_TOUGHNESS = 39PERK_MYSTICISM = 40PERK_WISDOM = 41PERK_ARCANE_TRAINING = 42PERK_MASTER_OF_ICE = 43PERK_MASTER_OF_FIRE = 44PERK_MASTER_OF_LIGHTNINGS = 45PERK_MASTER_OF_CURSES = 46PERK_MASTER_OF_MIND = 47PERK_MASTER_OF_SICKNESS = 48PERK_MASTER_OF_BLESSING = 49PERK_MASTER_OF_ABJURATION = 50PERK_MASTER_OF_WRATH = 51PERK_MASTER_OF_QUAKES = 52PERK_MASTER_OF_CREATURES = 53PERK_MASTER_OF_ANIMATION = 54PERK_HOLY_CHARGE = 55PERK_PRAYER = 56PERK_EXPERT_TRAINER = 57PERK_CONSUME_CORPSE = 58PERK_DEMONIC_FIRE = 59PERK_DEMONIC_STRIKE = 60PERK_RAISE_ARCHERS = 61PERK_NO_REST_FOR_THE_WICKED = 62PERK_DEATH_SCREAM = 63PERK_MULTISHOT = 64PERK_SNIPE_DEAD = 65PERK_IMBUE_ARROW = 66PERK_MAGIC_BOND = 67PERK_MELT_ARTIFACT = 68PERK_MAGIC_MIRROR = 69PERK_EMPOWERED_SPELLS = 70PERK_DARK_RITUAL = 71PERK_ELEMENTAL_VISION = 72
FEATS:
KNIGHT_FEAT_ROAD_HOME = 73KNIGHT_FEAT_TRIPLE_BALLISTA = 74KNIGHT_FEAT_ENCOURAGE = 75KNIGHT_FEAT_RETRIBUTION = 76KNIGHT_FEAT_HOLD_GROUND = 77KNIGHT_FEAT_GUARDIAN_ANGEL = 78KNIGHT_FEAT_STUDENT_AWARD = 79KNIGHT_FEAT_GRAIL_VISION = 80KNIGHT_FEAT_CASTER_CERTIFICATE = 81KNIGHT_FEAT_ANCIENT_SMITHY = 82KNIGHT_FEAT_PARIAH = 83KNIGHT_FEAT_ELEMENTAL_BALANCE = 84KNIGHT_FEAT_ABSOLUTE_CHARGE = 85DEMON_FEAT_QUICK_GATING = 86DEMON_FEAT_MASTER_OF_SECRETS = 87DEMON_FEAT_TRIPLE_CATAPULT = 88DEMON_FEAT_GATING_MASTERY = 89DEMON_FEAT_CRITICAL_GATING = 90DEMON_FEAT_CRITICAL_STRIKE = 91DEMON_FEAT_DEMONIC_RETALIATION = 92DEMON_FEAT_EXPLODING_CORPSES = 93DEMON_FEAT_DEMONIC_FLAME = 94DEMON_FEAT_WEAKENING_STRIKE = 95DEMON_FEAT_FIRE_PROTECTION = 96DEMON_FEAT_FIRE_AFFINITY = 97DEMON_FEAT_ABSOLUTE_GATING = 98NECROMANCER_FEAT_DEATH_TREAD = 99NECROMANCER_FEAT_LAST_AID = 100NECROMANCER_FEAT_LORD_OF_UNDEAD = 101NECROMANCER_FEAT_HERALD_OF_DEATH = 102NECROMANCER_FEAT_DEAD_LUCK = 103NECROMANCER_FEAT_CHILLING_STEEL = 104NECROMANCER_FEAT_CHILLING_BONES = 105NECROMANCER_FEAT_SPELLPROOF_BONES = 106NECROMANCER_FEAT_DEADLY_COLD = 107NECROMANCER_FEAT_SPIRIT_LINK = 108NECROMANCER_FEAT_TWILIGHT = 109NECROMANCER_FEAT_HAUNT_MINE = 110NECROMANCER_FEAT_ABSOLUTE_FEAR = 111RANGER_FEAT_DISGUISE_AND_RECKON = 112RANGER_FEAT_IMBUE_BALLISTA = 113RANGER_FEAT_CUNNING_OF_THE_WOODS = 114RANGER_FEAT_FOREST_GUARD_EMBLEM = 115RANGER_FEAT_ELVEN_LUCK = 116RANGER_FEAT_FOREST_RAGE = 117RANGER_FEAT_LAST_STAND = 118RANGER_FEAT_INSIGHTS = 119RANGER_FEAT_SUN_FIRE = 120RANGER_FEAT_SOIL_BURN = 121RANGER_FEAT_STORM_WIND = 122RANGER_FEAT_FOG_VEIL = 123RANGER_FEAT_ABSOLUTE_LUCK = 124WIZARD_FEAT_MARCH_OF_THE_MACHINES = 125WIZARD_FEAT_REMOTE_CONTROL = 126WIZARD_FEAT_ACADEMY_AWARD = 127WIZARD_FEAT_ARTIFICIAL_GLORY = 128WIZARD_FEAT_SPOILS_OF_WAR = 129WIZARD_FEAT_WILDFIRE = 130WIZARD_FEAT_SEAL_OF_PROTECTION = 131WIZARD_FEAT_COUNTERSPELL = 132WIZARD_FEAT_MAGIC_CUSHION = 133WIZARD_FEAT_SUPRESS_DARK = 134WIZARD_FEAT_SUPRESS_LIGHT = 135WIZARD_FEAT_UNSUMMON = 136WIZARD_FEAT_ABSOLUTE_WIZARDY = 137WARLOCK_FEAT_TELEPORT_ASSAULT = 138WARLOCK_FEAT_SHAKE_GROUND = 139WARLOCK_FEAT_DARK_REVELATION = 140WARLOCK_FEAT_FAST_AND_FURIOUS = 141WARLOCK_FEAT_LUCKY_SPELLS = 142WARLOCK_FEAT_POWER_OF_HASTE = 143WARLOCK_FEAT_POWER_OF_STONE = 144WARLOCK_FEAT_CHAOTIC_SPELLS = 145WARLOCK_FEAT_SECRETS_OF_DESTRUCTION = 146WARLOCK_FEAT_PAYBACK = 147WARLOCK_FEAT_ELITE_CASTERS = 148WARLOCK_FEAT_ELEMENTAL_OVERKILL= 149WARLOCK_FEAT_ABSOLUTE_CHAINS = 150
Some useful cheat codes
advmap – start a map
enable_cheats – enable cheats on loaded map
cheats 1 – enable cheats for all single player maps
show_adventure_cell 1 – show coordinates under cursor
disable_map_decor 1 – turn off all objects on the map
show_ai_fog 1 – show AI fog of war on its turn
ignore_scenario_line 1 – open all missions in scenario line
adventure_teleport – teleport hero to point under cursor (bind the command in the input.cfg, example, bind adventure_teleport 'CTRL' + 'SHIFT' + 'T')
adventure_remove_object – remove an object under cursor from the map (bind the command in the input.cfg, example, bind adventure_remove_object 'CTRL' + 'D')
fog_of_war – open/close fog of war (bind the command in the input.cfg, example, fog_of_war 'CTRL' + 'SHIFT' + 'E')
show_hero_mp – display a hero move points
show_player_money – display resources of a hero
add_army – give army to a hero
add_money – add resources to a hero
add_gold – add gold to hero
add_exp – add experience to a hero
add_skill – add skill to hero
add_all_spells – add all legal spells to a hero
set_hero_luck_morale – set luck and morale to a hero
Aliases creating
You can use aliases for your maps.
Create /profiles/map-aliases.cfg file.
Add to the file an alias. Example, if you have map "Maps/Test/map.xdb", then add string "setvar test_map = Maps/Test/map.xdb"
After these manipulations the command advmap test_map will start the map "Maps/Test/map.xdb".
I found a way to enable console in release version. You will need to alter the game's autoexec, so you might want to make a back up of your Might and Magic 5 autoexec file before you mess up your FAT. Go to gamedir\profiles\autoexec.cfg and open the file using Notepad. Put this line as the final line in the autoexec so it will trigger during game boot-up: setvar dev_console_password = schwinge-des-todes The file will look something like this: //============================================================================ // Startup mainmenu setvar dev_console_password = schwinge-des-todes Or you can enable console for only the selected profile by appending same line at end of user.cfg in C:\Documents and Settings\YourWinAcc\My Documents\My Games\Heroes of Might and Magic V\Profiles\YourProfile. Following this, you can use some Heroes 5 cheats in the game. Press tilde key (key next to numerical one) to bring down console. If it doesn't work for you because you don't have the key on your keyboard, or can't find it because of foreign layout, whatever, you can always edit input.cfg in your user profile dir and change/add: //debug keys bind show_console '`' and substitute the tilde symbol with something you have on your freakin' keyboard. The basic thing the dev console does is to tell you what the game AI has been doing last turn. Now, to cheats themselves. The most complex one is add_skill. The add_skill cheat requires a skill-id or name as a parameter, so you need to find list of all 150 skills/perks/abilities names and their ids in data\data.pak\scripts\advmap-startup.lua. HoMM 5 pak files are pkzip archives and you can access that lua scipt file using WINRAR or WINZIP to unpack the files to a directory somewhere. On a side note, unpacking all packs will speed things up since game will access uncompressed data instead of looking in archives. You can even delete the file packs after that, but you'd better move them somewhere else and keep them since upcoming patches might modify the archive files or make use of a user-preferred file override system. Anyway, back to the cheat. So, syntaxes for add_skill would be: add_skill Necromancy - or - add_skill 19 Pretty self-explanatory. The first names the skill being added, the second names the skill number (from the lua file) to be added. In the second example, skill #19 corresponds to pathfinding. It seems you can add skills over the limit -- like, more than 6 skills. However, you won't see such skills diplayed in the user interface (UI), but these skills will bestow you benefits. add_army town nTownID, bUpgrade Will fill all hero army slots with then creatures of the town id specified. The second parameter is 0 or 1 which controls whether creatures are from upgraded dwellings or not. Some town ids: HEAVEN = 0 PRESERVE = 1 ACADEMY = 2 DUNGEON = 3 NECRO = 4 INFERNO = 5 Usage would be: add_army 5, 0 Which Will fill all hero army slots with ten basic inferno creatures, whereas: add_army 4, 1 will fill hero army slots with ten upgraded Necro creatures. add_all_spells Gives all spells to currently selected hero. Bypasses all skills reqs, for usage also. set_hero_luck_morale nLuck nMorale Sets luck and morale base values for current hero. An example syntax would be: set_hero_luck_morale 5 3 show_player_money playernumber - This outputs resource quantities of specified player into the console. This lets you spy on the game AI. An example syntax would be: show_player_money 2. show_hero_mp - Shows detailed movement point stats for currently selected hero. The exact quantity, stats for currently plotted path(how many points it'll take). add_exp quantity - Adds quantity experience (XP) to currently selected hero. Syntax is add_exp 5000 clear_money - Sets all your resources to 0 add_gold quantity - Sets current gold to quantity (must be an integer) but zeroes out other resources.@ClearFog () - to open all map@Dragons () - to give all heroes on 1000 black dragonsadd_money quantity - Sets all resources except gold to quantity and sets gold to quantity multiplied by a factor of 1000. Example syntax add_money 100 gives 100 of everything and 100000 gold.
Submitted by wrongusername2
Cheatmode:----------Submitted by: SteefUpdate by: Dragi In order to use Heroes 5 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: Startupmainmenusetvar dev_console_password = schwinge-des-todes While playing, press the tilde (`) key to bring up the cheat console. Use the following Heroes 5 cheat codes in the cheat console. add_all_spellsGives 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_moneySets all your resources to zero. set_hero_luck_morale X YSets 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_mpShows detailed movement point stats for currently selected hero - exact quantity, stats for currently plotted path. add_army town nTownID, bUpgradeWill 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 = 0PRESERVE = 1ACADEMY = 2DUNGEON = 3NECRO = 4INFERNO = 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.

Ei kommentteja: