Difference between revisions of "AB9406AA"

From SimsWiki
Jump to: navigation, search
(More information about type and meanings of fields)
Line 12: Line 12:
 
:Block ID
 
:Block ID
 
;DWORD
 
;DWORD
:Block version (known values: 1, 2, 3)
+
:Block version (known values: 1 (EP0), 2, 3(EPs 4, 5))
  
 
===Data Section===
 
===Data Section===
Line 19: Line 19:
 
;Repeat Count times:
 
;Repeat Count times:
 
:;DWORD
 
:;DWORD
::Roof Style
+
::"Roof Style" (probably just when Block version < 3); values become varied when Block version > 2
 
:;FLOAT
 
:;FLOAT
 
::First X coordinate
 
::First X coordinate
Line 33: Line 33:
 
::Second Level
 
::Second Level
 
:;DWORD
 
:;DWORD
::Unknown
+
::Unknown (probably, "Roof Style", "Roof Angle Type" or the like, esp. when Block version > 2)
 
:;DWORD
 
:;DWORD
 
::Roof Pattern
 
::Roof Pattern
Line 43: Line 43:
 
:;If Block version > 2
 
:;If Block version > 2
 
::;DWORD
 
::;DWORD
:::Unknown
+
:::Unknown (probably, "Roof Style Type")
 +
 
 +
 
 +
Note: Different "roof style" may share the same "Roof Angle Type" but get differentiated into a few types as "Roof Style Type".

Revision as of 07:31, 2 December 2009

AB9406AA
Short name: ROOF
Long name: Roof

Format

Header

As specified in WDB

DWORD
Block ID
DWORD
Block version (known values: 1 (EP0), 2, 3(EPs 4, 5))

Data Section

DWORD
Count
Repeat Count times
DWORD
"Roof Style" (probably just when Block version < 3); values become varied when Block version > 2
FLOAT
First X coordinate
FLOAT
First Y coordinate
DWORD
First Level
FLOAT
Second X coordinate
FLOAT
Second Y coordinate
DWORD
Second Level
DWORD
Unknown (probably, "Roof Style", "Roof Angle Type" or the like, esp. when Block version > 2)
DWORD
Roof Pattern
If Block version > 1
FLOAT
Roof Pitch; angle of slope
Higher number produces steeper slope
Lower number produces more shallow slope
If Block version > 2
DWORD
Unknown (probably, "Roof Style Type")


Note: Different "roof style" may share the same "Roof Angle Type" but get differentiated into a few types as "Roof Style Type".

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox