25. building stats 2

Post Reply
User avatar
rupuzioks
Site Admin
Posts: 555
Joined: Sun Nov 13, 2011 2:57 pm

25. building stats 2

Post by rupuzioks » Fri Feb 17, 2017 5:19 pm

EE 07 00 00 00 00 A4 2C 00 00 02 00
A4 2C = 2CA4 length

03F82F0E - 03F85BB1

example:

30 00 04 01 04 87 FF 52 02 63 FF E3 01 7E 00 D5 01 68 00 46 02

Byte 01-02 - building ID
Byte 03 - data instance for given building (one buildig can be referred more than once in this file)
Byte 04 - unknown (all entries have byte 04 set to 1)
Byte 05 - number of points (N)
The remaining bytes are divided into groups of four. These four bytes correspond to two signed short integers. That is, coordinate X and Y of a shape vertex. Shape contains N points.

Each shape is assigned to one building. The number of shapes each building consists of is equal to the value of byte 0E in "24. building stats".

Credits to leszekd25
Tempus et vita, tempus et mortis

Post Reply