|
Thread: Can we change heroes's sex without map editor? | |
|
chucktar
Hired Hero
|
posted March 09, 2018 06:07 PM |
|
|
Can we change heroes's sex without map editor?
I need to change some heroes battle appearance.I use custom hero portraits.Those portraits basically replace old ones.Some portraits mismatch their battle appearance(for example male portrait hero appears as female hero in battle screen).By the way i know how manually we can change heroes's sex with map editor.But i need perminant changes.We can change heroes's names and portraits or their abilities easily.Can this thing change easily too?
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted March 09, 2018 08:14 PM |
|
|
|
chucktar
Hired Hero
|
posted March 09, 2018 08:28 PM |
|
|
RoseKavalier said: [url=http://heroescommunity.com/viewthread.php3?TID=42152&PID=1349509#focus]Hex editing the game exe or plugins[/url]
Thank you for reply.I heard hex editing thing.But i don't know how i find specific hero.For example how i change Mephala's sex?
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted March 11, 2018 03:06 PM |
|
|
To find the next hero, just count the length of the structure (it's 58 bytes ~ 3Ah) and add that to the start.
Baronus said:
Basic Heroes III Hero editing:
Line 0x279DD0 (in heroes3.exe in Hota near this value)
0A 00 00 00 0B 00 00 00 0C 00 00 00 D1 00 00 00 P1 00 00 00 D2 00
00 00 P2 00 00 00 SB 00 00 00 FF FF FF FF
S1 00 00 00 S2 00 00 00 S3 00 00 00 XX XX XX 00 YY YY YY 00 01 01
First hero:
00 00 00 00 07 00 00 00 00 00 00 00 06 00 00 00 01 00 00 00 01 00
00 00 01 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 00 02 00 00 00 04 00 00 00 44 F1 67 00 34 F1 67 00 01 01
0A - sex [ 00 - m /01 - w]
0B - race [07 - human]
0C - profession [00 - knight 01 - cleric, 02 - ranger etc. see herotraits table for number or erm
tool guide. ]
D1 - first skill [00 - pathfinding, 01 - archery see herotraits table for number or erm tool guide. ]
P1 - first skill level [ 01 - basic, 02 - advanced, 03 - expert]
D2 - second skill
P2 - sec. sk. level
SB - spellbook yes 01, no - 00 .
FF FF FF FF - starting spell (no for knight) see spell table txt for number or erm tool guide.
S1, S2, S3 - start units 00 - pikeman , 01- halabardier etc. se crtraits.txt for number or erm tool
guide.
XX XX XX - dont change
YY YY YY - dont change
00 01 01 - ????
If you look through that thread some more you will find links or references to pretty much everything you need, such as hero IDs.
e.g. hero ID #10 - use programmer calculator for hex calculations unless you like to practice math
0x279DD0 + 10 * 58 = 0x279DD0 + 580 = 0x27A014
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2
|
|
|