Чит код для игры Heroes of Might and Magic 5

You need to alter the game's autoexec, so you might want to make a back up ofyour Might and Magic 5 autoexec file before you mess up your FAT. Go togamedir\profiles\autoexec.cfg and open the file using Notepad. Put this line asthe 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:

// Startupmainmenusetvar dev_console_password = schwinge-des-todes

Or you can enable console for only the selected profile by appending same lineat end of user.cfg in C:\Documents and Settings\YourWinAcc\My Documents\MyGames\Heroes of Might and Magic V\Profiles\YourProfile.

Following this, you can use some cheats in the game. Press tilde key [~] tobring down console. If it doesn't work for you because you don't have the key onyour keyboard, or can't find it because of foreign layout, whatever, you canalways 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 AIhas been doing last turn. Now, to cheats themselves.

add_skill [SkillID] - The add_skill cheat requires a skill-id or name as aparameter, so you need to find list of all 150 skills/perks/abilities names andtheir ids in data\data.pak\scripts\advmap-startup.lua.

HoMM 5 pak files are pkzip archives and you can access that lua scipt file usingWINRAR 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 uncompresseddata instead of looking in archives. You can even delete the file packs afterthat, but you'd better move them somewhere else and keep them since upcomingpatches might modify the archive files or make use of a user-preferred fileoverride 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 namesthe 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 theuser interface (UI), but these skills will bestow you benefits.

add_army town [nTownID], [bUpgrade] - Will fill all hero army slots with thencreatures of the town id specified. The second parameter is 0 or 1 whichcontrols whether creatures are from upgraded dwellings or not.