|
Before you can use the cheat codes you must first enable the console.
This requires that you edit two files. First, locate the autoexec_a2.cfg
file in your INSTALL FOLDER\Profiles folder. Open this file with Notepad
and add the following line to the end of the file (in the // Startup section):
setvar dev_console_password = schwinge-des-todes
Next, locate the input_a2.cfg file located in next folder:
\MY DOCUMENTS\MY GAMES\HOMM5TOE\PROFILES\<PLAYERNAME>\
Open this file with Notepad and in the // console section,
add the following line:
bind show_console '`'
Once you've done the above, you can bring up the console by pressing [`]
while playing. Type enable_cheats in the console to activate cheat mode.
You can then use any of the following cheat codes by typing them into
the console:
add_all_spells - gives 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 # sets gold to #*1000.
example: add_money 100 gives 100 of all resources 100k gold
clear_money - sets all your resources to zero.
add_exp # - adds # of experience to currently selected hero.
show_hero_mp - shows detailed movement point stats for selected hero
@Win() - win Mission.
@Loose() - lose Mission.
@Dragons () - give all heroes 1000 dragons.
set_hero_luck_morale X Y - sets luck (X) and morale (Y) base values
... Далее >>
|