and replace them with these new lines:
//For transparent interface
//missioncameralimits fov minDistance maxDistance minPitch maxPitch minYaw maxYaw
missioncameralimits 50 10 120 -85 -5 0 0
missioncamerasoftlimits 50 11 119 -83 -7 0 0
NOTE It will not work if You load a saved game because these settings seems to be saved in to the saved games, so start a new map and it will work.
This will allow You to pitch the camera from 5-85 degrees and allow You to zoom out more 120. Adjust it to Your needs if necessary.
Battle hack:
People who think that ATB icons are moving too slow I think they realy are, can use next thing:
Add to your profiles/autoexec.cfg the following lines:
setvar ATBActionAddRemoveTime = 0.2
setvar ATBActionFadeOutTime = 0.2
setvar ATBActionMoveTime = 0.2
setvar ATBBarScrollSpeed = 0.2
Enabling console and basic cheats:
Found a way to enable console in release version.
To do so for all game profiles go to gamedirprofilesautoexec.cfg
Put this as last line
setvar devconsolepassword = schwinge-des-todes
So it will look like this
...
//============================================================================
// Startup
mainmenu
setvar devconsolepassword = 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 SettingsYourWinAccMy DocumentsMy GamesHeroes of Might and Magic VProfilesYourProfile
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 showconsole ''
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 addskill
addskill takes skill-id or name as parameter, you can find list of all 150 skills/perks/abilities names and their ids in datadata.pakscriptsadvmap-startup.lua
HoMM 5 pak files are pkzip archives and as such you can access that lua scipt file using winrar/winzip etcbtw 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:
addskill Necromancy
Pretty self-explanatory.
or
addskill 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.
addarmy 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.
addarmy 5, 0
Will fill all hero army slots with 10 basic inferno creatures
addarmy 4, 1 will fill hero army slots with 10 upgraded Necro creatures
addallspells
Gives all spells to currently selected hero. Bypasses all skills reqs, for usage also.
setheroluckmorale nLuck nMorale
Sets luck and morale base values for current hero. For ex setheroluckmorale 5 3
showplayermoney playernumber
Outputs resource quantities of specified player into console. So you can spy on ai. E.g. showplayermoney 2
showheromp
Shows detailed movement point stats for currently selected hero - exact quantity, stats for currently plotted pathhow many points it'll take.
addexp quantity
Adds quantity xp to currently selected hero. E.g. addexp 5000
clearmoney
Sets all your resources to 0
addgold quantity
Sets current gold to quantity and zeroes out other resources.
addmoney quantity
Sets all resources except gold to quantity and sets gold to quantity1000. So addmoney 100 gives 100 of everything and 100000 gold.
Some more advanced cheating using LUA scripts:
Found a way to execute LUA script engine commands from console. You need to put "@" before them. Now all power of LUA scripting engine core console commands lie at your fingertips.
Revealing fog-of-war, adding any numbers of any creatures, getting specific spells. Replenish movement points. Want that funny artifact? Set any hero stats to any values. Used a trainer and screwed your game? No problem, with a couple commands you can fix your character. Encountered a critical bug and mission just won't end? Better ask what you can't do now than what you can. Unpack your paks and start looking at lua script examples.
@Win
@Loose
@GiveArtefact 'Isabell', ARTIFACTRINGOFHASTE ;
@OpenCircleFog64,125,0,15,PLAYER1;
Btw use this command
bind showfps 'F1'
Or better yet perma-bind this in your input.cfg
Besides other usefull info it shows you camera coordinates which you can use to functions which require this as argument.
@TeachHeroSpell"Isabell",SPELLPHANTOM;
@AddHeroCreatures "Agrael", CREATUREHELLHOUND, 1000 ;
ChangeHeroStat 'Isabell', STATMOVEPOINTS, 30000 ;
Bypass campaign-set town building limits?
SetTownBuildingLimitLevel'Town3', 13, 1;
Of course this is just examples most of which need to be passed different arguments. E.g. you need to know internal script hero names, town ids. Consult data/scripts first for some function syntaxis and many constants. Then start looking at actual mapscripts examples.
Use search to look in data folder in files of type .lua
Script commands are CASE SENSITIVE, you must use @Win; and not win; or wIn;.
-from Csimbi