Difference between revisions of "AB4BA572"

From SimsWiki
Jump to: navigation, search
m
(update based on Mootilda's comments.)
Line 5: Line 5:
  
 
==Format==
 
==Format==
 +
  
 
===Header===
 
===Header===
Line 13: Line 14:
  
 
;DWORD (offsets 40-43 in HEX)
 
;DWORD (offsets 40-43 in HEX)
:Block ID
+
:Block ID = AB4BA572
 
;DWORD (offsets 44-47 in HEX)
 
;DWORD (offsets 44-47 in HEX)
 
:Block version
 
:Block version
 +
:The only known Block Version is 1.
 +
:Other versions may have different data structures.
  
;? (offsets 48 in HEX)
+
;7BITSTR (offsets 48-57 in HEX)
:Block name Type Number? cFencePostLayer categorical number?
+
;7BITSTR (offsets 49-57 in HEX)
+
 
:Block name (cFencePostLayer)(Fence Post Layer Container)
 
:Block name (cFencePostLayer)(Fence Post Layer Container)
  
 
===Data Section===
 
===Data Section===
;DWORD (offsets 58 in HEX)
+
;DWORD (offsets 58-5B in HEX)
 
:Count N
 
:Count N
 
:''repeat N times'' (for the number of fence instances)
 
:''repeat N times'' (for the number of fence instances)
  
;DWORD (4 bytes / 8 bits)
+
;DWORD (4 bytes)
:Floor Level: 0 = the ground, 1 = 1st level, etc
+
:Floor Level: 0 = the ground, 1 = 1st level, 2 = 2nd level, etc
;FLOAT (4 bytes / 8 bits)(in Singles)
+
;FLOAT (Single / 4 bytes)
:fence coordinate dependent on the lot orientation
+
:fence coordinate (dependent on the lot orientation U11)(counting starts from the lot origin)
;FLOAT (4 bytes / 8 bits)(in Singles)
+
;FLOAT (Single / 4 bytes)
:fence coordinate dependent on the lot orientation
+
:fence coordinate (dependent on the lot orientation U11)(counting starts from the lot origin)
;DWORD (4 bytes / 8 bits)
+
;DWORD (4 bytes)
:Fence GUID ID
+
:Fence GUID
  
  
Line 41: Line 42:
 
{{OldWikiEntryCleaned}}
 
{{OldWikiEntryCleaned}}
  
http://www.modthesims2.com/showpost.php?p=1800091&postcount=466
+
: http://www.modthesims2.com/showpost.php?p=1800091&postcount=466
http://www.modthesims2.com/showpost.php?p=1800747&postcount=499
+
: http://www.modthesims2.com/showpost.php?p=1800747&postcount=499
http://www.modthesims2.com/showpost.php?p=1801146&postcount=513
+
: http://www.modthesims2.com/showpost.php?p=1801146&postcount=513
http://www.modthesims2.com/showpost.php?p=1801196&postcount=517
+
: http://www.modthesims2.com/showpost.php?p=1801196&postcount=517
http://www.modthesims2.com/showpost.php?p=1801666&postcount=532
+
: http://www.modthesims2.com/showpost.php?p=1801666&postcount=532
http://www.modthesims2.com/showpost.php?p=1801675&postcount=534
+
: http://www.modthesims2.com/showpost.php?p=1801675&postcount=534
http://www.modthesims2.com/showpost.php?p=1802400&postcount=562
+
: http://www.modthesims2.com/showpost.php?p=1802400&postcount=562
 +
: http://www.modthesims2.com/showpost.php?p=1837288&postcount=1373
  
 
===Properties===
 
===Properties===
; 1. Deletable and fence posts disappears in game.
+
; 1. Deletable. If deleted, all fence posts on the lot disappear.
; 2. Regeneratable upon new fence made but the previously deleted fence post won't replace except when just intersection with new postful fence (all but not the stone walls) even without making the new fence.
+
; 2. Regeneratable upon new fence made in-lot. But, the previously deleted fence post won't replace except when just intersecting with new postful fence (all but not the stone walls) even without making the new fence.
  
  

Revision as of 01:24, 5 December 2007

AB4BA572
Short name: FPL
Long name: Fence post layer

Contents

Format

Header

Ss specified in WDB.

ZEROs (offsets 00-3F in HEX)
Unknown
DWORD (offsets 40-43 in HEX)
Block ID = AB4BA572
DWORD (offsets 44-47 in HEX)
Block version
The only known Block Version is 1.
Other versions may have different data structures.
7BITSTR (offsets 48-57 in HEX)
Block name (cFencePostLayer)(Fence Post Layer Container)

Data Section

DWORD (offsets 58-5B in HEX)
Count N
repeat N times (for the number of fence instances)
DWORD (4 bytes)
Floor Level: 0 = the ground, 1 = 1st level, 2 = 2nd level, etc
FLOAT (Single / 4 bytes)
fence coordinate (dependent on the lot orientation U11)(counting starts from the lot origin)
FLOAT (Single / 4 bytes)
fence coordinate (dependent on the lot orientation U11)(counting starts from the lot origin)
DWORD (4 bytes)
Fence GUID


Resources

This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/AB4BA572

http://www.modthesims2.com/showpost.php?p=1800091&postcount=466
http://www.modthesims2.com/showpost.php?p=1800747&postcount=499
http://www.modthesims2.com/showpost.php?p=1801146&postcount=513
http://www.modthesims2.com/showpost.php?p=1801196&postcount=517
http://www.modthesims2.com/showpost.php?p=1801666&postcount=532
http://www.modthesims2.com/showpost.php?p=1801675&postcount=534
http://www.modthesims2.com/showpost.php?p=1802400&postcount=562
http://www.modthesims2.com/showpost.php?p=1837288&postcount=1373

Properties

1. Deletable. If deleted, all fence posts on the lot disappear.
2. Regeneratable upon new fence made in-lot. But, the previously deleted fence post won't replace except when just intersecting with new postful fence (all but not the stone walls) even without making the new fence.
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox