Heroes of Might & Magic 5: Hammers of Fate
To enable the console in-game, you'll first have to edit your autoexec.cfg file, found in your GAME_FOLDER/profiles (open it with Notepad or something).
Paste this as the last line, after the line mainmenu:
setvar dev_console_password = schwinge-des-todes
Second, edit the input.cfg file in your profile, which you will find in "My Documents/My Games/Heroes of Might and Magic V/Profiles/YOUR_PROFILE". In the "Common section" (in the beginning of the file), add this line:
bind show_console '`'
Now with the add-on you need to do the same but with the files of hammers of fate: so instead of autoexec.cfg , you have to add it to autoexec_a1.cfg and the second part to input_a1.cfg. then the console should work. then to activate the cheats when in console type; enable_cheats.
after that you can use the cheats or the @ commands.
It all worked fine for me.
As for the script names of the characters, just check the mapeditor and for the exp cheat on the dwarfs you first need to give them exp the normal way and then use that cheat, otherwise it won't work.