Difference between revisions of "8A84D7B0"

From SimsWiki
Jump to: navigation, search
(Add information about wall coverings.)
 
(One intermediate revision by one user 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
::Wall ID
+
:: ID of the partition instance
::Corresponds to Wall ID in [[WGRA]] List of Walls
+
::Corresponds to partition instance ID in [[WGRA]] List of Walls
 
:;DWORD
 
:;DWORD
::Wall Type
+
::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 40: Line 43:
 
:;WORD
 
:;WORD
 
::Wall covering on the other side of the wall
 
::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:
  
1) Each Wall ID may be reflected in multiple WGRA instances.
+
1) Each partition instance ID may be reflected in multiple WGRA instances.
  
 
2) WLL is also known as WLAY in SimPE
 
2) WLL is also known as WLAY in SimPE
Line 52: Line 82:
 
{{OldWikiEntry}}
 
{{OldWikiEntry}}
  
[[Category:Modding]]
+
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Latest revision as of 12: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
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox