Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Mistake in CHK format for UNIS/UNIx?
Mistake in CHK format for UNIS/UNIx?
Mar 22 2019, 1:51 am
By: sethmachine  

Mar 22 2019, 1:51 am sethmachine Post #1



See the spec here: http://www.starcraftai.com/wiki/CHK_Format#.22UNIS.22_-_Unit_Settings

It says that there are 228 u16s for weapon damage / weapon upgrade bonus:

Quote
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:

Quote
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.

Mar 22 2019, 1:54 am O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 22 2019, 2:06 am sethmachine Post #3



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.

Mar 22 2019, 6:15 pm O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2019-7-14. : 8:29 pm]
Ultraviolet -- Suicidal Insanity
Suicidal Insanity shouted: or the scmdraft thread here
Suicidal Insanity
Suicidal Insanity shouted: or the one in the bnet forums
Suicidal Insanity
Suicidal Insanity shouted: or the one on reddit
:lol:
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- or the one on reddit
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- or the one in the bnet forums
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- or the scmdraft thread here
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- check the newspost on the scmdraft homepage
[2019-7-14. : 6:59 pm]
No-Name-Needed -- Been gone a bit, Came back to a new BW patch and SCm Draft won;t work now.. Anyone have a link to download a working version?
[2019-7-14. : 5:06 pm]
Suicidal Insanity -- Ultraviolet
Ultraviolet shouted: Suicidal Insanity The point of gambling isn't for YOU to make money :P
No !
[2019-7-14. : 4:35 pm]
Voyager7456 -- lil-Inferno
lil-Inferno shouted: y'all mad AF
[2019-7-14. : 2:43 pm]
RdeRenato -- xd
[2019-7-14. : 2:15 pm]
lil-Inferno -- y'all mad AF
Please log in to shout.


Members Online: Roy, Wing Zero