Difference between revisions of "COLL"
From SimsWiki
HugeLunatic (Talk | contribs) (→Introduction) |
HugeLunatic (Talk | contribs) (→3D ID Referencing File (3DIDR)) |
||
(6 intermediate revisions by one user not shown) | |||
Line 15: | Line 15: | ||
The Instance value for the main 3IDR and the COLL are the same, possibly random number generation. Each 3IDR then has a consecutive Instance number with a matching BINX resource for each item added to the collection. | The Instance value for the main 3IDR and the COLL are the same, possibly random number generation. Each 3IDR then has a consecutive Instance number with a matching BINX resource for each item added to the collection. | ||
+ | |||
+ | <br clear="all"> | ||
===3D ID Referencing File (3DIDR)=== | ===3D ID Referencing File (3DIDR)=== | ||
+ | [[Image:3idr_Main.jpg||right||600px]] | ||
+ | *Main 3IDR | ||
+ | **IMG - Icons image resource in package | ||
+ | **STR# - Icons text resource in package | ||
<br clear="all"> | <br clear="all"> | ||
+ | [[Image:3idr_Item.jpg||right||600px]] | ||
+ | *3IDR for each item in collection | ||
+ | **UI Data - Unknown usage | ||
+ | **Collection - Links to COLL in package. The Instnace number is the same as the main 3IDR Instance number. | ||
+ | **This line links to the item added to the collection. For objects it is the objects GUID, for walls/floors it is unknown. | ||
+ | |||
+ | <br /> | ||
+ | {| class="nicetable" align="center" | ||
+ | |- | ||
+ | |File Type: 0x69DA3F9F (objects) and 0xE9DA450E (walls/floors). Group values are 0x00000000 (objects), 0x00000001 (floors) and 0x00000002 (walls). | ||
+ | |} | ||
+ | |||
+ | <br clear="all"> | ||
===Binary Index (BINX)=== | ===Binary Index (BINX)=== |
Latest revision as of 00:43, 8 January 2013
unknown | |
---|---|
Short name: | COLL |
Long name: | Collection |
Contents |
[edit] Introduction
The Collection resource is one of many resources found in a collection file. The collection file holds information about objects and groups them together, they are folders found in game via Collections. This page covers not only the COLL resource, but all the parts that make up a collection file.
- 3IDR
- BINX
- COLL
- IMG
- STR#
The Instance value for the main 3IDR and the COLL are the same, possibly random number generation. Each 3IDR then has a consecutive Instance number with a matching BINX resource for each item added to the collection.
[edit] 3D ID Referencing File (3DIDR)
- Main 3IDR
- IMG - Icons image resource in package
- STR# - Icons text resource in package
- 3IDR for each item in collection
- UI Data - Unknown usage
- Collection - Links to COLL in package. The Instnace number is the same as the main 3IDR Instance number.
- This line links to the item added to the collection. For objects it is the objects GUID, for walls/floors it is unknown.
File Type: 0x69DA3F9F (objects) and 0xE9DA450E (walls/floors). Group values are 0x00000000 (objects), 0x00000001 (floors) and 0x00000002 (walls). |
[edit] Binary Index (BINX)
Name | Type | Use | Value |
---|---|---|---|
creatorid | dtstring | 00000000-0000-0000-0000-0000000000000 | unknown |
flags | dtUInteger | 0x00000002 | unknown |
iconidx | dtUInteger | 0x00000000 | unknown |
sortindex | dtUInteger | varies | Order it appears in game in collections |
stringindex | dtUInteger | 0x00000000 | unknown |
stringsetidx | dtUInteger | 0x00000001 | unknown |
[edit] Collection (COLL)
Name | Type | Use | Value |
---|---|---|---|
creatorid | dtstring | 00000000-0000-0000-0000-0000000000000 | unknown |
flags | dtUInteger | 0x00000002 | unknown |
iconidx | dtUInteger | 0x00000000 | unknown |
sortindex | dtUInteger | varies | Order it appears in game in collections |
stringindex | dtUInteger | 0x00000000 | unknown |
stringsetidx | dtUInteger | 0x00000001 | unknown |
type | dtString | collection, communitylotcollection, *lotcollection | Residential collection, Community collection, or both collection |
*lotcollection is only available for Pets EP and later |
[edit] jpg/tga/png Image (IMG)
This is the image that shows in collections.
Changing collection Icon image:
- Right Click
- Extract
- Save As...<filename.tga>
Be sure to change file extension to .tga for alpha channel! |
[edit] Text Lists (STR#)
This is the text that displays when hovering over the collection in game. Line 0x0000(0) contains the name. Instance value of 0x00000001.