Difference between revisions of "CC364C2A"
From SimsWiki
(Added infobox) |
m (Changed to new template) |
||
Line 49: | Line 49: | ||
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. | 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. | ||
− | {{ | + | {{OldWikiEntryCleaned|CC364C2A|SREL}} |
− | + | ||
[[Category:Modding]] | [[Category:Modding]] | ||
[[Category:InternalFormats]] | [[Category:InternalFormats]] | ||
[[Category:FormatsByTGI]] | [[Category:FormatsByTGI]] |
Revision as of 04:11, 6 August 2006
CC364C2A | |
---|---|
Short name: | SREL |
Long name: | Sim relations |
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.
This article is one of several on this topic imported from the old MTS2 wiki. It's original pages, with comments, can be found at http://old_wiki.modthesims2.com/CC364C2A and http://old_wiki.modthesims2.com/SREL