Difference between revisions of "534C4F54"

From SimsWiki
Jump to: navigation, search
(Format: Updated some of the unknowns)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Resource tgi
 
{{Resource tgi
|short = SLOT
+
|short = [[SLOT]]
 
|long = Slot file
 
|long = Slot file
 
}}
 
}}
Line 10: Line 10:
 
:Type Handler ("TOLS")
 
:Type Handler ("TOLS")
 
;DWORD
 
;DWORD
:Class/Version (4, 5, 6, 7, 8, 9, 10, and 40+)
+
:Version# (4, 5, 6, 7, 8, 9, 10, and 40+)
 
;DWORD
 
;DWORD
:Reserved (always null)
+
:CLASSID (always null)
 
;DWORD
 
;DWORD
 
:Number of entries
 
:Number of entries
 
;for each entry
 
;for each entry
 
;WORD
 
;WORD
:Type (0 = Container, 1 = unknown, 3 = Routing, 4 = Target)
+
:Type  
 +
:Type - 0 (Container ""), 1 (Sprite [deprecated]), 2(Snap[Deprecated]), 3 (Routing "route_"), 4 (Target "slot_")  
 
;FLOAT
 
;FLOAT
 
:X Offset
 
:X Offset
 +
:Default: 0.0
 +
:Allowed types: Routing, Container
 
;FLOAT
 
;FLOAT
 
:Y Offset
 
:Y Offset
 +
:Default: 0.0
 +
:Allowed types: Routing, Container
 
;FLOAT
 
;FLOAT
:Z Offset
+
:Altitude (When bone link turned off)
 +
:Default 0.0
 +
:Allowed types: Routing, Container
 
;INT
 
;INT
:Unknown
+
:Route Preference - Standing Multiplier
 +
:Allowed types: Routing
 
;INT
 
;INT
:Unknown
+
:Route Preference - Sitting Multiplier
 +
:Allowed types: Routing
 
;INT
 
;INT
:Unknown
+
:''Route Preference - Ground Multiplier(unused)''
 +
:Allowed types: Routing
 
;INT
 
;INT
:Unknown
+
:Controller Flags
 +
:See Table 1 for types
 +
:Allowed types: Routing
 
;INT
 
;INT
:Unknown
+
:Target Container (By Number - )
 +
:Allowed types: Routing
 
;FLOAT
 
;FLOAT
:Unknown (Added in Version 5)
+
:Route Search Parameter - Min (Added in Version 5)
 +
:Allowed types: Routing
 
;FLOAT
 
;FLOAT
:Unknown (Added in Version 5)
+
:Route Search Parameter - Max (Added in Version 5)
 +
:Allowed types: Routing
 
;FLOAT
 
;FLOAT
:Unknown (Added in Version 5)
+
:Route Search Parameter - Optimal (Added in Version 5)
;SHORT
+
:Allowed types: Routing
:Unknown (Added in Version 6)
+
;INT
;SHORT
+
 
:Expect Bone Info (Added in Version 6)
 
:Expect Bone Info (Added in Version 6)
 +
:Values: 0=No 0x00020000=Yes
 +
:Default: 2
 +
:Allowed types: Routing, Container, Target
 
;FLOAT
 
;FLOAT
:Unknown (Added in Version 7)
+
:Route Search Parameter - Gradient(Added in Version 7)  
 +
:Default: 0.1875
 +
:Allowed types: Routing
 
;INT
 
;INT
:Unknown (Added in Version 8)
+
:Max Size (Added in Version 8)
:For containers, the flag required for placement in that slot (allowed height flag)
+
:Allowed types: Container
 +
;INT
 +
:Height Type
 +
:Allowed types: Container
 
;INT
 
;INT
 
:Facing Direction (Added in Version 9)
 
:Facing Direction (Added in Version 9)
 +
:Allowed types: Routing
 
;FLOAT
 
;FLOAT
:Unknown (Added in Version 10)
+
:Route Search Parameter - Spacing (Added in Version 10)
 +
:Allowed types: Routing
 
;INT
 
;INT
:Number of the slot (Added in Version 40) (Text List 90)
+
:Bone position index (Added in Version 40) (Text List 90)
 +
:Condition: Only when bone info expected
 +
:Allowed types: Routing, Container, Target
 
;INT
 
;INT
:Unknown (Added in Version 40)
+
:Entry Name in table 0x101 (Starting from 1) (-1 means read based on order in file, >0 = read this entry)
:Usually the previous plus 1
+
:Note: Usually the previous plus 1
 +
:Allowed types: Routing, Container, Target
 +
:
 +
:------------- TABLE 1
 +
:SLOT Controller Flags
 +
:Y denotes from Sims1 only, X Sims2
 +
:The upper 15 bits were never used in Sims1 (After the XY reading from the right)
 +
:
 +
:000000000000Wi0RL0ASN0UBDDDDDDDD - SLOT Control Flags Field Usage (32 Bit, read from the right)
 +
:
 +
:D - Search Directions (North,North East, East, South East, South, South West, West, North West)
 +
:B - Absolute Directions
 +
:U - TS1 Flags (Deprecated)
 +
:N - Stationary Bonus Score ( 0 - True, 1 - False)
 +
:S - Snap to Directions
 +
:A - Altitude not Required
 +
:L - Average Object Location
 +
:R - Random Scoring
 +
:i - Ignore Rooms
 +
:W - Ignore Walls
 +
:--------------
 +
:
 +
:--------------TABLE 2
 +
:Height Types New or Unlisted
 +
:9 - Prepare (Meals)
 +
:10 - Under Counter (for pulling out things from underneath)
 +
:11 - Decorative (counters)
 +
 
 +
 
  
 
{{OldWikiEntryCleaned|SLOT}}
 
{{OldWikiEntryCleaned|SLOT}}
  
[[Category:Modding]]
+
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Latest revision as of 17:54, 17 September 2012

534C4F54
Short name: SLOT
Long name: Slot file

[edit] Format

64 bytes
File name (null terminated)
DWORD
Type Handler ("TOLS")
DWORD
Version# (4, 5, 6, 7, 8, 9, 10, and 40+)
DWORD
CLASSID (always null)
DWORD
Number of entries
for each entry
WORD
Type
Type - 0 (Container ""), 1 (Sprite [deprecated]), 2(Snap[Deprecated]), 3 (Routing "route_"), 4 (Target "slot_")
FLOAT
X Offset
Default: 0.0
Allowed types: Routing, Container
FLOAT
Y Offset
Default: 0.0
Allowed types: Routing, Container
FLOAT
Altitude (When bone link turned off)
Default 0.0
Allowed types: Routing, Container
INT
Route Preference - Standing Multiplier
Allowed types: Routing
INT
Route Preference - Sitting Multiplier
Allowed types: Routing
INT
Route Preference - Ground Multiplier(unused)
Allowed types: Routing
INT
Controller Flags
See Table 1 for types
Allowed types: Routing
INT
Target Container (By Number - )
Allowed types: Routing
FLOAT
Route Search Parameter - Min (Added in Version 5)
Allowed types: Routing
FLOAT
Route Search Parameter - Max (Added in Version 5)
Allowed types: Routing
FLOAT
Route Search Parameter - Optimal (Added in Version 5)
Allowed types: Routing
INT
Expect Bone Info (Added in Version 6)
Values: 0=No 0x00020000=Yes
Default: 2
Allowed types: Routing, Container, Target
FLOAT
Route Search Parameter - Gradient(Added in Version 7)
Default: 0.1875
Allowed types: Routing
INT
Max Size (Added in Version 8)
Allowed types: Container
INT
Height Type
Allowed types: Container
INT
Facing Direction (Added in Version 9)
Allowed types: Routing
FLOAT
Route Search Parameter - Spacing (Added in Version 10)
Allowed types: Routing
INT
Bone position index (Added in Version 40) (Text List 90)
Condition: Only when bone info expected
Allowed types: Routing, Container, Target
INT
Entry Name in table 0x101 (Starting from 1) (-1 means read based on order in file, >0 = read this entry)
Note: Usually the previous plus 1
Allowed types: Routing, Container, Target
------------- TABLE 1
SLOT Controller Flags
Y denotes from Sims1 only, X Sims2
The upper 15 bits were never used in Sims1 (After the XY reading from the right)
000000000000Wi0RL0ASN0UBDDDDDDDD - SLOT Control Flags Field Usage (32 Bit, read from the right)
D - Search Directions (North,North East, East, South East, South, South West, West, North West)
B - Absolute Directions
U - TS1 Flags (Deprecated)
N - Stationary Bonus Score ( 0 - True, 1 - False)
S - Snap to Directions
A - Altitude not Required
L - Average Object Location
R - Random Scoring
i - Ignore Rooms
W - Ignore Walls
--------------
--------------TABLE 2
Height Types New or Unlisted
9 - Prepare (Meals)
10 - Under Counter (for pulling out things from underneath)
11 - Decorative (counters)


This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/SLOT

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox