Difference between revisions of "8A84D7B0"
From SimsWiki
(Define known fields in array entry) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 20: | Line 20: | ||
===Data Section=== | ===Data Section=== | ||
+ | instance 0x04 (used by wall partitions) | ||
+ | |||
;DWORD | ;DWORD | ||
:Count N | :Count N | ||
;repeat N times | ;repeat N times | ||
+ | ; Number of partition instance(s) (different partition types included) | ||
: | : | ||
:;DWORD | :;DWORD | ||
− | :: | + | :: ID of the partition instance |
− | ::Corresponds to | + | ::Corresponds to partition instance ID in [[WGRA]] List of Walls |
:;DWORD | :;DWORD | ||
− | :: | + | ::Partition Type (walls, fences, half-walls, fencearches, etc) |
::There are two possible values for this field: | ::There are two possible values for this field: | ||
::1) Wall or partition type specified in walls.txt, and possibly other files such as fences.txt. For example: | ::1) Wall or partition type specified in walls.txt, and possibly other files such as fences.txt. For example: | ||
Line 37: | Line 40: | ||
::2) Some other hex value; meaning not known at this time. | ::2) Some other hex value; meaning not known at this time. | ||
:;WORD | :;WORD | ||
− | :: | + | ::Wall covering on one side of the wall |
:;WORD | :;WORD | ||
− | :: | + | ::Wall covering on the other side of the wall |
+ | |||
+ | |||
+ | instance 0x12 (used for fence-arch) | ||
+ | |||
+ | ;DWORD | ||
+ | :Count N | ||
+ | ;repeat N times | ||
+ | ; Number of partition instance(s) (different partition types included) | ||
+ | : | ||
+ | :;DWORD | ||
+ | :: ID of the partition instance | ||
+ | ::Corresponds to partition instance ID in [[WGRA]] List of Walls | ||
+ | :;WORD | ||
+ | ::Partition Type (walls, fences, half-walls, fencearches, etc) | ||
+ | ::There are two possible values for this field: | ||
+ | ::1) Wall or partition type specified in walls.txt, and possibly other files such as fences.txt. For example: | ||
+ | :::1 = normal wall | ||
+ | :::3 = attic wall | ||
+ | :::23 = brick foundation wall | ||
+ | :::29 = pool wall | ||
+ | ::2) Some other hex value; meaning not known at this time. | ||
+ | :;DWORD | ||
+ | ::apparently, a grid point location | ||
+ | :;WORD | ||
+ | ::unknown | ||
+ | |||
+ | |||
Note: | Note: | ||
− | Each | + | 1) Each partition instance ID may be reflected in multiple WGRA instances. |
+ | |||
+ | 2) WLL is also known as WLAY in SimPE | ||
+ | |||
+ | 3) [[SMAP]] can be used to translate the two wall covering numbers from WLL to two [[7BITSTR]]. If a 7BITSTR appears to be a GUID, an XOBJ record in catpatterns.bundle.package may be used to translate this GUID to an actual wall covering. For example, a 7BITSTR value of "4CD64CEA" can be found as the GUID for "Way Off White" Paint. | ||
{{OldWikiEntry}} | {{OldWikiEntry}} | ||
− | [[Category:Modding]] | + | [[Category:Sims 2 Modding]] |
[[Category:InternalFormats]] | [[Category:InternalFormats]] | ||
[[Category:FormatsByTGI]] | [[Category:FormatsByTGI]] |
Latest revision as of 17:58, 17 September 2012
8A84D7B0 | |
---|---|
Short name: | WLL |
Long name: | Wall layer |
[edit] Format
[edit] Header
As specified in WDB.
- DWORD
- Block ID
- Value = 8A84D7B0
- DWORD
- Block version
- Only known value is 1
- 7BITSTR
- Block name
- Value = "cWallLayer"
[edit] Data Section
instance 0x04 (used by wall partitions)
- DWORD
- Count N
- repeat N times
- Number of partition instance(s) (different partition types included)
-
- DWORD
- ID of the partition instance
- Corresponds to partition instance ID in WGRA List of Walls
- DWORD
- Partition Type (walls, fences, half-walls, fencearches, etc)
- There are two possible values for this field:
- 1) Wall or partition type specified in walls.txt, and possibly other files such as fences.txt. For example:
- 1 = normal wall
- 3 = attic wall
- 23 = brick foundation wall
- 29 = pool wall
- 2) Some other hex value; meaning not known at this time.
- WORD
- Wall covering on one side of the wall
- WORD
- Wall covering on the other side of the wall
instance 0x12 (used for fence-arch)
- DWORD
- Count N
- repeat N times
- Number of partition instance(s) (different partition types included)
-
- DWORD
- ID of the partition instance
- Corresponds to partition instance ID in WGRA List of Walls
- WORD
- Partition Type (walls, fences, half-walls, fencearches, etc)
- There are two possible values for this field:
- 1) Wall or partition type specified in walls.txt, and possibly other files such as fences.txt. For example:
- 1 = normal wall
- 3 = attic wall
- 23 = brick foundation wall
- 29 = pool wall
- 2) Some other hex value; meaning not known at this time.
- DWORD
- apparently, a grid point location
- WORD
- unknown
Note:
1) Each partition instance ID may be reflected in multiple WGRA instances.
2) WLL is also known as WLAY in SimPE
3) SMAP can be used to translate the two wall covering numbers from WLL to two 7BITSTR. If a 7BITSTR appears to be a GUID, an XOBJ record in catpatterns.bundle.package may be used to translate this GUID to an actual wall covering. For example, a 7BITSTR value of "4CD64CEA" can be found as the GUID for "Way Off White" Paint.
This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/8A84D7B0