Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 4 - Lands of Axeoth > Thread: Change hero portrait in editor
Thread: Change hero portrait in editor
DarkAtom
DarkAtom


Adventuring Hero
posted September 26, 2019 08:25 PM

Change hero portrait in editor

I am trying to change the hero portrait in the editor to another alignemnt and it doesn't work. Is it possible to do that by hex-editing or some other way? For example, how can I place Labetha's portrait on a knight?
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted September 27, 2019 07:36 AM

Extract most recent game files from Data with a tool
(resedit2 for example)
and you should get a "table.heroes.txt" file.

Opening that with textedit you can change the class of a hero.

You would need to repack this on a mod file for it to work ingame.

Easier alternative: Use portrait editor and paste Labetha's face into a knight.
____________
Never changing = never improving

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
DarkAtom
DarkAtom


Adventuring Hero
posted September 28, 2019 06:09 PM

NimoStar said:
Extract most recent game files from Data with a tool
(resedit2 for example)
and you should get a "table.heroes.txt" file.

Opening that with textedit you can change the class of a hero.

You would need to repack this on a mod file for it to work ingame.

Easier alternative: Use portrait editor and paste Labetha's face into a knight.


Ok, thank you! Is there no way to do it so that anyone can play such a map without having to modify their data files? I would suspect it is possible to change the portrait ID of the hero in the map file, but I am not very experienced in hex editing.
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
radmutant69
radmutant69


Promising
Known Hero
posted September 28, 2019 06:16 PM

As far as I know, there is a way to do it if you can make it work: Editor trick thread

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
DarkAtom
DarkAtom


Adventuring Hero
posted September 29, 2019 05:21 PM

radmutant69 said:
As far as I know, there is a way to do it if you can make it work: Editor trick thread


That doesn't change the class of the hero, only the starting skills. This can make a Barbarian behave like a Mage or something like that, but it cannot be used to change the hero's portrait. Basically, I want a hero to look like a Knight on the Adv. Map (talking about the horse model), but the portrait should be a Druid.
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted September 30, 2019 12:55 PM

Darkatom:

Actually, in H4 class is dynamically determined from staring skills. So if you put in the starting skills for the General subclass, your hero will become a General, and can have any portrait.

the only restriction is it probablyu doesn't work for base classes.
____________
Never changing = never improving

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
DarkAtom
DarkAtom


Adventuring Hero
posted October 03, 2019 10:27 PM

NimoStar said:
Darkatom:

Actually, in H4 class is dynamically determined from staring skills. So if you put in the starting skills for the General subclass, your hero will become a General, and can have any portrait.

the only restriction is it probablyu doesn't work for base classes.


I am not interested in the hero class, but rather in how the hero actually looks on the adventure map and in battle.
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted October 04, 2019 05:14 PM
Edited by NimoStar at 17:15, 04 Oct 2019.

Well, it seems from the game files it was planned that prestige classes changed that (each giving a special appearance), but the idea was scrapped in favor of campaign exclusive heroes.


As for your query then, modding is the only choice.

BUT you can make a compatible mod without overwriting game files.

Just copy equilibris .exe and replace any instances "newmod.h4r" (or "nim.h4r" in my Greatest Mod) with an equal-character replacement. You need an hex editor for this, I reccomend hex editor neo.

Then put that .h4r you need to make (with table.heroes.txt edited, or failing that, the portraits file) into your Data file.

And there you have your campaign mod that you can include into your map download and will be like 7 mb.
____________
Never changing = never improving

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Karmakeld
Karmakeld


Responsible
Supreme Hero
posted October 05, 2019 04:58 PM
Edited by Karmakeld at 18:35, 05 Oct 2019.

DarkAtom said:
I am trying to change the hero portrait in the editor to another alignemnt and it doesn't work. Is it possible to do that by hex-editing or some other way? For example, how can I place Labetha's portrait on a knight?


By far the easiest way to do what you're trying to do is to download the Equilibris facetool (it might require the download of the equilibris mod though).
Open the FaceTool copy the portrait of Lebetha and paste it onto any knight. Save it.
This will generate a file named new_mod(.h4r). Just rename that to new(.h4r) and the game can read it. No hex editing required. The facetool is super simple to use and if i you only seek to use existing portraits on another class you don't need any other tools than this.


new_mod rename to 'new'
portraits.h4r
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0323 seconds