8A84D7B0

From SimsWiki
(Redirected from WLAY)
Jump to: navigation, search
8A84D7B0
Short name: WLL
Long name: Wall layer

Format

Header

As specified in WDB.

DWORD
Block ID
Value = 8A84D7B0
DWORD
Block version
Only known value is 1
7BITSTR
Block name
Value = "cWallLayer"

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
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox