Astuces Soluces » PC » H » Heroes of Might and Magic 5
Heroes of Might and Magic 5 - PC

Heroes of Might and Magic 5 - PC
• Truc Astuce Consulté par 1194 Joueurs.
• Code Cheat voté par 0 Joueurs.
• Soluce Tip apprécié par 0% des Joueurs.

Heroes of Might and Magic 5 - PC en Favori.

Vous aussi appréciez Heroes of Might and Magic 5 sur PC :

Here is how You hack the camera:
Open up the HMM5profilesautoexec.cfg in a text editor such as notepad.
Look up these lines:
//For transparanet interface
mission_camera_limits 50 10 70 -55 -30 0 0
mission_camera_softlimits 50 11 69 -53 -32 0 0

and replace them with these new lines:

//For transparent interface
//mission_camera_limits fov minDistance maxDistance minPitch maxPitch minYaw maxYaw
mission_camera_limits 50 10 120 -85 -5 0 0
mission_camera_softlimits 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 ATBAction_AddRemove_Time = 0.2
setvar ATBAction_FadeOut_Time = 0.2
setvar ATBAction_Move_Time = 0.2
setvar ATBBar_ScrollSpeed = 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 dev_console_password = schwinge-des-todes
So it will look like this
// Startup
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.
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:

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

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
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
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.

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.
@GiveArtefact( 'Isabell', ARTIFACT_RING_OF_HASTE );
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.


@AddHeroCreatures( "Agrael", CREATURE_HELL_HOUND, 1000 );
ChangeHeroStat( 'Isabell', STAT_MOVE_POINTS, 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

Codes Trucs Astuces Soluces Cheats Tips Aléatoires

XBOX 360 Table Tennis PC Twisted Metal 2 Dreamcast Record of Lodoss War Game Cube Tom And Jerry: War of the Whiskers PC Wild Vermin Bounty Hunter PC Martian Gothic: Unification PSP Exit Dreamcast Sydney 2000 Nintendo 64 NHL Breakaway '99 Nintendo Demon Sword Playstation Downhill Snow Playstation 2 Dynasty Warriors 2 Playstation 2 Worms Blast PC Urban Chaos XBOX 360 Need for Speed: ProStreet XBOX Van Helsing Playstation 2 RedCard Soccer 2003 PC Sam & Max Episode 5: Reality 2.0 Saturn Impact Racing XBOX 360 King Kong