During the game press Ctrl + Shift + C, after you hear the sound, enter the codes:
Age of Wonders 2: cheatcodes Free Download
gold Maximum amount of gold
mana Max Mana
explore Open map (on / off)
fog Disable fog
research Research all spells
win Win script
freemove Extra movement (on / off)
towns See all cities in the current map
lose Play script
spells On / Off free spells
instantprod On / Off instant production
products
instantres on / off instant research
ai On / off AI of your players
upgradehero Hero Upgrade
cityspy On / Off surveillance in enemy cities