|
Thread: Is it possible to... | This thread is pages long: 1 2 · «PREV |
|
heymlich
Famous Hero
|
posted May 31, 2023 02:05 AM |
|
|
AlexSpl said: According to this plugin, you can cap the number of heroes just by hex-editing -
_PI->WriteByte(0x431391, maxHeroes);
_PI->WriteByte(0x4A3BE1, maxHeroes);
_PI->WriteByte(0x52A891, maxHeroes);
_PI->WriteByte(0x5D566F, maxHeroes);
_PI->WriteByte(0x5D7E02, maxHeroes);
_PI->WriteByte(0x5D7E0B, maxHeroes);
_PI->WriteByte(0x5D860A, maxHeroes);
Can I put more than 8?
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 31, 2023 11:54 AM |
|
|
You could do it, if not the fixed size of heroes array. You still can try to raise the limit up to 10, if you don't care of tavern heroes. But any number of heroes above 8 will definitely break some aspects of the game.
|
|
Phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted May 31, 2023 12:02 PM |
|
|
AlexSpl said: _PI->WriteByte(0x431391, maxHeroes);
_PI->WriteByte(0x4A3BE1, maxHeroes);
_PI->WriteByte(0x52A891, maxHeroes);
_PI->WriteByte(0x5D566F, maxHeroes);
_PI->WriteByte(0x5D7E02, maxHeroes);
_PI->WriteByte(0x5D7E0B, maxHeroes);
_PI->WriteByte(0x5D860A, maxHeroes);
Hi Alex
How are we to understand this? Do we need to edit all these addresses and will it affect all difficulty modes?
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 31, 2023 12:15 PM |
|
|
Quote: How are we to understand this
As virtual addresses (don't forget to sutract 0x400000). For example, you go to 0x52A891 - 0x400000 = 0x12A891, see there 08 and replace this number with your own.
Quote: Do we need to edit all these addresses ...
Preferably all, some of them are for AI only though, but I don't remember which, so it's safer to change all the cases.
Quote: ... and will it affect all difficulty modes?
It will have global effect.
|
|
Phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted May 31, 2023 01:57 PM |
|
|
Okay, thank you.
|
|
|
|