Difference between revisions of "6C589723"

From SimsWiki
Jump to: navigation, search
(Removed neighborhood info at end: X, Y, Z, Orientation, etc.)
m (Format)
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
:File name (null terminated)
 
:File name (null terminated)
 
;WORD
 
;WORD
:Version (known values 6, 7=Bon Voyage?, 8=Free Time?
+
:Version (known values: 6, 7=Bon Voyage, 8=Free Time, 11=Apartment Life)
 
;DWORD
 
;DWORD
:Lot depth
+
:Lot size
 
;DWORD
 
;DWORD
:Lot width
+
:Lot size
 
;Byte
 
;Byte
 
:Lot type
 
:Lot type
Line 23: Line 23:
 
::6=Hidden Vacation Lot (Bon Voyage)
 
::6=Hidden Vacation Lot (Bon Voyage)
 
::7=Hidden Hobby Lot    (FreeTime)
 
::7=Hidden Hobby Lot    (FreeTime)
 +
::8=Apartment Base      (Apartment Life)
 +
::9=Apartment Sublot    (Apartment Life)
 +
::10=Hidden Witches Lot (Apartment Life)
 
;Byte
 
;Byte
 
:Roads (aka U10)
 
:Roads (aka U10)
Line 40: Line 43:
 
::3=Lot faces Bottom (sun at back right corner)
 
::3=Lot faces Bottom (sun at back right corner)
 
;DWORD
 
;DWORD
:Unknown
+
: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?)
 +
::0x100=Unknown (sometimes set, when version is 11)
 +
::0x1000=Unknown(sometimes set, when version is 11)
 +
::0x2000=Unknown(sometimes set, when version is 11)
 +
::0x4000=Unknown(sometimes set, when version is 11)
 
;7BITSTR
 
;7BITSTR
 
:Lot name
 
:Lot name
Line 46: Line 58:
 
:Lot description
 
:Lot description
 
;DWORD
 
;DWORD
:Number of unknown DWORDS (D)
+
:Count D
 
;''repeat D times''
 
;''repeat D times''
 
:;DWORD
 
:;DWORD
Line 56: Line 68:
 
:;DWORD
 
:;DWORD
 
::Unknown
 
::Unknown
 +
If Version is 11:
 +
:;BYTE
 +
:Apartment count (0 if lot type is not apartment base)
 +
:;DWORD
 +
:Rental price high
 +
:;DWORD
 +
:Rental price low
 +
:;DWORD
 +
::Unknown (maybe the value printed by the printLotClass cheat see [[DESC]])
 +
:;BYTE
 +
::Unknown (maybe the lot class override as in [[DESC]])
  
 
Note:
 
Note:
Line 61: Line 84:
 
** 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]].
** The information about the neighborhood in DESC is missing from LOT: X, Y, Z, 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|6C589723|LOT}}
 
{{OldWikiEntryCleaned|6C589723|LOT}}
  
[[Category:Modding]]
+
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Latest revision as of 12:53, 22 May 2014

6C589723
Short name: LOT
Long name: Lot Definition

[edit] Format

64 Bytes
File name (null terminated)
WORD
Version (known values: 6, 7=Bon Voyage, 8=Free Time, 11=Apartment Life)
DWORD
Lot size
DWORD
Lot size
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?)
0x100=Unknown (sometimes set, when version is 11)
0x1000=Unknown(sometimes set, when version is 11)
0x2000=Unknown(sometimes set, when version is 11)
0x4000=Unknown(sometimes set, when version is 11)
7BITSTR
Lot name
7BITSTR
Lot description
DWORD
Count D
repeat D times
DWORD
Unknown

If Version is 7 or 8:

FLOAT
Unknown

If Version is 8:

DWORD
Unknown

If Version is 11:

BYTE
Apartment count (0 if lot type is not apartment base)
DWORD
Rental price high
DWORD
Rental price low
DWORD
Unknown (maybe the value printed by the printLotClass cheat see DESC)
BYTE
Unknown (maybe the lot class override as in DESC)

Note:

  • This is basically equivalent to DESC. 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 one of several on this topic imported from the old MTS2 wiki. It's original pages, with comments, can be found at http://old_wiki.modthesims2.com/6C589723 and http://old_wiki.modthesims2.com/LOT

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox