Difference between revisions of "AB9406AA"
From SimsWiki
(Better description of X and Y coordinates) |
|||
(5 intermediate revisions by 4 users not shown) | |||
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" (probably just when Block version < 3); values become varied when Block version > 2 |
− | :; | + | :;FLOAT |
::First X coordinate | ::First X coordinate | ||
− | :; | + | :;FLOAT |
::First Y coordinate | ::First Y coordinate | ||
:;DWORD | :;DWORD | ||
− | ::First Level | + | ::First Level |
− | :; | + | :;FLOAT |
::Second X coordinate | ::Second X coordinate | ||
− | |||
− | |||
:;FLOAT | :;FLOAT | ||
− | ::Second | + | ::Second Y coordinate |
:;DWORD | :;DWORD | ||
− | :: | + | ::Second Level |
:;DWORD | :;DWORD | ||
− | ::Unknown | + | ::Unknown (probably, "Roof Style", "Roof Angle Type" or the like, esp. when Block version > 2) |
+ | :;DWORD | ||
+ | ::Roof Pattern | ||
:;If Block version > 1 | :;If Block version > 1 | ||
::;FLOAT | ::;FLOAT | ||
− | ::: | + | :::Roof Pitch; angle of slope |
+ | :::Higher number produces steeper slope | ||
+ | :::Lower number produces more shallow slope | ||
:;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". | ||
+ | |||
+ | [[Category:Sims 2 Modding]] | ||
+ | [[Category:InternalFormats]] | ||
+ | [[Category:FormatsByTGI]] |
Latest revision as of 19:03, 17 September 2012
AB9406AA | |
---|---|
Short name: | ROOF |
Long name: | Roof |
[edit] Format
[edit] Header
As specified in WDB
- DWORD
- Block ID
- DWORD
- Block version (known values: 1 (EP0), 2, 3(EPs 4, 5))
[edit] 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".