0BF999E7
From SimsWiki
(Redirected from LDEF)
0BF999E7 | |
---|---|
Short name: | DESC |
Long name: | Lot description |
Format
- WORD
- Version1 (known values: 13, 14=Open for Business, 18=Apartment Life)
- WORD
- Version2 (known values: 6, 7, 8=Free Time, 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
- Flags (aka U0)
- 0x01=Unknown (perhaps Lot is not empty?)
- 0x02=Lot has house
- 0x08=Remove furniture after family is evicted
- 0x10=Lot is hidden
- 0x80=Unknown (perhaps Beach lot?)
- DWORD
- Length n
- n bytes
- Lot Name
- DWORD
- Length n
- n bytes
- Lot Description
- DWORD
- Length n
- n DWORDS
- Unknown
If Version2 is 7 or greater:
- FLOAT
- Unknown
If Version2 is 8 or greater:
- DWORD
- Unknown
If Version2 is 11:
- BYTE
- Number of Apartments
- 0 if this is not an apartment building
- DWORD
- Apartment Rental Price Range: High
- DWORD
- Apartment Rental Price Range: Low
- DWORD
- Lot Class Value displayed by the "printLotClass" cheat
- This value is only displayed if the override flag below is 1
- BYTE
- Lot Class Override Flag
- 0: recalculate: determine the current lot class value, and ignore the Lot Class Value above
- 1: override: use the Lot Class Value above, no matter what the actual lot value is
- 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
- Lot Number; ie, number of the Lot Package
- Always identical to the Instance Number?
- 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 Version1 is 14 or greater:
- DWORD
- Business Owner
- Sim Description SDSC instance number
If Version2 is 11:
- 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?)
- Apartment Sublot:
- If the current lot is an occupied apartment base (Lot Type = 8), this is an associated apartment sublot
- 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