For your cheating pleasure!

The new Heroes games produced by Ubisoft. Please specify which game you are referring to in your post.
User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

For your cheating pleasure!

Unread postby Curio » 01 Jun 2006, 22:17

EDIT: I found 2 errors, too small to warrant an updated link, but you guys can change it yourselves in your own docs! ;)

For adding all spells and seeing movement points, I forgot to add the last underscore. :(

So it's in fact:

add_all_spells
show_hero_mp

My bad.


EDIT2: Just saying that this is going to be made into an update-on-demand web guide for Age of Heroes (http://www.heroesofmightandmagic.com). It's still available to download here, of course, but it'll soon have a permanent home! :D

I just got the game several days ago, and spent the last few days poking about in the game's PAK and LUA files. Who can resist when they're in such easily accessible files? ;)

I see that Wrongusername has already introduced everyone to cheats, so unfortunately, this is no longer very original :( (quickly went back to add an acknowledgement in my doc).

But oh well! :D

It pretty much has everything he's provided, but I've found some variants of the codes that make them easier to execute. For example, adding spells or creatures don't need those long all caps names, but a number will do (though I've provided both in charts for reference). So instead of something like @TeachHeroSpell("Razzak", SPELL_MAGIC_ARROW); (gives Narxes Eldritch Arrow), it's @TeachHeroSpell("Razzak", 1);

I've also constructed a chart with hero names (some of your heroes don't go by their in-game names; like Nur = Astral, Findan = Heam, Vladimir = Pelt, etc) so certain codes can be used more effectively without you having to dig for them yourselves. There's also a list and code for every artifact available.

I'd paste everything here, but it's all of 24 pages long, and I spent time indexing it and such that just wouldn't be seen here, lol. :-D

The file may be freely distributed and all that, and I've put it in a RAR archive so it's as small as possible (~40KB from ~400).

You can find it here. You'll have to wait until a counter runs out before you can get it.

I hope you enjoy and find it useful! :)

(Edited link with newest RAR with latest changes in document, again; currently labelled as v. 1.1)[/url][/b]
Last edited by Curio on 02 Jun 2006, 05:44, edited 7 times in total.

User avatar
Metathron
Round Table Hero
Round Table Hero
Posts: 2704
Joined: 29 Jan 2006
Location: Somewhere deep in the Caribbean...
Contact:

Unread postby Metathron » 01 Jun 2006, 22:43

Thanks for that concise overview of the cheat codes. However, I think that the add_army command does not work properly. No matter which faction/number I type in, I always get 10 each of haven's creatures.
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 01 Jun 2006, 23:02

Aha, you're right, but I've got it! :)

Looking at it again, I shouldn't have spelled the town names again. Just use the numbers...so in the examples I provided, it's actually:

add_army 5, 0
…gives your hero 10 creatures of each basic Sylvan creature (because Preserve = 5 as I've indicated)

add_army 4, 1
…gives your hero 10 creatures of each upgraded Necropolis creature (4 = Necropolis)

Thanks for that...I've credited you, and updated the link with the latest change in the doc.

And you're welcome! :D

User avatar
HodgePodge
Round Table Knight
Round Table Knight
Posts: 3530
Joined: 06 Jan 2006

Unread postby HodgePodge » 01 Jun 2006, 23:36

@ Curio

Yes, Wrongusername opened the door, but there was still lots of stuff to be discovered … and you did it. Thank you so much. :) I spent quite a lot of time trying to figure out what number Ability went with what Skill and now I have it at my fingertips. And all those wonderful Artifact Commands. YES! :oex: Way to go. Thank you, I can't even begin to tell you how much you'll be appreciated for this … YOU THE MAN! :-D
Walk Softly & Respect All Life!

Click Here: Lords of War and Money … A Free & Fun Browser Game.

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 01 Jun 2006, 23:40

I'm glad you appreciate it so much! :D

Yes, haha, I personally tested all those numbers (skills, abilities, artifacts, creatures), and that sucked. ;) But now that it's done, I know it was worth the effort for myself and you other HoMMVers. :)

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 02 Jun 2006, 03:54

(bump for my edit in my top post: you should probably change it in your own copies of the doc).

User avatar
asandir
Round Table Hero
Round Table Hero
Posts: 15481
Joined: 06 Jan 2006
Location: The campfire .... mostly

Unread postby asandir » 02 Jun 2006, 04:14

hmmm, i used add_army 5 0 (no commas) and i get 10 of all inferno ... 5 1 gives inferno upgrade (which is what i was after and which wrongusername had as inferno)

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 02 Jun 2006, 04:35

stefan.urlus wrote:hmmm, i used add_army 5 0 (no commas) and i get 10 of all inferno ... 5 1 gives inferno upgrade (which is what i was after and which wrongusername had as inferno)
Yes, you don't need the commas, but I thought it was good scripting form. ;)

What I mean is, for a lot of other commands where you have names in " " and such, it absolutely needs the comma after. If you ever come to memorize some of these commands, I dunno, personally, I don't need to think, "Oh wait, this code needs a comma, this doesn't."

This particular code still accomplishes its function with or without, but since others MUST have it, it's better to assume they all have commas.

If you were commenting on the 5, 0 and 5, 1--I'm not sure I get what you mean, sorry! I did mention town # is the first #, and Inferno = 5, and the 2nd # is 0 = basic, 1 = upgraded.

User avatar
DonZorro
Leprechaun
Leprechaun
Posts: 3
Joined: 02 Jun 2006
Location: Hungary

Re: For your cheating pleasure!

Unread postby DonZorro » 02 Jun 2006, 09:47

Hello,

How can I bring down the console? The "~" is not work!

Thank You...

User avatar
DuRieL
Pixie
Pixie
Posts: 126
Joined: 18 May 2006

Unread postby DuRieL » 02 Jun 2006, 10:27

Great work on this -- I was thinking about making a proper list where the heroes' names match the ones in scripts. Looks like you spared me the trouble. :D

User avatar
Dublex
Pixie
Pixie
Posts: 137
Joined: 20 May 2006
Location: Hertfordshire, United Kingdom

Re: For your cheating pleasure!

Unread postby Dublex » 02 Jun 2006, 10:49

DonZorro wrote:Hello,

How can I bring down the console? The "~" is not work!

Thank You...
try the key with `¬ on it.. that works for me.

User avatar
DonZorro
Leprechaun
Leprechaun
Posts: 3
Joined: 02 Jun 2006
Location: Hungary

Re: For your cheating pleasure!

Unread postby DonZorro » 02 Jun 2006, 10:54

Dublex wrote:
DonZorro wrote:Hello,

How can I bring down the console? The "~" is not work!

Thank You...
try the key with `¬ on it.. that works for me.
What?

User avatar
DuRieL
Pixie
Pixie
Posts: 126
Joined: 18 May 2006

Re: For your cheating pleasure!

Unread postby DuRieL » 02 Jun 2006, 11:03

DonZorro wrote:How can I bring down the console? The "~" is not work!
Search this one:
"Ubisoft/Heroes 5/profiles/default_profile/input.cfg"

Now, open it with Notepad.

Find the following line in the text:
bind show_console '`'

Replace the ` with the key you want to be used for console.

User avatar
HodgePodge
Round Table Knight
Round Table Knight
Posts: 3530
Joined: 06 Jan 2006

Unread postby HodgePodge » 02 Jun 2006, 23:37

Gosh, you guys are so incredibly intelligent! :-D
Walk Softly & Respect All Life!

Click Here: Lords of War and Money … A Free & Fun Browser Game.

User avatar
Lord Zeus
Peasant
Peasant
Posts: 72
Joined: 10 Apr 2006
Location: Romania

Unread postby Lord Zeus » 03 Jun 2006, 09:42

Is there a command to take a secondary skill away?
adding a "-" to add_skill -x doesn't work.

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 04 Jun 2006, 03:41

Lord Zeus: if there is a code to take away a secondary skill, I'm not aware of it.

However, if you wanted to add an ability to the skill (like pathfinding to logistics), you can still do it with the code even if you have no room for it. It just won't show on the screen.

Extrakun
Peasant
Peasant
Posts: 57
Joined: 25 May 2006

Unread postby Extrakun » 04 Jun 2006, 05:30

Is there anywhere else I can download the file? Megaupload seems to have a dislike for my ISP -- whether I try to download the file, it keeps insisting that IP address is already downloading something els.e

Thanks!

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 04 Jun 2006, 06:55

Would you like me to send it to you? PM me your e-mail if you'd like. :)

User avatar
DonZorro
Leprechaun
Leprechaun
Posts: 3
Joined: 02 Jun 2006
Location: Hungary

Re: For your cheating pleasure!

Unread postby DonZorro » 07 Jun 2006, 07:48

This is OK, but not work! Have You got any idea whit this? My version is english. Is this the problem?

setvar dev_console_password = schwinge-des-todes
This correct?

setvar prefer_special_hero_trail = 1
And this?

Thanks...

User avatar
Curio
Leprechaun
Leprechaun
Posts: 29
Joined: 01 Jun 2006
Location: Canada

Unread postby Curio » 08 Jun 2006, 19:54

It is indeed:

setvar dev_console_password = schwinge-des-todes

and should work no matter what version...are you putting it after the line with mainmenu, so it looks like this in your autoexec.cfg:

// Startup
mainmenu
setvar dev_console_password = schwinge-des-todes


Return to “Heroes V-VI”

Who is online

Users browsing this forum: No registered users and 0 guests