I figured out that the 4 and 3 attack/armor types are the melee and pierce base attack/armors.
The unit does that much, plus the bonuses. (You can make a unit do both melee and pierce damage, by the way.)
The attack/armor data is about 70ish bytes from the end of the name of the unit. Listed first is the attack, then the armor. Look for a series of smaller numbers (between 0 and 30ish).
They are in pairs, the class then the amount. There is also a counter that tells how many pairs there are, conveniently place right before the pairs.
A base Melee attack of ten would look like this: (in {} to distingish them.
{01 00} {04 00 0a 00}
And with and attack 100 bonus against buildings:
{01 00} {04 00 0a 00} {0b 00 64 00}
I've not tried to figure very many of the AoK ones out yet, (han't had much reason to yet) but I have these:
(I'm not entirly sure on the archer and cav, but I know for SURE that 11 is buildings.)
3 Base Pierce
4 Base Melee
11 Buildings
13 Buildings (A different type of buildings, my guess is walls.)
15 Archers
16 Calvary
That is about all I know at the moment...
Ykkrosh,
All of this is a LOT easy with GeniEd 1. What I wouldn't give to have an AoK version.
The last time this was brought up, you said that the was a version, but that some offsets would need to be set manually.
Is that hard?
The dat file are so close, there are only differences in the unit data for the different civs, and in the "research" equivilant.
I've been copying and pasting hex data into genie_x1.dat and using GeniEd 1 on a lot of my work.