Difference between revisions of "CC364C2A"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
m (Info moved from SREL. Cleaned up, etc)
Line 1: Line 1:
{{OldWikiEntry}} ====Sim Relationship Values====
+
=CC364C2A (SREL)=
 +
This resource holds sim relationship values.
  
DWORD - Version (02)
+
==Format==
DWORD - Number of following dwords (some high values such as 0C are self relationships of some kind)
+
;DWORD
DWORD - Shortterm Relation
+
:Version (02)
WORD - Relationship Flags
+
;DWORD
WORD - Relationship State (positive,flat/negative)
+
:Number of following dwords (some high values such as 0C are self relationships of some kind)
DWORD - Longterm Relation
+
;DWORD
DWORD - Family Relation
+
:Daily relationship score
DWORD - Unknown
+
;Byte
DWORD - Unknown
+
:Relationship state bits
DWORD - Unknown
+
:*001 - Crush
DWORD - Unknown
+
:*002 - Love
DWORD - Unknown
+
:*004 - Engaged
DWORD - Unknown
+
:*008 - Married
DWORD - Unknown (00 or 01)
+
:*016 - Friend
DWORD - Unknown
+
:*032 - Best Friend
 +
:*064 - Going Steady
 +
:*128 - Enemy
 +
;Byte
 +
:Relationship type
 +
:*064 - Family
 +
:*128 - Known
 +
;WORD
 +
:Good/Bad relationship (0x0000 = positive score, 0xFFFF = negative score)
 +
;DWORD
 +
:Lifetime relationship score
 +
;DWORD
 +
:Family relation
 +
:Only if Relationship Type 0x40 bit is set
 +
:*01 - Parent
 +
:*02 - Child
 +
:*03 - Sibling
 +
:*04 - Grandparent
 +
:*05 - Grandchild
 +
:*06 - Uncle/Aunt
 +
:*07 - Niece/Nephew
 +
:*08 - Cousin
 +
:*09 - Spouse
 +
;32 bytes
 +
:Unknown
  
To assign this values to a Sim you need to look at the Instance ID of the file, the first 2 bytes of the Instance reference the Sim who has that feelings, the other two bytes are the Sim (s)he has the feelings for. [[Category:Modding]]
+
==Notes==
 +
To assign these values to sims you need to look at the instance ID of the file, the first 2 bytes of the instance reference the Sim who has that feelings, the other two bytes are the Sim s/he has the feelings for.
 +
 
 +
{{OldWikiEntryCleanedOther}}
 +
{{OldWikiEntryCleanedOther|SREL}}
 +
 
 +
[[Category:Modding]]
 +
[[Category:InternalFormats]]
 +
[[Category:FormatsByTGI]]

Revision as of 22:13, 13 July 2006

CC364C2A (SREL)

This resource holds sim relationship values.

Format

DWORD
Version (02)
DWORD
Number of following dwords (some high values such as 0C are self relationships of some kind)
DWORD
Daily relationship score
Byte
Relationship state bits
  • 001 - Crush
  • 002 - Love
  • 004 - Engaged
  • 008 - Married
  • 016 - Friend
  • 032 - Best Friend
  • 064 - Going Steady
  • 128 - Enemy
Byte
Relationship type
  • 064 - Family
  • 128 - Known
WORD
Good/Bad relationship (0x0000 = positive score, 0xFFFF = negative score)
DWORD
Lifetime relationship score
DWORD
Family relation
Only if Relationship Type 0x40 bit is set
  • 01 - Parent
  • 02 - Child
  • 03 - Sibling
  • 04 - Grandparent
  • 05 - Grandchild
  • 06 - Uncle/Aunt
  • 07 - Niece/Nephew
  • 08 - Cousin
  • 09 - Spouse
32 bytes
Unknown

Notes

To assign these values to sims you need to look at the instance ID of the file, the first 2 bytes of the instance reference the Sim who has that feelings, the other two bytes are the Sim s/he has the feelings for.

Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox