|
Thread: Change hero portrait in editor | |
|
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
|
|
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.
____________
|
|
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
|
|
radmutant69
Promising
Known Hero
|
posted September 28, 2019 06:16 PM |
|
|
|
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
|
|
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.
____________
|
|
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
|
|
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.
____________
|
|
Karmakeld
Responsible
Supreme Hero
|
posted October 05, 2019 04:58 PM |
|
|
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
____________
|
|
|