Difference between revisions of "2A51171B"
m (Fn 3 revision) |
|||
Line 40: | Line 40: | ||
Functions: | Functions: | ||
− | 1. To store arrays of the grid | + | 1. To store arrays of the heights of grid points in singles. And, the layer/story/level of grid point is presumed probably based on values of W, H and layer/story/level probably partly dependent on the same 3D array instance file. |
2. Every standard level height is 16-click-high/16-step-high, and it has a value of 3 in singles. In other words, each click (in terms of elevation tools)/step (in terms of modular stairs) is 0.1875 in singles. | 2. Every standard level height is 16-click-high/16-step-high, and it has a value of 3 in singles. In other words, each click (in terms of elevation tools)/step (in terms of modular stairs) is 0.1875 in singles. | ||
− | 3. Negative value can exist in singles as V!ND!CARE's <4-click wall tutorial suggests. | + | 3. Negative value can exist in singles and later values can be smaller than the previous values for every layer/story/level as V!ND!CARE's <4-click wall tutorial suggests. |
Revision as of 09:46, 5 March 2008
2A51171B | |
---|---|
Short name: | 3DARY |
Long name: | 3D array |
Contents |
Format
- DWORD
- Block ID
- DWORD
- Block Version
- Byte
- Block name
- DWORD
- Count X
- DWORD
- Count Y
- DWORD
- Count Z
- variable
- Array[X,Y,Z] (see below)
Array format
Array[X,Y,Z] is a 3-dimensional array *of Objects* with height X, width Y, and depth Z. The type of data contained within the Object varies by the Instance ID of the file.
Instance ID 0x00, 0x09, 0x0A, or 0x0B
;WORD :unknown ;WORD :unknown ;WORD :unknown ;WORD :unknown
Instance ID 0x01
- Float
- unknown
Functions: 1. To store arrays of the heights of grid points in singles. And, the layer/story/level of grid point is presumed probably based on values of W, H and layer/story/level probably partly dependent on the same 3D array instance file. 2. Every standard level height is 16-click-high/16-step-high, and it has a value of 3 in singles. In other words, each click (in terms of elevation tools)/step (in terms of modular stairs) is 0.1875 in singles. 3. Negative value can exist in singles and later values can be smaller than the previous values for every layer/story/level as V!ND!CARE's <4-click wall tutorial suggests.
Instance ID 0x03
- BYTE
- unknown
Instance ID 0x0C
- DWORD
- Count n
- for each entry
- DWORD
- unknown
Instance ID 0x14
- 16 bytes
- Unknown
Instance ID 0x15
- 4 bytes
- unknown
See Also
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/2A51171B