Board Thread:Development/@comment-26393217-20170201131119/@comment-26393217-20170516165226

Yes, I know that I was very lucky, it could have been burried in a multi-flag byte, or something else. It was found in less than an hour, instead. Still, I don't know why the same 'colour' value is copied in several, non contiguous bytes. I've believed that they each could command the colour of the splash, or one of the stains, separately, but I gave up finding it. It looks like the .ANI files have a quasi-periodic structure of 9 records (or sets) of 23 bytes each, with values that most often repeat from a record to another. That could mean that only the first 23 bytes should be monitored in order to find out their role. The purpose of having 9 sets is yet unknown to me, and only the few first ones could be active, as they seem to have less zero values. 'Blood colour' bytes are the bytes number 0x16 of each 'record' (i.e bytes 0x16, 0x30, 0x4a, 0x64, ...) and only the first one seems active. Tonight, I just found out that their neighbours, bytes number 0x14 (i.e. bytes 0x14, 0x2e, 0x48, 0x62, ...) are the 'selection circle' bytes. First one (0x14) is the selection circle's size on idle unit, and second one (0x28) is the one displayed when the unit moves (in any direction). Change only one of them and you see the circle changing size when the unit stops. Values are straightforward: 00, 01 or 02 for small, medium or large circles. Changing a small circle to a large one triggers the "color bug" when circle's colour stay green whatever the unit's level. Also, resized circles are badly misaligned with the unit sprite, so there might be a XY offset somewhere nearby. This could help correcting a few vanilla misaligned circles (Ironbark?).

If you suspect something more of interest could be still found in the .ANI files, you could spurr me up again!

When you say 'interface image', is it the one that appears at the bottom of the screen in a frame? Rather, are you in knowledge of some mean to reduce a unit's apparent size in the main window. I'd like to reduce the War Dog's size for instance (so that it fits that of a small unit), and possibly to increase the Reaper's size (so that it fits that of a large unit, in case its size-flag is not changed to Medium).

Also, am I right in thinking that the selection circle is only a visual effect, and that the real unit'size (or footprint) is in the .ARM file (bytes 0x38-0x39)? If so why the dragons, the flying Titans, the Manticore, the Minotaure King, and the Giant don't share the same '02 02' value which other Titans, Siege Weapons, and Earth Elemental have in common?

Forgive all those questions, I'm like a child who first see the sea, you know.