Difference between revisions of "6C589723"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
m (Format)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{OldWikiEntry}} So far this seems to be a lot definition of sorts. It contains the name of the lot, and flags about it's size and type.
+
{{Resource tgi
 +
|short = LOT
 +
|long = Lot Definition
 +
}}
  
64 Bytes - Filename (not used in lot files)
+
==Format==
2 bytes - Version
+
;64 Bytes
4 bytes - lot depth in tiles times 10.
+
:File name (null terminated)
4 bytes - lot width in tiles times 10
+
;WORD
1 byte - lot type flags
+
:Version (known values: 6, 7=Bon Voyage, 8=Free Time, 11=Apartment Life)
  0x00 = Residential
+
;DWORD
  0x01 = Community
+
:Lot size
  0x02 = Dorm (University)
+
;DWORD
  0x04 = Secret Society (University)
+
:Lot size
BYTE
+
;Byte
BYTE
+
:Lot type
DWORD
+
::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]])
  
Repeat--
+
Note:
----
+
* This is basically equivalent to [[DESC]].  The differences are:
BYTE - Len of Lot Name
+
** DESC is in the neighborhood package; LOT is in the lot package
PRI - UI Name
+
** The format of the data is slightly different.  For example, DESC uses a DWORD string length, but LOT uses a [[7BITSTR]].
BYTE - Len of Lot Desc
+
** Information about the neighborhood exists in DESC, but is missing from LOT: Top, Left, Elevation, Orientation, etc.
PRI - UI Description
+
----End Repeat
+
  
 +
* 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)
  
DWORD - Num of following DWORDS repetitions
+
{{OldWikiEntryCleaned|6C589723|LOT}}
  
Repeat--
+
[[Category:Sims 2 Modding]]
----
+
[[Category:InternalFormats]]
DWORD
+
[[Category:FormatsByTGI]]
----End Repeat
+
[[Category:Modding]]
+

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