Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
MoM Modding: Hero Special Abilities

Another set of observations on modding: where do hero special powers come from? I'm guessing modders know how to set them, but I haven't seen it documented, so here's what I know so far:

The chart for hero abilities starts at 0x027AE0 in magic.exe, and consists of 0x12 byte structures, laid out as follows:
  • 0x00: number of random picks.
  • 0x02: type of random picks (0: fighter, 1: mage, 2: both).
  • 0x04-0x07: base hero abilities (same format as save file).
  • 0x08: base casting skill (same format as save file).
  • 0x0a, 0x0c, 0x0e, 0x10: spell codes (same as save file, but note the spacing here).
  • 0x01, 0x03, 0x09, 0x0b, 0x0d, 0x0f, 0x11: always 0 (probably MSB for prior).
Reply

It is not completely clear, for me. alright

I've found the same information about byte 0x02 (type of random picks 0: fighter, 1: mage, 2: both), but Alorra and Thorin could get Arcane Power in vanilla version, bug fixed in Insecticide Patch, so somewhere the single ability can be switched on/off. smile

Can you report here the infos about "same as file save"? smile

P.S. Probably in the last line you mean:
0x01, 0x03, 0x09, 0x0b, 0x0d, 0x0f, 0x11: always 0 (probably MSB for prior). smile
Only the people crazy enough to think they can change the world of Arcanus and Myrror can do it. rolleye
Reply

FrancoK Wrote:It is not completely clear, for me. alright

I've found the same information about byte 0x02 (type of random picks 0: fighter, 1: mage, 2: both), but Alorra and Thorin could get Arcane Power in vanilla version, bug fixed in Insecticide Patch, so somewhere the single ability can be switched on/off. smile
Alorra gets 3 random fighter/mage picks in vanilla, Torin gets 2. Insecticide probably switched them both to get random fighter picks.
Reply

Anthony Wrote:Alorra gets 3 random fighter/mage picks in vanilla, Torin gets 2. Insecticide probably switched them both to get random fighter picks.
I see.

Can you tell me what are the fighter versus the mage skills? smile

I.E. Noble is Fighter or Mage?
Only the people crazy enough to think they can change the world of Arcanus and Myrror can do it. rolleye
Reply

fighter-mage hero can have everything.
Reply

Not exactly. The list is:
  • Both: Charmed, Luck, Noble.
  • Fighter: Agility, Arms Master, Blade Master, Constitution, Leadership, Legendary, Might.
  • Mage: Arcane Power, Prayer Master, Sage, +2.5 magic per level.
Note that that's only for randoms, it's perfectly possible for fixed abilities to ignore this; a number of heroes have fighter abilities and magic points, and Roland has prayermaster despite an utter lack of magic abilities.
Reply

Anthony Wrote:Not exactly. The list is:
  • Both: Charmed, Luck, Noble.
  • Fighter: Agility, Arms Master, Blade Master, Constitution, Leadership, Legendary, Might.
  • Mage: Arcane Power, Prayer Master, Sage, +2.5 magic per level.
Note that that's only for randoms, it's perfectly possible for fixed abilities to ignore this; a number of heroes have fighter abilities and magic points, and Roland has prayermaster despite an utter lack of magic abilities.
Fine, thank you. thumbsup

Can we mod the list where the skill belong? rolleye

I.E. I would like to have Prayer Master to the Both list, instead of the Mage list. Can be done?
Only the people crazy enough to think they can change the world of Arcanus and Myrror can do it. rolleye
Reply

If you wish very much, it can be done. But i see no reason.
Reply

Asfex Wrote:If you wish very much, it can be done. But i see no reason.
I would like to move the skill Prayer Master to the Both list, instead of the Mage list. jive
Where can i find the three lists (or there is a tristate flag for every skill where can I put W,M or B)?
How can I change the assignment? smile
Only the people crazy enough to think they can change the world of Arcanus and Myrror can do it. rolleye
Reply

Bit of trivia I just figured out: in the hero save structure, byte 5 sometimes has bit 0x40 set; this bit is not described in Eljay's files. I just figured out what it is: it indicates a female hero.
Reply



Forum Jump: