Difference between revisions of "Sims 3:0x319E4F1D"
m (→Object Category) |
m |
||
Line 60: | Line 60: | ||
--insert [[Sims 3:Key table|TGI Block List]] | --insert [[Sims 3:Key table|TGI Block List]] | ||
+ | |||
+ | ==Misc Flags== | ||
+ | These field names refer to those shown in s3pe. Please feel free to come up with better names than "Unknown''nn''"... | ||
+ | {| border="0" cellpadding="4" | ||
+ | |- valign="top" | ||
+ | | | ||
+ | {| class="wikitable" border="1" | ||
+ | ! colspan="3" | 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 | ||
+ | |} | ||
+ | | | ||
+ | {| class="wikitable" border="1" | ||
+ | ! colspan="3" | 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 | ||
+ | |} | ||
+ | |} | ||
+ | {| border="0" cellpadding="4" | ||
+ | |- valign="top" | ||
+ | | | ||
+ | {| class="wikitable" border="1" | ||
+ | ! colspan="3" | Unknown10 | ||
+ | |- | ||
+ | ! Flag | ||
+ | ! Description | ||
+ | |- | ||
+ | |0x00000010||Cannot buy from catalog | ||
+ | |} | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | ==Unknown11== | ||
+ | {| class="wikitable" border="1" | ||
+ | ! colspan="3" | Unknown11 | ||
+ | |- | ||
+ | ! Value | ||
+ | ! Description | ||
+ | |- | ||
+ | |0x00000001 || Uses 1 tile for windows | ||
+ | |- | ||
+ | |0x00000002 || Uses 2 tiles for windows | ||
+ | |- | ||
+ | |0x00000003 || Uses 3 tiles for windows | ||
+ | |} | ||
==Catalog Flags== | ==Catalog Flags== | ||
Line 695: | Line 762: | ||
There's a constant, "CheckFlags = 0xc3f38", masking off up to Decorative, which implies the other flags aren't really "slot placement"... Maybe. Today. | There's a constant, "CheckFlags = 0xc3f38", masking off up to Decorative, which implies the other flags aren't really "slot placement"... Maybe. Today. | ||
<br clear="all"> | <br clear="all"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Moodlets== | ==Moodlets== |
Revision as of 12:54, 30 August 2010
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |
Object Definition - OBJD | ||
---|---|---|
TypeID: | 0x319E4F1D | |
Game Version: | The Sims 3 |
Contents |
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 // Moodlet Given DWORD // Moodlet Score 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
Misc Flags
These field names refer to those shown in s3pe. Please feel free to come up with better names than "Unknownnn"...
|
|
|
Unknown11
Unknown11 | ||
---|---|---|
Value | Description | |
0x00000001 | Uses 1 tile for windows | |
0x00000002 | Uses 2 tiles for windows | |
0x00000003 | Uses 3 tiles for windows |
Catalog Flags
Room Flags
|
|
|
Category Flags
|
|
|
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 | |
0x00004000 | ||
0x00008000 | Community/Misc. Objects |
Slot Flags
|
There's a constant, "CheckFlags = 0xc3f38", masking off up to Decorative, which implies the other flags aren't really "slot placement"... Maybe. Today.
Moodlets
The Moodlet Given defines what icon to display and the Moodlet Score the number of + signs (maximum of three).
Topic/Rating
|
|
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |