Difference between revisions of "0A284D0B"

From SimsWiki
Jump to: navigation, search
(Describe more of the structure, especially the third array)
m (Fix formatting a bit)
Line 33: Line 33:
 
;DWORD
 
;DWORD
 
:Unknown
 
:Unknown
 +
<br/>
 +
=====List of Wall Vertices=====
 
;DWORD
 
;DWORD
 
:Count A:  
 
:Count A:  
:List of Wall Vertices
 
 
;repeat A times
 
;repeat A times
 
:;DWORD
 
:;DWORD
Line 45: Line 46:
 
:;DWORD
 
:;DWORD
 
::Level (0 is ground level, 1 is next floor up, etc., -1 is below ground, such as pool)
 
::Level (0 is ground level, 1 is next floor up, etc., -1 is below ground, such as pool)
 +
<br/>
 
;DWORD
 
;DWORD
 
:Count B
 
:Count B
Line 50: Line 52:
 
:;DWORD
 
:;DWORD
 
::Unknown (generally incremental, but not always)
 
::Unknown (generally incremental, but not always)
 +
<br/>
 +
=====List of Walls=====
 +
Defines a wall between two vertices.
 
;DWORD
 
;DWORD
 
:Count C:
 
:Count C:
:List of Walls
 
 
;repeat C times
 
;repeat C times
 
:;DWORD
 
:;DWORD
Line 62: Line 66:
 
:;DWORD
 
:;DWORD
 
::Identifier of second entry within Wall Vertex List;
 
::Identifier of second entry within Wall Vertex List;
::Defines a wall between the first and second vertex.
 
 
:;DWORD
 
:;DWORD
 
::Unknown
 
::Unknown

Revision as of 09:20, 15 April 2008

0A284D0B
Short name: WGRA
Long name: Wall graph

Contents

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


List of Wall Vertices
DWORD
Count A:
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)


List of Walls

Defines a wall between two vertices.

DWORD
Count C:
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;
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

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox