Difference between revisions of "534C4F54"
From SimsWiki
m (→Format) |
|||
(4 intermediate revisions by 2 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 | ||
− | : | + | :Version# (4, 5, 6, 7, 8, 9, 10, and 40+) |
;DWORD | ;DWORD | ||
− | : | + | :CLASSID (always null) |
;DWORD | ;DWORD | ||
:Number of entries | :Number of entries | ||
Line 18: | Line 18: | ||
;WORD | ;WORD | ||
:Type | :Type | ||
− | : | + | :Type - 0 (Container ""), 1 (Sprite [deprecated]), 2(Snap[Deprecated]), 3 (Routing "route_"), 4 (Target "slot_") |
;FLOAT | ;FLOAT | ||
:X Offset | :X Offset | ||
Line 28: | Line 28: | ||
:Allowed types: Routing, Container | :Allowed types: Routing, Container | ||
;FLOAT | ;FLOAT | ||
− | : | + | :Altitude (When bone link turned off) |
:Default 0.0 | :Default 0.0 | ||
:Allowed types: Routing, Container | :Allowed types: Routing, Container | ||
Line 41: | Line 41: | ||
:Allowed types: Routing | :Allowed types: Routing | ||
;INT | ;INT | ||
− | :Flags | + | :Controller Flags |
+ | :See Table 1 for types | ||
:Allowed types: Routing | :Allowed types: Routing | ||
;INT | ;INT | ||
− | :Target Container | + | :Target Container (By Number - ) |
:Allowed types: Routing | :Allowed types: Routing | ||
;FLOAT | ;FLOAT | ||
Line 55: | Line 56: | ||
:Route Search Parameter - Optimal (Added in Version 5) | :Route Search Parameter - Optimal (Added in Version 5) | ||
:Allowed types: Routing | :Allowed types: Routing | ||
− | ; | + | ;INT |
− | + | ||
− | + | ||
:Expect Bone Info (Added in Version 6) | :Expect Bone Info (Added in Version 6) | ||
− | :Values: 0=No | + | :Values: 0=No 0x00020000=Yes |
:Default: 2 | :Default: 2 | ||
:Allowed types: Routing, Container, Target | :Allowed types: Routing, Container, Target | ||
Line 83: | Line 82: | ||
:Allowed types: Routing, Container, Target | :Allowed types: Routing, Container, Target | ||
;INT | ;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 | :Note: Usually the previous plus 1 | ||
:Allowed types: Routing, Container, Target | :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