Difference between revisions of "AB4BA572"
From SimsWiki
(Cleaned up, etc) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
==Format== | ==Format== | ||
+ | |||
===Header=== | ===Header=== | ||
Ss specified in [[WDB]]. | Ss specified in [[WDB]]. | ||
− | ;DWORD | + | ;ZEROs (offsets 00-3F in HEX) |
− | :Block ID | + | :Unknown |
− | ;DWORD | + | |
+ | ;DWORD (offsets 40-43 in HEX) | ||
+ | :Block ID = AB4BA572 | ||
+ | ;DWORD (offsets 44-47 in HEX) | ||
:Block version | :Block version | ||
− | ;7BITSTR | + | :The only known Block Version is 1. |
− | :Block name | + | :Other versions may have different data structures. |
+ | |||
+ | ;7BITSTR (offsets 48-57 in HEX) | ||
+ | :Block name (cFencePostLayer)(Fence Post Layer Container) | ||
===Data Section=== | ===Data Section=== | ||
− | ;DWORD | + | ;DWORD (offsets 58-5B in HEX) |
:Count N | :Count N | ||
− | + | ''repeat N times'' (for the number of fence post instances) | |
− | ;DWORD | + | |
− | : | + | :;DWORD (4 bytes) |
− | ;FLOAT | + | ::Floor Level: 0 = the ground, 1 = 1st level, 2 = 2nd level, etc |
− | : | + | :;FLOAT (Single / 4 bytes) |
− | ;FLOAT | + | ::fence coordinate (dependent on the lot orientation U11)(counting starts from the lot origin) |
− | : | + | :;FLOAT (Single / 4 bytes) |
− | ;DWORD | + | ::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). | ||
+ | |||
+ | ===Resources=== | ||
{{OldWikiEntryCleaned}} | {{OldWikiEntryCleaned}} | ||
− | [[Category:Modding]] | + | : 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. | ||
+ | |||
+ | |||
+ | [[Category:Sims 2 Modding]] | ||
[[Category:InternalFormats]] | [[Category:InternalFormats]] | ||
[[Category:FormatsByTGI]] | [[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.