Difference between revisions of "6B943B43"
From SimsWiki
m (Explanation of float in instance 0x3B76) |
|||
Line 37: | Line 37: | ||
:;FLOAT (in singles) | :;FLOAT (in singles) | ||
− | :: | + | ::Elevation of water (usually just below the elevation of the land) |
;All other Instance IDs | ;All other Instance IDs | ||
:;Byte | :;Byte |
Revision as of 05:30, 4 May 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)
- Elevation of water (usually just below the elevation of the land)
- 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