Replies: 16 (Who?), Viewed: 10773 times.
Original Poster
#1 Old 12th Sep 2018 at 1:59 AM Last edited by kestrellyn : 9th May 2020 at 7:12 AM.
Default Project: Make the Sims 2 handle polygamy better
I have in my game a wonderful hack made by Inge and Marhis that allows any sim to marry any other sim. You can find it here:,8196.0.html Among other things, it allows sims who are already married to marry other people, and thus, polygamy and group marriages.

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:
1. inlawsfixnew. This makes it so that relatives of all spouses are treated as in-laws, rather than just relatives of your first spouse.
2. 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.
3. 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.
4. 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.

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.

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!
Download - please read all instructions before downloading any files!
File Type: zip (406 Bytes, 227 downloads) - View custom content
File Type: zip (1.4 KB, 189 downloads) - View custom content
File Type: zip (77.8 KB, 181 downloads) - View custom content
#2 Old 20th Sep 2018 at 2:40 PM
As far as I know, Romantic Standards does not play nice with poly relationships, especially marriages. It's also essentially a replacement to romancemod but also changes and expands many things on top of it. With this mod, I sometimes get rejections from at least one of the spouses (depending on how high the chemistry is between the two sims, among other criteria)
Original Poster
#3 Old 21st Sep 2018 at 7:32 PM
Hmm, I guess if I modify that mod I won't be able to properly test it until I actually install BV. I guess that's a good enough reason to get on that. I'll do that, and check this out in more detail when I'm back on Windows (right now I'm writing a Python tool for another game on linux, but I'm mostly done with it and only have to test it at this point).
Lab Assistant
#4 Old 2nd Oct 2018 at 6:43 PM
I will test things for you. I will download these when I get home from work and play around with it. I will report back tomorrow.
Original Poster
#5 Old 2nd Oct 2018 at 7:04 PM
Awesome! Are you able to test the Romantic Standards mod that duderocks mentioned? I still haven't installed BV and I'm not super familiar with how it's supposed to work.
Field Researcher
#6 Old 17th Oct 2018 at 4:04 PM
Just so you know, Twojeffs did reply over at Simbology and has given permission (as long as credit is given of course).
Original Poster
#7 Old 21st Oct 2018 at 7:26 PM
Great, thanks!

There's a couple other things I want to do before coming back to this, but I'll update the post.
Mad Poster
#8 Old 22nd Oct 2018 at 6:18 PM
I did some testing - perhaps not enough, but I had some time yesterday and this morning.

(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.
Original Poster
#9 Old 22nd Oct 2018 at 8:04 PM
Are you playing with ACR? You should be able to disable autonomous cheating and unmarried woohoo in the settings. Or did my changes break that?
Mad Poster
#10 Old 22nd Oct 2018 at 8:38 PM
Yes - I play with ACR.

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?
Original Poster
#11 Old 22nd Oct 2018 at 9:31 PM
You should be able to change settings for individual sims, as well as for lots and the hood. I don't remember off the top of my head which settings are available at which level, though.
Mad Poster
#12 Old 23rd Oct 2018 at 7:22 AM
Yes - although I don't really had to change any settings to have most married sim couples concentrate on each other in my normal hood.

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.
Lab Assistant
#13 Old 5th Apr 2020 at 4:32 PM
Does this work? Allow poly-relations?
Original Poster
#14 Old 7th Apr 2020 at 7:17 PM
The hacked wedding arch does that. This just fixes various things in the game to make it work better.
Original Poster
#15 Old 9th May 2020 at 7:13 AM
Update: I have at last fixed the problem where multi-spouses wouldn't accept woohoo if they didn't have the right One Sim. If you're using this, redownload
Original Poster
#16 Old 8th Jul 2020 at 5:36 AM
For anyone following this thread, here is an exciting new mod that makes various go-steady-for-adults mods polyamory-enabled! Now you don't have the use the special wedding arch.
Test Subject
#17 Old 9th Jul 2020 at 9:49 PM
I don't use Pescado's RomanceMod and have... little interest in actually putting it in my game, since I actually play relatively basic, I use a different mod for the jealousy issues.
Back to top