Difference between revisions of "0A284D0B"
From SimsWiki
m (Additional value for level) |
(Describe more of the structure, especially the third array) |
||
Line 34: | Line 34: | ||
:Unknown | :Unknown | ||
;DWORD | ;DWORD | ||
− | :Count A | + | :Count A: |
+ | :List of Wall Vertices | ||
;repeat A times | ;repeat A times | ||
:;DWORD | :;DWORD | ||
Line 43: | Line 44: | ||
::Y coordinate | ::Y coordinate | ||
:;DWORD | :;DWORD | ||
− | ::Level (0 is ground level, 1 is next floor up, etc., -1 is pool) | + | ::Level (0 is ground level, 1 is next floor up, etc., -1 is below ground, such as pool) |
;DWORD | ;DWORD | ||
:Count B | :Count B | ||
Line 50: | Line 51: | ||
::Unknown (generally incremental, but not always) | ::Unknown (generally incremental, but not always) | ||
;DWORD | ;DWORD | ||
− | :Count C | + | :Count C: |
+ | :List of Walls | ||
;repeat C times | ;repeat C times | ||
− | :; | + | :;DWORD |
− | :: | + | ::Unknown |
+ | :;DWORD | ||
+ | ::Identifier of first entry within Wall Vertex List above | ||
+ | :;DWORD | ||
+ | ::Unknown | ||
+ | :;DWORD | ||
+ | ::Identifier of second entry within Wall Vertex List; | ||
+ | ::Defines a wall between the first and second vertex. | ||
+ | :;DWORD | ||
+ | ::Unknown | ||
+ | |||
+ | Note: | ||
+ | The Wall Graph includes most vertical structures, such as walls, fences, attic walls, swimming pool walls, and foundation walls (including invisible ones). | ||
{{OldWikiEntryCleaned}} | {{OldWikiEntryCleaned}} |
Revision as of 05:21, 15 April 2008
0A284D0B | |
---|---|
Short name: | WGRA |
Long name: | Wall graph |
Format
Header
As specified in WDB.
- DWORD
- Block ID
- DWORD
- Block version
- 7BITSTR
- Block name
Data Section
- DWORD
- Unknown (always 0?)
- DWORD
- Unknown (always 0?)
- DWORD
- Unknown (always 0 or -1?)
- DWORD
- Lot width
- DWORD
- Lot height
- DWORD
- Unknown
- DWORD
- Unknown
- DWORD
- Unknown
- DWORD
- Count A:
- List of Wall Vertices
- repeat A times
- DWORD
- Identifier
- FLOAT
- X coordinate
- FLOAT
- Y coordinate
- DWORD
- Level (0 is ground level, 1 is next floor up, etc., -1 is below ground, such as pool)
- DWORD
- Count B
- repeat B time
- DWORD
- Unknown (generally incremental, but not always)
- DWORD
- Count C:
- List of Walls
- repeat C times
- DWORD
- Unknown
- DWORD
- Identifier of first entry within Wall Vertex List above
- DWORD
- Unknown
- DWORD
- Identifier of second entry within Wall Vertex List;
- Defines a wall between the first and second vertex.
- DWORD
- Unknown
Note: The Wall Graph includes most vertical structures, such as walls, fences, attic walls, swimming pool walls, and foundation walls (including invisible ones).
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/0A284D0B