ubi.com    Forums  Hop To Forum Categories  Might and Magic  Hop To Forums  Heroes of Might and Magic V General Discussion    Cheats! Console! What??
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Posted
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 gamedir\profiles\autoexec.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 Settings\YourWinAcc\My Documents\My Games\Heroes of Might and Magic V\Profiles\YourProfile

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 data\data.pak\scripts\advmap-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.

This message has been edited. Last edited by: BornToBeMild,
 
Posts: 13 | Registered: Tue January 01 2008Reply With QuoteEdit or Delete MessageReport This Post
Picture of Inferno015
Posted Hide Post
Patch version doesn't matter. Yes, the file with Saves, input and user is correct. Open up Input.cfg with Notepad or such and throw in the line "bind show_console'`'" somewhere in there.

Then go to the other folder and if you are playing ToTE, go to the Start.cfg folder and just add the "setvar..." line. If not, you'll have to add the same line to autoexec.cfg instead. In both cases, but the "setvar..." command after a line that reads:
mainmenu
 
Posts: 442 | Registered: Sat August 25 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I put in " bind show_console '`' " but I don't see anything named "autoexec.cfg". So, I don't know where to put in the "setvar..." line. Is it the "user.cfg" one?


This is my signature. Isn't it great?
 
Posts: 13 | Registered: Tue January 01 2008Reply With QuoteEdit or Delete MessageReport This Post
Picture of Inferno015
Posted Hide Post
No, go to the actual location of the game (Default: C\Program Files\Ubisoft\Heroes...) and find a folder named Profiles. Go to your profile and there should be a few .cfg files there, one of which will be the on you're looking for.
 
Posts: 442 | Registered: Sat August 25 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Ohh, okay. Thanks so much, Inferno015. Been trying to get this for a while now.


This is my signature. Isn't it great?
 
Posts: 13 | Registered: Tue January 01 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
where abouts in Input.cfg is it that you put " bind show_console '`' "
 
Posts: 1 | Registered: Sat January 12 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I put it as the last one, under the console section. Looks like this:

// console
bind console_run_cmd 'ENTER'
bind console_run_cmd 'NUM_ENTER'
bind console_next_cmd 'DOWN'
bind console_prev_cmd 'UP'
bind console_next_string 'HOME'
bind console_prev_string 'END'
bind console_first_string 'LCTRL' + 'HOME'
bind console_last_string 'LCTRL' + 'END'
bind show_console '`'


This is my signature. Isn't it great?
 
Posts: 13 | Registered: Tue January 01 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
can't save autoexc.cfg. when i put the setvar dev_console_password = schwinge-des-todes in. game work tried numerous times and says the path is incorrect
 
Posts: 1 | Registered: Sat January 19 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I think it may be patch 1.3 or 1.4 that disables the console. Maybe that's your problem.


This is my signature. Isn't it great?
 
Posts: 13 | Registered: Tue January 01 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I can't edit my autoexec_a2.cfg, saying Hero5 acess denied. Any helps or advises???? Thanks You
 
Posts: 2 | Registered: Sat September 23 2006Reply With QuoteEdit or Delete MessageReport This Post
Forum Techwiz
Picture of unreal_az
Posted Hide Post
I hope, i really hope for the guys that can't save the autoexec that you are out of the game.....


Once upon a time there were Heroes, Heroes everywhere,
Now the time has come again for Heroes to rise again.

Soldier and Official GUNNUT of THE Alderbranchian Army
 
Posts: 2641 | Registered: Sun May 01 2005Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
They didn't work for me I followed the instructions perfectly and the console never came up in game.. its frustrating because I wanted to see the end of the dwarf expansion its the only mission I can't finish I only have to capture Tor Hrall but I just can't get it done
 
Posts: 5 | Registered: Mon April 07 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
The console no longer exist since 1.3, if you own a previous version but updated, you can always reinstall the game and enable the console (though I am unsure the save files are gonna work).

If you bought the complete edition (HoMM I to V) then you are out of luck since the games come patched.

if you are in the later part their is still the "savefile cheat" you can do: simply find a complete save game (from a friend or some major fansite) and copy it over yours (don't forget to make a backup copy if you want to try it on ure own after!).

once the file has been overwritten, start the game and you will be able to replay all the dialogs from the options (except for the final one that you must load the last autosave).

For some reason Ubi believed they could replace a good AI by some lame patrolling invincible army, It is a shame...nonetheless the story is somewhat interesting. Good luck for those who are still trying to see it through!
 
Posts: 2 | Registered: Sat December 20 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

ubi.com    Forums  Hop To Forum Categories  Might and Magic  Hop To Forums  Heroes of Might and Magic V General Discussion    Cheats! Console! What??

Terms of Use