Difference between revisions of "0BF999E7"

From SimsWiki
Jump to: navigation, search
(Family info for an occupied apartment)
(Info about apartment rental and business owner)
Line 7: Line 7:
  
 
;WORD
 
;WORD
:Unknown (known values: 13, 14, 18=Apartment Life)
+
:Version1 (known values: 13, 14=Open for Business, 18=Apartment Life)
 
;WORD
 
;WORD
:Version (known values: 6, 7, 8, 11=Apartment Life)
+
:Version2 (known values: 6, 7, 8=Free Time, 11=Apartment Life)
 
;DWORD
 
;DWORD
 
:Lot Size: Width (valid values are 1 to 6)
 
:Lot Size: Width (valid values are 1 to 6)
Line 57: Line 57:
 
;n DWORDS
 
;n DWORDS
 
:Unknown
 
:Unknown
If Version is 7 or greater:
+
If Version2 is 7 or greater:
 
:;FLOAT
 
:;FLOAT
 
::Unknown
 
::Unknown
If Version is 8 or greater:
+
If Version2 is 8 or greater:
 
:;DWORD
 
:;DWORD
 
::Unknown
 
::Unknown
If Version is 11:
+
If Version2 is 11:
:;14 BYTEs
+
:;BYTE
 +
::Unknown (known values are 0, 4=apartment, 7)
 +
:;DWORD
 +
::Apartment Rental Price Range: High
 +
:;DWORD
 +
::Apartment Rental Price Range: Low
 +
:;5 BYTEs
 
::Unknown
 
::Unknown
 
;DWORD
 
;DWORD
Line 89: Line 95:
 
;Byte
 
;Byte
 
:00
 
:00
If Version is 11:
+
If Version1 is 14 or greater:
 
:;DWORD
 
:;DWORD
::Unknown (always 0?)
+
::Business Owner
 +
::Sim Description [[SDSC]] instance number
 +
If Version2 is 11:
 
:;DWORD
 
:;DWORD
 
::Apartment Base instance / lot number
 
::Apartment Base instance / lot number
Line 105: Line 113:
 
:::Apartment sublot instance / lot number
 
:::Apartment sublot instance / lot number
 
::;DWORD
 
::;DWORD
:::[[FAMI]] instance for this (occupied) apartment sublot
+
:::Family which occupies this apartment sublot
 +
:::Family Information [[FAMI]] instance number
 
::;DWORD
 
::;DWORD
 
:::Unknown
 
:::Unknown

Revision as of 13:04, 18 September 2008

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
Unknown
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
Unknown (known values are 0, 4=apartment, 7)
DWORD
Apartment Rental Price Range: High
DWORD
Apartment Rental Price Range: Low
5 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 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
Apartment sublot instance / lot number
DWORD
Family which occupies this apartment sublot
Family Information FAMI instance number
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

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox