I'm wondering how I can enable the console to, therefore, enable cheats. This is what everyone posts on every thread looking for cheats (please skip to bottom to see the rest of my thread):
Found a way to enable console in release version.
To do so for all game profiles go to gamedirprofilesautoexec.cfg
Put this as last line
setvar dev_console_password = schwinge-des-todes
So it will look like this
..
//
// Startup
mainmenu
setvar dev_console_password = schwinge-des-todes
Or you can enable console for only select profile by appending same line at end of user.cfg in
C:Documents and SettingsYourWinAccMy DocumentsMy GamesHeroes of Might and Magic VProfilesYourProfile
Then you can use some cheats ingame. Press tilde key('`') to bring down console. If it doesn't work for you because you don't have the key on your keyboard, can't find it because of foreign layout, whatever, you can always edit input.cfg in your user profile dir
//debug keys
bind show_console '`'
Edit this to something suitable for you then.
Basic thing console does is tell you what ai has been doing last turn.
Now, to cheats themselves.
Most complex 1 is add_skill
add_skill takes skill-id or name as parameter, you can find list of all 150 skills/perks/abilities names and their ids in datadata.pakscriptsadvmap-startup.lua
HoMM 5 pak files are pkzip archives and as such you can access that lua scipt file using winrar/winzip etc(btw unpacking all packs will speed things up since game will access uncompressed data instead of looking in archives. You can even delete packs after that, but better move them somewhere else and keep them since we don't know if upcoming patches will modify archives or use overrides system).
So, for example:
add_skill Necromancy
Pretty self-explanatory.
or
add_skill 19
Will give perk pathfinding
You can add skills over limit it seems. E.g. more than 6 skills etc. Though you won't see them in ui, but will get benefits.
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
E.g.
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
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. For ex set_hero_luck_morale 5 3
show_player_money playernumber
Outputs resource quantities of specified player into console. So you can spy on ai. E.g. show_player_money 2
show_hero_mp
Shows detailed movement point stats for currently selected hero - exact quantity, stats for currently plotted path(how many points it'll take).
add_exp quantity
Adds quantity xp to currently selected hero. E.g. add_exp 5000
clear_money
Sets all your resources to 0
add_gold quantity
Sets current gold to quantity and zeroes out other resources.
add_money quantity
Sets all resources except gold to quantity and sets gold to quantity*1000. So add_money 100 gives 100 of everything and 100000 gold.
Or something of the sort. I don't even understand the first step. I go to My Documents, My Games, Heroes of Might and Magic V, Profiles, Mildus (My Profile). Then I see a Saves folder, input.cfg, and user.cfg. Am I doing it incorrectly?
Can someone give me a walkthrough of how to enable this? If you have an xfire, I'd love to get some step-by-step help. I'm also wondering what patch I need. I'm trying to get as far as I can without patches becuase they made my game crash a lot last time I downloaded them. Thanks for all the help.