Difference between revisions of "STR"

From SimsWiki
Jump to: navigation, search
m (Use: Added some notes, see also)
m (Use: Spelling)
Line 51: Line 51:
  
 
==Use==
 
==Use==
Several resouce types use this format. Following is usage notes for wach of them.
+
Several resouce types use this format. Following is usage notes for each of them.
  
 
===STR#===
 
===STR#===

Revision as of 03:50, 5 August 2006

43415453
Short name: CATS
Long name: Catalog String
43545353
Short name: CTSS
Long name: Catalog Description
53545223
Short name: STR#
Long name: Text Lists
54544173
Short name: TTAs
Long name: Pie Menu Strings

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
Byte
Number of string pairs
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.

Hex Common Maxis Name Description/Notes
81 Anims - Adult Animations used for adult Sims
82 Anims - Child Animations used for child Sims
83 Anims - Social Animations used for Sim-to-Sim interactions
84 Locomotion Animations Animations used for walking/running/etc
85 Model - Names
86 Anims - Object - Adult Animations that the object does
87 Mesh Groups Reference to Model Meshes used by this object
88 Material Names Reference to Model Material used by this object
89 Anims - Toddler Animations used for toddler Sims
8A Anims - Teen Animations used for teen Sims
8B Anims - Elder Animations used for elder Sims
8C Anims - Baby(temporary) Only 1 instance of this file found in objects.package
8E Light Names Lighting effects used by this object
8F Effect Names Special effects used by this object, eg. sparks from broken computer
90 Model - Bones Reference to bones used by this 3D object
91 Anims - Baby Animations used for baby Sims
92 Reach animations
93 none Name/Description labels for careers. Language codes matter for this instance.
94 soundinfo Reference to sound files used by this object
96 Button GUIDS Only about 4 instances of this file found in objects.package
97 Cinematics Reference to cinematic scenes used by this object
100 Attribute Labels The Attributes referenced in BHAV calls such as "My Attribute"
101 Slot Names Descriptive labels for SLOT resources
102 Relationship Labels
12D Dialog prim string set Strings used by BHAV "Dialog" primitive. Language codes matter for this instance.
12E MakeActionString prim string set Same as TS1
12F Call Named Tree prim string set Strings used by BHAV "Call Named Tree" primitive
130 Career Outfits
191 Anims - Object - Teen Animations that the object does
192 Anims - Object - Child Animations that the object does
4132 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

Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox