- Site Map >
- Modding and Creation >
- Creator Feedback Forum >
- Sims 2 >
- Other - Project: Make the Sims 2 handle polygamy better
- Site Map >
- Modding and Creation >
- Creator Feedback Forum >
- Sims 2 >
- Other - Project: Make the Sims 2 handle polygamy better
Posts: 3,765
Thanks: 9619 in 44 Posts
Unfortunately, the game is not very well suited to handle sims with multiple spouses. There is one particular check to see if a sim is married or engaged, and to whom, which is BHAV 0x261 (using neighbor IDs) and 0x43D (using object IDs). This check returns true if the sim is married or engaged, and then returns the neighbor ID and object ID and married/engaged flag in temp variables. Naturally, it only returns the first sim it finds, assuming that there will be only one. A lot of functions call this, check to see if a particular sim matches the spouse returned in temporary variables, and then assumes that the two sims are not married or engaged if the spouse ID doesn't match. This can cause the game to conclude that spouses are not really spouses because one of them is also married to someone else. My goal has been to go through and find all of the places where this logic is used, and correct it. Correcting it is relatively easy; finding all the places where it needs to be corrected, and documenting the actual effect that correcting it has is less easy.
What I am looking for in this thread:
1. People who install the polygamy arch, play with it, and tell me what doesn't work right.
2. People who install the various hacklets I make to fix problems, and report if they work.
3. Modders who might know parts of the codebase I don't, who can tell me what certain BHAVs are used for and who might know what problems a particular one is causing.
It's useful to be able to see attraction scores in-game - I recommend Cyjon's debugger.
What's already been done:
I've made and have been playing with some fixes for some of the problems, and some of them have definitely been fixed! They are attached to this post:
- inlawsfixnew. This makes it so that relatives of all spouses are treated as in-laws, rather than just relatives of your first spouse.
- Polygamy-marriagewantsfix. This just makes it so that sims who are already married can roll wants and fears of getting married again. It also adds these wants and fears for YAs, who can also get married using the hacked arch. While playing with it, I've seen not only wants and fears of getting married, but also fears of being left at the altar and wants to marry a rich sim appearing in contexts where they wouldn't have normally. The only restrictions are that sims who are already married to someone can't roll a generic want to get married, and sims cannot roll wants/fears to get married to someone they're already married to. Note that this requires TwoJeffs' same sex marriage hack and must load after it. If there is a demand for it, I can make a version that works without it.
- Polygamy-attractionfix. This fixes some general attraction problems, such as spouses not being attraction capable, and not getting a certain minimal attraction bonus. There are also some BHAVs whose function I'm not entirely sure of, although they seem to relate to attraction:
0x229 Rel - Attracted do I LT love param 0
0x166 Rel - Attracted do I ST love param 0
0x22A Rel - Attracted does Param 0 LT love me?
0x169 Rel - Attracted does Param 0 ST love me?
I have fixed the logic in these functions, but I'm not sure what effect this has on the game. Note that this one requires Pescado's romancemod and must load after it. If there is a demand for it, I can make a version that works without it. Slight change in that anyone who has a crush/love/marriage/engaged/going steady flag will be considered attraction capable, which makes it consistent with code elsewhere. - Changes to ACR. You can download ACR 2.0 here. TwoJeffs has retired from modding the Sims 2, but as far as anyone seems to know he would have no problem with me uploading modified versions of his files. The two ACR files attached to this post need to completely overwrite the ones you have installed in order to work. This solves the problem of spouses refusing to woohoo, or not having autonomous try for baby available if you have restricted that to only married sims. I still find that The One Sim is always the same sim when sims are married, and it would be nice for it to be able to switch between spouses, but I'm unsure how to mod this. I also have one pair whose woohoo score decreased significantly after everyone got married, but it was fixed by manual assignment of The One Sim. I'm sure there is probably still an unfixed underlying problem, however. Made a slight change so that sims in poly relationships who are merely engaged or going steady will also not reject interactions.
- Polygamy-affairmemoryfix - makes it so that no one will get a memory of having an affair if the sim they're "cheating" with is someone they're married to, engaged to, or going steady with. I want to later update this so that there will also not be affair memories generated if the sim's spouse would not be jealous due to ACR settings, and/or other jealousy mods.
- Polygamy-checksimoutfix - allows the Flirt.../Check Sim Out interaction to appear on multiple spouses.
- Polygamy-engagementwantsfix - allows sims to roll the want to get engaged even if they or the target are already engaged or married - now possible to fulfill with Palominocorn's mod!
- Polygamy-nojealousyforsteadies - extends the romancemod functionality that no one should get jealous of two married or engaged sims interacting romantically to steadies as well. Might or might not require romancemod.
- Polygamy-jealousscoldfix - fixes an obscure case when bad reactions could happen when a sim is involved in a complicated multimarriage. Also uses romancemod code and must load after it.
- PalominocornAdultsGoSteadyLastNameDialogPolyFriendly - this adds go steady for adults, requires it for engagement, and adds the last name dialog to the marriage social, with all three of these socials being poly friendly so that you can have as many steadies/fiances/spouses as you want with just Maxis interactions (i.e. no need for the marriage of convenience arch). Palominocorn originally made this and released it on tumblr, but there was a problem where the marriage social wouldn't actually marry the sims. I've attached the fixed version to this post.
What is still left to do:
I have searched all Sims 2 resources for functions which call the two marriage checks, although there may be other places where logic needs to be fixed. Some situations that pop out, based on the functions' names:
- Wedding parties and honeymoons - I rarely use these, so I have no idea what might go wrong.
- Memories and reactions to cheating (though most of these should be fixed by romancemod)
- Choosing the second parent for adoption. One of the things I was thinking of doing was actually having a dialog pop up whenever a baby was born allowing you to choose the second parent from among the sim's spouses and lovers, and the real parent of the child - that way, your married sims wouldn't always automatically know that their wife's child wasn't theirs, and you'd be able to have a spouse or lover "adopt" an alien child, or have a sim married to multiple other sims choose which of those sims should be the other parent. This would not change genetics, but only the family ties.
Group 7F01EC29: [Behaviour Function] Interaction - Scope Room TEST (0x22DD) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7F1059B4: [Behaviour Function] Function - Main (0x200E) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7F1059B4: [Behaviour Function] Sub - Set Via Wedding Controller (0x2020) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7F1059B4: [Behaviour Function] Sub - Toast To - Kiss Spouse (0x2045) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7F1059B4: [Behaviour Function] Sub - Set Via Recent Marriage (0x204F) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7F2589BC: [Behaviour Function] Wants Satisfy - Throw Party (0x1018) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7F327BCE: [Behaviour Function] Get in Temp 0 - People Around Sim (0x2022) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FA5FB07: [Behaviour Function] Adoption - Find Other Parent in Temp 1 (0x1021) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FB4DF10: [Behaviour Function] Function - Main (0x1000) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FB4DF10: [Behaviour Function] Sub - Memory Stuff (0x1003) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FC92A9D: [Behaviour Function] CT - Book Vacation (0x102F) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FC92A9D: [Behaviour Function] CT - Book Honeymoon TEST (0x1032) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD0A90D: [Behaviour Function] Interaction - Cut (0x2002) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD0A90D: [Behaviour Function] Interaction - Cut TEST (0x2007) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD0A90D: [Behaviour Function] Interaction - Cut TEST (0x2007) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD1A4B4: [Behaviour Function] Sub - No Special Handling Required? (0x1019) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD46CD0: [Behaviour Function] Memory - Affair (0x012E) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD46CD0: [Behaviour Function] Init - Sim - Put Ring on Finger if Needed (0x032B) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FD46CD0: [Behaviour Function] Furious - Romantic Rivalry? (0x046C) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FF37E31: [Behaviour Function] Engagement - Find Lover (0x1007) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FF37E31: [Behaviour Function] Grandchild - Find Grandparents (0x100D) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
0x43D
Group 7FA427E1: [Behaviour Function] CT - Handle Call (0x1002) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)Group 7FD46CD0: [Behaviour Function] Attraction - EP2 - Assign Min Attraction Score? (0x043F) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FF6C5C8: [Behaviour Function] Sub - Find Match (0x1006) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Group 7FF6C5C8: [Behaviour Function] Sub - Find Match (0x1006) (C:\Program Files (x86)\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package)
Anyway, I'd love it if some of you guys could help me out, and then at some point I will be able to upload a set of hacks that makes polygamy actually work well with the game! I'm sure you all have particular playstyles that probably make some problems more apparent to you than they are to me, so it would be very helpful to even just play with polygamy in your game and notice when things go wrong. Also, I would like to know if there are any hacks that misbehave when polygamy occurs, because there is a good chance they can be fixed, too!
Polygamy-marriagewantsfix.zip (406 Bytes, 616 downloads) - View custom content | ||||||||||||||
666 2018-06-29 22:48 Polygamy-marriagewantsfix.package --------- ------- 666 1 file |
||||||||||||||
Polygamy-attractionfix.zip (1.4 KB, 514 downloads) - View custom content | ||||||||||||||
5597 2018-06-21 21:53 Polygamy-attractionfix.package --------- ------- 5597 1 file |
||||||||||||||
ACR.zip (78.0 KB, 516 downloads) - View custom content | ||||||||||||||
58263 2018-06-11 13:14 ACR - Controller - Bed Socials.package 137648 2018-09-11 19:48 ACR - Controller - Main.package --------- ------- 195911 2 files |
||||||||||||||
Polygamy-affairmemoryfix.zip (391 Bytes, 346 downloads) | ||||||||||||||
Polygamy-checksimoutfix.zip (534 Bytes, 329 downloads) | ||||||||||||||
Polygamy-engagementwantsfix.zip (383 Bytes, 311 downloads) | ||||||||||||||
Polygamy-nojealousyforsteadies.zip (630 Bytes, 331 downloads) | ||||||||||||||
Polygamy-jealousscoldfix.zip (501 Bytes, 296 downloads) | ||||||||||||||
PalominocornAdultsGoSteadyLastNameDialogPolyFriendly.zip (57.0 KB, 358 downloads) |
Posts: 570
Thanks: 2831 in 18 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 227
Thanks: 406 in 7 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 365
Posts: 3,765
Thanks: 9619 in 44 Posts
There's a couple other things I want to do before coming back to this, but I'll update the post.
Posts: 8,857
Thanks: 3118 in 87 Posts
(Remember that I live in a country where polygamy is legal and still quite popular).
It seems to work fine, except - the sims don't seem to care about being married at all - they just sleep around with anybody available and willing.
It does not work that way in real life (there are exceptions, of course) - these marriages are taken seriously.
I don't know if that can be changed in anyway (I am not a modder) - but that is my conclusion.
Windows 10 and the Ultimate Collection
http://modthesims.info/showthread.php?t=568275
http://modthesims.info/showthread.php?t=614833
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 8,857
Thanks: 3118 in 87 Posts
Changed the settings - not quite.
I changed the settings on the home lots (I made 2 families) - but not for the complete hood (there are single sims and I don't want every sim to stop doing everything).
I guess that will be the choice then?
Windows 10 and the Ultimate Collection
http://modthesims.info/showthread.php?t=568275
http://modthesims.info/showthread.php?t=614833
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 8,857
Thanks: 3118 in 87 Posts
I have, when there are a lot of singles, changed the significant other at times (since it gets a bit messy when 15 sims have the same significant other )
(I have a smallish hood that I mainly use to test things in, but it has now grown to 8 families after adding the 2 polygamous ones - I will try the individual settings as well).
I will play some more with these two families - but although the memories and wants seem correct, I am not sure that the sims actually understand that they are married - compared to other couples.
I will also try some more ACR settings to see what happens.
Windows 10 and the Ultimate Collection
http://modthesims.info/showthread.php?t=568275
http://modthesims.info/showthread.php?t=614833
Posts: 104
Thanks: 294 in 3 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 67
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 2,627
Thanks: 3 in 1 Posts
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 2,627
Thanks: 3 in 1 Posts
My go-to for that would be ACR, since it provides a convenient way to turn jealousy on and off for individual sims and lots. I *think* if you just install the Main and Controller packages and not any of the social interaction packages you would get the jealousy controls and not any of the social interactions, if you don't want them. Midgethetree also has some anti-jealousy teas that might work, although I haven't tried them, although this is a solution where you would have to give the teas to every single sim except the ones you want to be jealous, and it's probably more involved than just selecting an option on the ACR controller. I believe there is also a no-jealousy trait object that you can give sims with the traits project. |
So far, ACR has not been what I am looking for but it's been a while since I looked at it. Thanks!
Posts: 3,765
Thanks: 9619 in 44 Posts
Posts: 1
Posts: 3,765
Thanks: 9619 in 44 Posts
Who Posted
|