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: http://www.moreawesomethanyou.com/s...pic,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:
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.
0x261
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!
Loiterer ID Hour to BootCasual.../Woohoo Casual.../Will I Woohoo?Hrm, I couldn't find a sim to try pregnancy on. This shouldn't happen so please let Twojeffs know about this. $Neighborlocal:0 is trying to get pregnant. $Neighborlocal:4 would be the father.
Odds found are $local:2%. The random rolled is $local:5.a2o-bed-unmade-getin a2o-bed-getinEnds in 'sleep on back' poseo2a-doublebed-sheets-unmade-getin o2a-doublebed-sheets-getinPlayInBed caughtCheatingsting_playin_make_preg Social - Casual Romance - Set Result Gender Preference - Adjust
ACR - Controller - Main.package
137,648
Object Hack/Game Mod
enough action between your sims(? Gãtoo much? Here's#9oluä. Control all of the: sàs fo r
’c’rmod €råthis nifty little item. NA™capKáunbeliev+abOpri sY!le$ à& elwde
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)
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).
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.
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).
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.
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.
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 ACR.zip.
For anyone following this thread, here is an exciting new mod that makes various go-steady-for-adults mods polyamory-enabled! https://palominocorn.tumblr.com/pos...lationships-mod Now you don't have the use the special wedding arch.
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.
Hey guys, I've created a number of new mods for this and just never got around to uploading them. So, here they are. See the first post for details - they are all marked with .
@kestrellyn, since you have probably looked a lot at these things, maybe you are the person to ask. I use no-jealousy-at-all and like it very much, but I would like to be able to turn on jealousy for an individual sim. Is there a way to do that using anything you've made or do you have an idea how it might be done with no-jealousy. I do not use ACR and don't want to if there is a more streamlined way.
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.
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!
hi! i love the idea of these mods/fixes a lot, but i have a problem in which i don't have the romancemod, and i have no interest in downloading it. i already use midgethetree's edited version of Romantic Standards and i doubt it would work v well with another mod trying to edit the same resources... is there any way to make the fixes dependant on the romancemod, well, not depend on the romancemod?
Theoretically I could do that, but I'm sure they probably wouldn't work with Romantic Standards since that probably modifies the same stuff, anyway, and it's hard for me to make stuff compatible with such an extensive mod that I don't actually use.