|
|
| Line 1: |
Line 1: |
| − | {{OldWikiEntry}} ====Sim Relationship Values====
| + | #REDIRECT [[CC364C2A]] |
| | | | |
| − | 4 - Version (02)
| + | [[Category:Modding]] |
| − | 4 - Number of following dwords (some high values such as 0C are self relationships of some kind)
| + | [[Category:InternalFormats]] |
| − | 4 - Shortterm (Daily) Relationship Score
| + | [[Category:FormatsByName]] |
| − | 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
| + | |
| − | [[Category:Modding]]
| + | |