Difference between revisions of "534C4F54"
From SimsWiki
(→Format) |
(→Format) |
||
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) | :CLASSID (always null) |
Revision as of 18:39, 14 October 2006
534C4F54 | |
---|---|
Short name: | SLOT |
Long name: | Slot file |
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