Difference between revisions of "AB4BA572"
From SimsWiki
(3 intermediate revisions by 2 users not shown) | |||
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. | ||
− | ; | + | ;7BITSTR (offsets 48-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 post instances) | |
− | ;DWORD (4 bytes | + | :;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 | + | :;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 | + | :;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 | + | :;DWORD (4 bytes) |
− | :Fence GUID | + | ::Fence GUID |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | Note: although the fence posts are stored in this structure, the "wall" portion of the fence is stored in the wall graph (WGRA). | ||
===Resources=== | ===Resources=== | ||
− | http://www.modthesims2.com/showpost.php?p=1800091&postcount=466 | + | {{OldWikiEntryCleaned}} |
− | 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=1800091&postcount=466 |
− | http://www.modthesims2.com/showpost.php?p=1801196&postcount=517 | + | : http://www.modthesims2.com/showpost.php?p=1800747&postcount=499 |
− | http://www.modthesims2.com/showpost.php?p=1801666&postcount=532 | + | : http://www.modthesims2.com/showpost.php?p=1801146&postcount=513 |
− | http://www.modthesims2.com/showpost.php?p=1801675&postcount=534 | + | : http://www.modthesims2.com/showpost.php?p=1801196&postcount=517 |
− | http://www.modthesims2.com/showpost.php?p=1802400&postcount=562 | + | : 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=== | ===Properties=== | ||
− | ; 1. Deletable | + | ; 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. | ||
+ | |||
+ | |||
+ | [[Category:Sims 2 Modding]] | ||
+ | [[Category:InternalFormats]] | ||
+ | [[Category:FormatsByTGI]] |
Latest revision as of 18:02, 17 September 2012
AB4BA572 | |
---|---|
Short name: | FPL |
Long name: | Fence post layer |
Contents |
[edit] Format
[edit] 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)
[edit] Data Section
- DWORD (offsets 58-5B in HEX)
- Count N
repeat N times (for the number of fence post 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
Note: although the fence posts are stored in this structure, the "wall" portion of the fence is stored in the wall graph (WGRA).
[edit] 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
[edit] 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.