SREL

From SimsWiki
Revision as of 01:12, 16 February 2005 by Delphy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/SREL
====Sim Relationship Values====

4 - Version (02) 4 - Number of following dwords (some high values such as 0C are self relationships of some kind) 4 - Shortterm (Daily) Relationship Score 1 - Relationship State flags (see below) 1 - Relationship Type (see below) 2 - Good/Bad Relationship (0x0000 = positive score, 0xFFFF = negative score) 4 - Longterm (Lifetime) Relationship Score 4 - Family Relation (see below) (Note: only if Relationship Type 0x40 bit is set) 4 - Unknown 4 - Unknown 4 - Unknown 4 - Unknown 4 - Unknown 4 - Unknown 4 - Unknown 4 - 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.

--__Relationship State Flags__-- 001 Crush 002 Love 004 Engaged 008 Married 016 Friend 032 Best Friend 064 Going Steady 128 Enemy

--__Relationship Type__-- 064 Family 128 Known

--__Family Relation__-- 01 Parent 02 Child 03 Sibling 04 Grandparent 05 Grandchild 06 Uncle/Aunt 07 Niece/Nephew 08 Cousin 09 Spouse

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox