|
|
Line 764: |
Line 764: |
| !Topic!!Catalog Text | | !Topic!!Catalog Text |
| |- | | |- |
− | |0x00000000||no entry - and stops any further entries displaying | + | |0x00000000||No entry - and stops any further entries displaying |
| |- | | |- |
− | |0x00000001||environment | + | |0x00000001||Environment |
| |- | | |- |
− | |0x00000002||hunger | + | |0x00000002||Hunger |
| |- | | |- |
− | |0x00000003||bladder | + | |0x00000003||Bladder |
| |- | | |- |
− | |0x00000004||energy | + | |0x00000004||Energy |
| |- | | |- |
− | |0x00000005||stress relief | + | |0x00000005||Stress Relief |
| |- | | |- |
− | |0x00000006||fun | + | |0x00000006||Fun |
| |- | | |- |
− | |0x00000007||hygiene | + | |0x00000007||Hygiene |
| |- | | |- |
− | |0x00000008||logic | + | |0x00000008||Logic |
| |- | | |- |
− | |0x00000009||charisma | + | |0x00000009||Charisma |
| |- | | |- |
− | |0x0000000a||cooking | + | |0x0000000a||Cooking |
| |- | | |- |
− | |0x0000000b||athletic | + | |0x0000000b||Athletic |
| |- | | |- |
− | |0x0000000c||painting | + | |0x0000000c||Painting |
| |- | | |- |
− | |0x0000000d||guitar | + | |0x0000000d||Guitar |
| |- | | |- |
− | |0x0000000e||handiness | + | |0x0000000e||Handiness |
| |- | | |- |
− | |0x0000000f||group activity | + | |0x0000000f||Group Activity |
| |- | | |- |
− | |0x00000010||upgradable | + | |0x00000010||Upgradable |
| |- | | |- |
− | |0x00000011||learn cooking faster | + | |0x00000011||Learn Cooking Faster |
| |- | | |- |
− | |0x00000012||child only | + | |0x00000012||Child Only |
| |- | | |- |
− | |0x00000013||gardening | + | |0x00000013||Gardening |
| |- | | |- |
− | |0x00000014||fishing | + | |0x00000014||Fishing |
| |- | | |- |
− | |0x00000015||self-cleaning | + | |0x00000015||Self-Cleaning |
| |- | | |- |
− | |0x00000016||never breaks | + | |0x00000016||Never Breaks |
| |- | | |- |
− | |0x00000017||portable | + | |0x00000017||Portable |
| |- | | |- |
− | |0x00000018||speed | + | |0x00000018||Speed |
| |- | | |- |
− | |0x00000019||no string. | + | |0x00000019||No String |
| + | |- |
| + | |0x0000001A||Inventing |
| + | |- |
| + | |0x0000001B||Sculpting |
| |} | | |} |
| | | | | |
Revision as of 14:43, 9 August 2010
Object Definition - OBJD |
TypeID: | 0x319E4F1D |
Game Version: | The Sims 3 |
Overview
Defines the basic parameters of an object such as price, and buy/build mode sort flags, and links to additional resources.
Format
"indexn" fields are where the given position in the TGI Block List refers to the resource mentioned in the comment.
DWORD Version
DWORD TGI_offset
DWORD TGI_size
--insert Material List section for Object
--if Version >= 0x16
7BITSTR // some string
--insert Common section
DWORD
BYTE
DWORD
BYTE
BYTE
4 BYTE // binary zero
DWORD index1 // to an OBJK (0x02DC343F)
DWORD (unknown8)
DWORD (unknown9)
DWORD (unknown10)
DWORD (unknown11)
DWORD
BYTE Count1 // wallmask entries
--repetition(Count1)
4 FLOAT
DWORD
DWORD // wallmask dds index
BYTE
DWORD index2 // to Diagonal OBJD if it exists otherwise to a null TGI entry
DWORD hash // 0xC602CD31 ('tree' hashed) in trees, otherwise 0
DWORD RoomFlags
DWORD FunctionCategoryFlags
QWORD SubCategoryFlags
QWORD SubRoomFlags
DWORD BuildCategoryFlags
DWORD index3 // to mask DDS in sinks, otherwise to a null DDS entry
DWORD slotPlacementFlags
--if Version >= 0x17
DWORD unknown
QWORD unknown
7BITSTR // Material Grouping 1
7BITSTR // Material Grouping 2
DWORD
DWORD
DWORD // 0x06 here prevents appearance in catalog
--repeat(5)
DWORD topic
DWORD rating
DWORD index4 // to Fallback OBJD TGI, otherwise to a null entry
--insert TGI Block List
Catalog Flags
Room Flags
Room Flags
|
Flag
|
Description
|
0x00000001
|
|
0x00000002
|
Living Room
|
0x00000004
|
Dining Room
|
0x00000008
|
Kitchen
|
0x00000010
|
Kid Bedroom
|
0x00000020
|
Bathroom
|
0x00000040
|
Bedroom
|
0x00000080
|
Study
|
0x00000100
|
Outdoors
|
0x00000200
|
Community
|
0x00000400
|
Residential
|
0x00000800
|
Pool
|
|
Room SubSort
|
Flag
|
Description
|
0x0000000000000001
|
|
0x0000000000000002
|
Dishwashers
|
0x0000000000000004
|
SmallAppliances
|
0x0000000000000008
|
Refrigerators
|
0x0000000000000010
|
TrashCans
|
0x0000000000000020
|
Alarms
|
0x0000000000000040
|
Phones
|
0x0000000000000080
|
TVs
|
0x0000000000000100
|
Smoke Alarm
|
0x0000000000000200
|
|
0x0000000000000400
|
Stereo
|
0x0000000000000800
|
Computers
|
0x0000000000001000
|
Hobbies
|
0x0000000000002000
|
Indoor Activities
|
0x0000000000004000
|
Lounge Chair
|
0x0000000000008000
|
Desk Chair
|
0x0000000000010000
|
Stoves
|
0x0000000000020000
|
Grills
|
0x0000000000040000
|
Outdoor Activities
|
0x0000000000080000
|
Ceiling Lights
|
0x0000000000100000
|
Floor Lamps
|
0x0000000000200000
|
Table Lamps
|
0x0000000000400000
|
Wall Lamps
|
0x0000000000800000
|
Outdoor Lighting
|
0x0000000001000000
|
Showers
|
0x0000000002000000
|
Sinks
|
0x0000000004000000
|
Toilets
|
0x0000000008000000
|
Tubs
|
0x0000000010000000
|
Accents
|
0x0000000020000000
|
Lawn Decor
|
0x0000000040000000
|
Paintings
|
0x0000000080000000
|
Plants
|
|
Room SubSort (cont)
|
Flag
|
Description
|
0x0000000100000000
|
Mirrors
|
0x0000000200000000
|
Video Games
|
0x0000000400000000
|
Kids Paintings
|
0x0000000800000000
|
Bookshelves
|
0x0000001000000000
|
Cabinets
|
0x0000002000000000
|
Dressers
|
0x0000004000000000
|
Dining Chairs
|
0x0000008000000000
|
Sofas
|
0x0000010000000000
|
Outdoor Seating
|
0x0000020000000000
|
Roof Decorations
|
0x0000040000000000
|
Beds
|
0x0000080000000000
|
Barstools
|
0x0000100000000000
|
Coffee Tables
|
0x0000200000000000
|
Counters
|
0x0000400000000000
|
Desks
|
0x0000800000000000
|
End Tables
|
0x0001000000000000
|
Dining Tables
|
0x0002000000000000
|
Furniture
|
0x0004000000000000
|
Toys
|
0x0008000000000000
|
Transport
|
0x0010000000000000
|
Bars
|
0x0020000000000000
|
Clocks
|
0x0040000000000000
|
Curtains & Blinds
|
0x0080000000000000
|
Kids Decor
|
0x0100000000000000
|
Misc Decor
|
0x0200000000000000
|
Rugs
|
0x0400000000000000
|
Laundry
|
0x0800000000000000
|
|
|
Category Flags
Category Flags
|
Flag
|
Description
|
0x00000001
|
|
0x00000002
|
Appliances
|
0x00000004
|
Electronics
|
0x00000008
|
Entertainment
|
0x00000010
|
|
0x00000020
|
Lighting
|
0x00000040
|
Plumbing
|
0x00000080
|
Decor
|
0x00000100
|
Children
|
0x00000200
|
Storage
|
0x00000400
|
|
0x00000800
|
Comfort
|
0x00001000
|
Surfaces
|
0x00002000
|
Vehicles
|
0x00004000
|
|
0x00008000
|
|
0x40000000
|
Debug
|
|
Category SubSort
|
Flag
|
Description
|
0x0000000000000001
|
|
0x0000000000000002
|
Appliances/Miscellaneous Appliances
|
0x0000000000000004
|
Appliances/Small Appliances
|
0x0000000000000008
|
Appliances/Large Appliances
|
0x0000000000000010
|
Debug/Tomb Objects
|
0x0000000000000020
|
Debug/Fish Spawners
|
0x0000000000000040
|
Debug/Gardening Plant & Seed Spawners
|
0x0000000000000080
|
Electronics/TVs
|
0x0000000000000100
|
Electronics/Miscellaneous Electronics
|
0x0000000000000200
|
Debug/Rock/Gem/Metal Spawners
|
0x0000000000000400
|
Electronics/Audio
|
0x0000000000000800
|
Electronics/Computers
|
0x0000000000001000
|
Entertainment/Hobbies & Skills
|
0x0000000000002000
|
Entertainment/Sports
|
0x0000000000004000
|
Comfort/Living Chairs
|
0x0000000000008000
|
??Comfort/Desk Chairs
|
0x0000000000010000
|
Debug/Insect Spawners
|
0x0000000000020000
|
Entertainment/Parties
|
0x0000000000040000
|
Entertainment/Miscellaneous Entertainment
|
0x0000000000080000
|
Lighting/Ceiling Lights
|
0x0000000000100000
|
Lighting/Floor Lamps
|
0x0000000000200000
|
Lighting/Table Lamps
|
0x0000000000400000
|
Lighting/Wall Lamps
|
0x0000000000800000
|
Lighting/Outdoor Lights
|
0x0000000001000000
|
Comfort/Lounge Chairs
|
0x0000000002000000
|
Plumbing/Sinks
|
0x0000000004000000
|
Plumbing/Toilets
|
0x0000000008000000
|
Plumbing/Showers & Tubs
|
0x0000000010000000
|
Decor/Miscellaneous Decor
|
0x0000000020000000
|
Decor/Sculptures ??UNUSED
|
0x0000000040000000
|
Decor/Paintings & Posters
|
0x0000000080000000
|
??Decor/Plants
|
|
Category SubSort (cont)
|
Flag
|
Description
|
0x0000000100000000
|
Decor/Mirrors
|
0x0000000200000000
|
|
0x0000000400000000
|
Debug/Misc. Objects
|
0x0000000800000000
|
Storage/Bookshelves
|
0x0000001000000000
|
Surfaces/Displays
|
0x0000002000000000
|
Storage/Dressers
|
0x0000004000000000
|
Comfort/DiningChairs
|
0x0000008000000000
|
Comfort/Sofas & Loveseats
|
0x0000010000000000
|
Comfort/Miscellaneous Comfort
|
0x0000020000000000
|
Decor/Roof Decorations
|
0x0000040000000000
|
Comfort/Beds
|
0x0000080000000000
|
|
0x0000100000000000
|
Surfaces/Coffee Tables
|
0x0000200000000000
|
Surfaces/Counters
|
0x0000400000000000
|
Surfaces/Desks
|
0x0000800000000000
|
Surfaces/End Tables
|
0x0001000000000000
|
Surfaces/Dining Tables
|
0x0002000000000000
|
Kids/Furniture
|
0x0004000000000000
|
Kids/Toys
|
0x0008000000000000
|
Vehicles/Cars
|
0x0010000000000000
|
Vehicles/Bicycles
|
0x0020000000000000
|
Surfaces/Cabinets
|
0x0040000000000000
|
Decor/Curtains & Blinds
|
0x0080000000000000
|
Kids/Miscellaneous Kids
|
0x0100000000000000
|
Lighting/Miscellaneous Lighting
|
0x0200000000000000
|
Plumbing/Miscellaneous Plumbing
|
0x0400000000000000
|
Storage/Miscellaneous Storage
|
0x0800000000000000
|
Surfaces/Miscellaneous Surfaces
|
0x1000000000000000
|
Vehicles/Miscellaneous Vehicles
|
0x2000000000000000
|
Decor/Rugs
|
|
Build Flags
Build Flags
|
Flag
|
Description
|
0x00000002
|
Door
|
0x00000004
|
Window
|
0x00000008
|
Gate
|
0x00000010
|
Column
|
0x00000020
|
Rabbit Hole
|
0x00000040
|
Fireplace
|
0x00000040
|
Chimney
|
0x00000100
|
Arch
|
0x00000200
|
Flower
|
0x00000400
|
Shrub
|
0x00000800
|
Tree
|
0x00001000
|
Rug
|
0x00002000
|
Rock
|
Slot Flags
Slot Placement Flags
|
Flag
|
Description
|
0x00000001 |
None
|
0x00000002 |
|
0x00000004 |
|
0x00000008 |
Small
|
0x00000010 |
Medium
|
0x00000020 |
Large
|
0x00000040 |
|
0x00000080 |
|
0x00000100 |
Sim
|
0x00000200 |
Chair
|
0x00000400 |
CounterSink
|
0x00000800 |
EndTable
|
0x00001000 |
Stool
|
0x00002000 |
CounterAppliance
|
0x00004000 |
|
0x00008000 |
|
0x00010000 |
|
0x00020000 |
|
0x00040000 |
Functional
|
0x00080000 |
Decorative
|
0x01000000 |
Upgrade
|
0x02000000 |
Vertical (aka MatchFlags)
|
0x04000000 |
PlacementOnly
|
0x08000000 |
|
0x10000000 |
CardinalRotation
|
0x20000000 |
FullRotation
|
0x40000000 |
AlwaysUp
|
0x80000000 |
|
|
There's a constant, "CheckFlags = 0xc3f38", masking off up to Decorative, which implies the other flags aren't really "slot placement"... Maybe. Today.
Misc Flags
These field names refer to those shown in s3pe.
Unknown8
|
Flag
|
Description
|
0x00000002 |
Keep buying
|
0x00000040 |
Fade out from back
|
0x00000400 |
Hang from ceiling
|
0x00004000 |
Supports floor above (like column)
|
0x00010000 |
Can be stepped over
|
|
Unknown9
|
Flag
|
Description
|
0x00000002 |
Requires wall behind
|
0x00000040 |
Wall not allowed on object's right (faces where green arrow points)
|
0x00000200 |
Wall not allowed in front
|
0x0000CC00 |
UNK - Used for EP1/EP2 awnings
|
0x00010000 |
Center on diagonal wall
|
|
Unknown10
|
Flag
|
Description
|
0x00000010 |
Cannot buy from catalog
|
|
|
Unknown11
Unknown11
|
Value
|
Description
|
0x00000001 |
Uses 1 tile for windows
|
0x00000002 |
Uses 2 tiles for windows
|
0x00000003 |
Uses 3 tiles for windows
|
Topic/Rating
Unknown15 Topic
|
Topic |
Catalog Text
|
0x00000000 |
No entry - and stops any further entries displaying
|
0x00000001 |
Environment
|
0x00000002 |
Hunger
|
0x00000003 |
Bladder
|
0x00000004 |
Energy
|
0x00000005 |
Stress Relief
|
0x00000006 |
Fun
|
0x00000007 |
Hygiene
|
0x00000008 |
Logic
|
0x00000009 |
Charisma
|
0x0000000a |
Cooking
|
0x0000000b |
Athletic
|
0x0000000c |
Painting
|
0x0000000d |
Guitar
|
0x0000000e |
Handiness
|
0x0000000f |
Group Activity
|
0x00000010 |
Upgradable
|
0x00000011 |
Learn Cooking Faster
|
0x00000012 |
Child Only
|
0x00000013 |
Gardening
|
0x00000014 |
Fishing
|
0x00000015 |
Self-Cleaning
|
0x00000016 |
Never Breaks
|
0x00000017 |
Portable
|
0x00000018 |
Speed
|
0x00000019 |
No String
|
0x0000001A |
Inventing
|
0x0000001B |
Sculpting
|
|
Unknown15 Rating
|
Rating |
Effect
|
0x00000000 |
nothing added, eg "logic"
|
0x00000001 to 0x0000000A |
appended after topic, eg "logic: 10"
|
0x0000000B |
prefix "+", eg "+ logic"
|
0x0000000C and beyond |
display as numbers but normally never used
|
|