Difference between revisions of "STR"
MogHughson (Talk | contribs) (→STR#) |
MogHughson (Talk | contribs) (→STR#) |
||
Line 138: | Line 138: | ||
|0x12D||Dialog prim string set||Strings used by BHAV "[[0x0024|Dialog]]" primitive. Language codes matter for this instance. | |0x12D||Dialog prim string set||Strings used by BHAV "[[0x0024|Dialog]]" primitive. Language codes matter for this instance. | ||
|- | |- | ||
− | |0x12E||MakeActionString prim string set||Strings used by BHAV "[0x0032|Add/Change the Action String]]" primitive | + | |0x12E||MakeActionString prim string set||Strings used by BHAV "[[0x0032|Add/Change the Action String]]" primitive |
|- | |- | ||
|0x12F||Call Named Tree prim string set||Strings used by BHAV "[[0x001C|Run Tree by Name]]" primitive | |0x12F||Call Named Tree prim string set||Strings used by BHAV "[[0x001C|Run Tree by Name]]" primitive |
Revision as of 22:38, 24 April 2011
|
Several resources use this format:
- CATS - 43415453
- CTSS - 43545353
- STR# - 53545223
- TTAs - 54544173
This page describes them all.
Contents |
Format
- 64 bytes
- File name (null terminated)
- Word
- Format code (253,255) (see TS1 specs)
- Word
- Number of string sets
- for each string set there is a language code followed by the string pair
- for a list of all language codes see Language Codes
- Byte
- Language Code
- X bytes
- Value string (null terminated)
- X bytes
- Description string (null terminated)
Use
Several resouce types use this format. Following is usage notes for each of them.
STR#
STR# resources have some fixed Instance IDs. Not all of these will appear in every object, but when they do they always have the same meaning. Language codes don't matter for most of the fixed instance numbers. Exceptions are noted below.
Instance ID | Common Maxis Name | Description/Notes |
---|---|---|
0x65 | Hobby Strings | |
0x80 | Slots | |
0x81 | Anims - Adult | Animations used for adult Sims |
0x82 | Anims - Child | Animations used for child Sims |
0x83 | Anims - Social | Animations used for Sim-to-Sim interactions |
0x84 | Locomotion Animations | Animations used for walking/running/etc |
0x85 | Model - Names | |
0x86 | Anims - Object - Adult | Animations that the object does |
0x87 | Mesh Group Names | Reference to Model Meshes used by this object |
0x88 | Material Names | Reference to Model Material used by this object |
0x89 | Anims - Toddler | Animations used for toddler Sims |
0x8A | Anims - Teen | Animations used for teen Sims |
0x8B | Anims - Elder | Animations used for elder Sims |
0x8C | Anims - Baby(temporary) | Only 1 instance of this file found in objects.package |
0x8C | Anims - Cat | Animations used for cats |
0x8D | Anims - Dog | Animations used for dogs |
0x8E | Light Names | Lighting effects used by this object |
0x8F | Effect Names | Special effects used by this object, eg. sparks from broken computer |
0x90 | Model - Bones | Reference to bones used by this 3D object |
0x91 | Anims - Baby | Animations used for baby Sims |
0x92 | Reach animations | |
0x93 | Job Titles | Name/Description labels for careers and classes. Language codes matter for this instance. |
0x94 | soundinfo | Reference to sound files used by this object |
0x95 | Balloon Icon Texture Name | |
0x96 | Button GUIDS | Only about 4 instances of this file found in objects.package |
0x97 | Cinematics | Reference to cinematic scenes used by this object |
0x98 | none | Tooltip text |
0x99 | Anims - Puppy | Animations used for puppies |
0x9A | Anims - Kitten | Animations used for kittens |
0x9B | Anims - Small Dog | Animations used for Small Dogs |
0x9C | Anims - Elder Dog | Animations used for Elder Dogs |
0x9D | Anims - Elder Small Dog | Animations used for Elder Small Dogs |
0x9E | Anims - Elder Cat | Animations used for Elder Cat |
0xC8 | Body Strings | |
0x100 | Attribute Labels | The Attributes referenced in BHAV calls such as "My Attribute" |
0x101 | Slot Names | Descriptive labels for SLOT resources ?? |
0x102 | Relationship Labels | |
0x12D | Dialog prim string set | Strings used by BHAV "Dialog" primitive. Language codes matter for this instance. |
0x12E | MakeActionString prim string set | Strings used by BHAV "Add/Change the Action String" primitive |
0x12F | Call Named Tree prim string set | Strings used by BHAV "Run Tree by Name" primitive |
0x130 | Career Outfits | |
0x190 | Anims - Object - Elder | Animations that the object does |
0x191 | Anims - Object - Teen | Animations that the object does |
0x192 | Anims - Object - Child | Animations that the object does |
0x193 | Anims - Object - Toddler | Animations that the object does |
0x195 | Anims - Object - Dog | Animations that the object does |
0x196 | Anims - Object - Cat | Animations that the object does |
0x197 | Anims - Object - Puppy | Animations that the object does |
0x198 | Anims - Object - Kitten | Animations that the object does |
0x199 | Anims - Object - Small Dog | Animations that the object does |
0x4132 | Sound ID Names |
CATS
This resource should not be used. The only instance of it in objects.package is for the fire object.
CTSS
The first entry is an objects title(name). The second entry is it's description. The other entries don't appear to be used. Different language codes show up their appropriate installations.
Although multiple Format Codes were used in The Sims 1, all the TS2 CTSS files checked use 0xFDFF exclusively.
TTAs
This resource needs to have the same instance number as it's corresponding TTAB. Internal numbers don't need to match up. Different language codes show up their appropriate installations.
See Also
This article is one of several on this topic imported from the old MTS2 wiki. A list of it's original pages, with comments, follows: