Difference between revisions of "0BF999E7"
From SimsWiki
(Add information about Apartment Life) |
m (Fixed indentation) |
||
Line 117: | Line 117: | ||
− | + | Notes: | |
* This is basically equivalent to [[LOT]]. The differences are: | * This is basically equivalent to [[LOT]]. The differences are: | ||
** DESC is in the neighborhood package; LOT is in the lot package | ** DESC is in the neighborhood package; LOT is in the lot package | ||
** The format of the data is slightly different. For example, DESC uses a DWORD string length, but LOT uses a [[7BITSTR]]. | ** The format of the data is slightly different. For example, DESC uses a DWORD string length, but LOT uses a [[7BITSTR]]. | ||
** Information about the neighborhood exists in DESC, but is missing from LOT: Top, Left, Elevation, Orientation, etc. | ** Information about the neighborhood exists in DESC, but is missing from LOT: Top, Left, Elevation, Orientation, etc. | ||
− | + | ||
− | + | * An apartment (Apartment Life) consists of one or more different lots: | |
− | + | ** An Apartment Base, which is the unoccupied apartment building | |
+ | ** Zero or more Apartment Sublots, one for each playable occupied apartment within the building (maximum of 4) | ||
{{OldWikiEntryCleaned}} | {{OldWikiEntryCleaned}} |
Revision as of 05:03, 6 September 2008
0BF999E7 | |
---|---|
Short name: | DESC |
Long name: | Lot description |
Format
- WORD
- Unknown (known values: 13, 14, 18=Apartment Life)
- WORD
- Version (known values: 6, 7, 8, 11=Apartment Life)
- DWORD
- Lot Size: Width (valid values are 1 to 6)
- DWORD
- Lot Size: Height (valid values are 1 to 6)
- Byte
- Lot Type
- 0=Residential
- 1=Community
- 2=Dorm (University)
- 3=Greek House (University)
- 4=Secret Society (University)
- 5=Hotel (Bon Voyage)
- 6=Hidden Vacation Lot (Bon Voyage)
- 7=Hidden Hobby Lot (FreeTime)
- 8=Apartment Base (Apartment Life)
- 9=Apartment Sublot (Apartment Life)
- 10=Hidden Witches Lot (Apartment Life)
- Byte
- Roads (aka U10)
- Describes the location of the road(s) within the lot package.
- Bit field: add together for more than one road per lot:
- 0=No road
- 1=Road at Left
- 2=Road at Top
- 4=Road at Right
- 8=Road at Bottom
- Byte
- Rotation (aka U11)
- Describes the rotation of the lot within the lot package:
- 0=Lot faces Left (sun at back left corner)
- 1=Lot faces Top (sun at front left corner)
- 2=Lot faces Right (sun at front right corner)
- 3=Lot faces Bottom (sun at back right corner)
- DWORD
- Unknown
- DWORD
- Length n
- n bytes
- Lot Name
- DWORD
- Length n
- n bytes
- Lot Description
- DWORD
- Length n
- n DWORDS
- Unknown
If Version is 7 or greater:
- FLOAT
- Unknown
If Version is 8 or greater:
- DWORD
- Unknown
If Version is 11:
- 14 BYTEs
- Unknown
- DWORD
- Lot Location: Top (valid values are 0 to 128)
- Assumes neighborhood in standard rotation
- DWORD
- Lot Location: Left (valid values are 0 to 128)
- Assumes neighborhood in standard rotation
- FLOAT
- Lot Location: Elevation or Z-Value (height above the center of the sim-world)
- DWORD
- Unknown
- Byte
- Lot Orientation (aka U11)
- Assumes neighborhood in standard rotation
- 0=Lot is below road
- 1=Lot is left of road
- 2=Lot is above road
- 3=Lot is right of road
- DWORD
- Length n
- n bytes
- Lot Texture
- Byte
- 00
If Version is 11:
- DWORD
- Unknown (always 0?)
- DWORD
- Apartment Base instance / lot number
- If the current lot is an apartment sublot (Lot Type = 9), this is the associated apartment base; otherwise, zero
- 9 BYTEs
- Unknown (always 0?)
- DWORD
- Count A
- repeat A times (maximum 4?)
-
- DWORD
- Apartment Sublot instance / lot number
- If the current lot is an occupied apartment base (Lot Type = 8), this is an associated apartment sublot
- DWORD
- Unknown
- DWORD
- Unknown
- DWORD
- Unknown (always 0?)
- DWORD
- Count B
- repeat B times
- DWORD
- Unknown
Notes:
- This is basically equivalent to LOT. The differences are:
- DESC is in the neighborhood package; LOT is in the lot package
- The format of the data is slightly different. For example, DESC uses a DWORD string length, but LOT uses a 7BITSTR.
- Information about the neighborhood exists in DESC, but is missing from LOT: Top, Left, Elevation, Orientation, etc.
- An apartment (Apartment Life) consists of one or more different lots:
- An Apartment Base, which is the unoccupied apartment building
- Zero or more Apartment Sublots, one for each playable occupied apartment within the building (maximum of 4)
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/0BF999E7