See the spec here:
http://www.starcraftai.com/wiki/CHK_Format#.22UNIS.22_-_Unit_SettingsIt says that there are 228 u16s for weapon damage / weapon upgrade bonus:
u16[228]: Base weapon damage the weapon does, in weapon ID order (#List of Unit Weapon IDs)
u16[228]: Upgrade bonus weapon damage, in weapon ID order
However, If I try reading more than 130 u16s for those sections, I run out of bytes to read. I think the format should say this:
u16[130]: Base weapon damage the weapon does, in weapon ID order (#List of Unit Weapon IDs)
u16[130]: Upgrade bonus weapon damage, in weapon ID order
None.
Yes, you are correct. iirc UNIS should have 100 and UNIx should have 130.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Alright, how do we update that page so it's correct?
While a slight mistake, this is a little concerning.
What other mistakes could there be in that CHK specification page?
None.
I think you have to have an account on the wiki to be able to make edits.
I'm not sure why those values were changed to 228, they are correct in the source article linked at the top of the page.
No other mistakes jump out at me, but that doesn't mean there aren't any more. XD
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!