Difference between revisions of "0A284D0B"

From SimsWiki
Jump to: navigation, search
m (Add description of Minimum level on the lot)
Line 22: Line 22:
 
:Unknown (always 0?)
 
:Unknown (always 0?)
 
;DWORD
 
;DWORD
:Unknown (always 0 or -1?)[0x00000000 for lots without swim-pool? or 0xffffffff for lot with swim-pool?]
+
:Minimum level on the lot
 +
:There are two possible values for this field:
 +
:0 if the ground level is the lowest level on the lot (default)
 +
:-1 if an underground level exists
 
;DWORD
 
;DWORD
 
:Lot width
 
:Lot width
Line 49: Line 52:
 
;DWORD
 
;DWORD
 
:Count B
 
:Count B
;repeat B time
+
;repeat B times
 
:;DWORD
 
:;DWORD
 
::Unknown (generally incremental, but not always)
 
::Unknown (generally incremental, but not always)
Line 65: Line 68:
 
::Unknown
 
::Unknown
 
:;DWORD
 
:;DWORD
::Identifier of second entry within Wall Vertex List;
+
::Identifier of second entry within Wall Vertex List
 
:;DWORD
 
:;DWORD
 
::Unknown
 
::Unknown
  
 
Note:
 
Note:
The Wall Graph defines most vertical structures, such as walls, fences, attic walls, swimming pool walls, and foundation walls (including invisible walls).  Each wall may require other associated structures.  For example, fences usually have associated fence posts (FPL).  Attics have associated roofs (ROOF).
+
The Wall Graph defines most vertical structures, such as walls, fences, attic walls, swimming pool walls, and foundation walls (including invisible walls).  Each wall may require other associated structures.  For example, fences usually have associated fence posts (FPL), attics have associated roofs (ROOF), swimming pools have associated swimming pool surfaces (POOL).
  
 
{{OldWikiEntryCleaned}}
 
{{OldWikiEntryCleaned}}

Revision as of 11:54, 5 May 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
Minimum level on the lot
There are two possible values for this field:
0 if the ground level is the lowest level on the lot (default)
-1 if an underground level exists
DWORD
Lot width
DWORD
Lot height
DWORD
Numeric Value of Story/floor grid level (UI)
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 times
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 defines most vertical structures, such as walls, fences, attic walls, swimming pool walls, and foundation walls (including invisible walls). Each wall may require other associated structures. For example, fences usually have associated fence posts (FPL), attics have associated roofs (ROOF), swimming pools have associated swimming pool surfaces (POOL).

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