Difference between revisions of "6B943B43"
From SimsWiki
(Fixed template) |
|||
Line 20: | Line 20: | ||
===Data Section=== | ===Data Section=== | ||
;DWORD | ;DWORD | ||
− | :Count X | + | :Count X (Width) |
;DWORD | ;DWORD | ||
− | :Count Y | + | :Count Y (Height) |
;Array[X,Y] | ;Array[X,Y] | ||
:See below | :See below | ||
Line 29: | Line 29: | ||
;Instance ID 0x3B76 | ;Instance ID 0x3B76 | ||
− | :;FLOAT | + | |
+ | ;DWORD | ||
+ | :Count X (Width = 10n1 + 1) | ||
+ | ;DWORD | ||
+ | :Count Y (Height = 10n2 +1) | ||
+ | ;Array[X,Y] (Width x Height) | ||
+ | |||
+ | :;FLOAT (in singles) | ||
::Unknown | ::Unknown | ||
;All other Instance IDs | ;All other Instance IDs |
Revision as of 19:34, 18 April 2008
6B943B43 | |
---|---|
Short name: | 2DARY |
Long name: | 2D Array |
This format also uses the hex code 0xABCB5DA4, which contains a neighborhood's landscaping.
Format
Header
As specified in WDB.
- DWORD
- Block ID
- DWORD
- Block version
- 7BITSTR
- Block name
Data Section
- DWORD
- Count X (Width)
- DWORD
- Count Y (Height)
- Array[X,Y]
- See below
Array[X,Y] is a 2-dimensional array *of Objects*, X rows by Y columnns in size. The type of Object is based on the Instance ID of the file, as follows:
- Instance ID 0x3B76
- DWORD
- Count X (Width = 10n1 + 1)
- DWORD
- Count Y (Height = 10n2 +1)
- Array[X,Y] (Width x Height)
- FLOAT (in singles)
- Unknown
- All other Instance IDs
- Byte
- Item count
- for each item
- Byte
- unknown
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/6B943B43