gen 6 patch notes


The main new feature is consanguinity - relatedness as a percentage - which orders relations by closeness whenever there's a list of them aaaaand finally lets you prevent romance between family members! The default settings prevent romance between second cousins or closer as well as any direct relations. When you load up the game, these new settings will be automatically added to the riv_rel - overall settings.cfg file (if it doesn't exist, it'll be created), which can be directly edited to change them.

This comes with some incompatibility with a couple of WW settings - I've spoken to TURBODRIVER and both mods can still be used together without crashes, but you can get odd results if you've added restrictions with riv_rel and also removed restrictions with WW. Your options if you use both mods are:

  • don't use incest features in WW: set global incest recognition to true, and don't give any sims the incest trait
  • don't use incest prevention in my mod: edit the .cfg file to set consanguinity_limit = 1 and direct_rels_are_incestuous = False

Besides that, there are some bug fixes, improvements, and a few new commands.

Fixes

  • riv_include_in_family now shows output to let you know if the sim has successfully been given the incX trait
  • indirect relationships will no longer be considered twice (i.e. you won't get "double half brother" or "double uncle" anymore)
  • riv_rel_all should no longer skip over random sims
  • found and resolved another point where sims renamed ingame were not renamed in the .json file
  • fixed an issue where indirect relations through relbits alone (i.e. siblings, pibling/nibling, first cousins with no shared direct ancestor) would sometimes not be recognised by the mod
  • the LE from the GT addon saying that the 'injector' module was not found should be fixed - if you experienced this at any point, please let me know if it's fixed so I can confirm this

Main mod additions

  • consanguinity ( https://isogg.org/wiki/Coefficient_of_relationship ) i.e. relatedness as a percentage
    • used to order rels in the main riv_rel command and the notification, so closer rels will be prioritised (e.g. they'll be your brother and 15th cousin, not 15th cousin and brother)
    • the command riv_consang sim_x sim_y lets you see the exact value as a percentage
    • riv_rel_more_info also shows the consanguinity as a percentage
    • there is an option to show consanguinity in notifs from the social interaction
  • riv_is_eligible_couple sim_x sim_y will tell you if two sims make an eligible couple based on your settings (consanguinity limit, and whether having a direct relation immediately counts as incest no matter how many generations apart), as well as whether the game considers this incest
  • additional incest prevention: injects into the incest_prevention_test() function, which will return the relationship as incestuous if these two sims are not an eligible couple (see riv_is_eligible_couple) or if the game counts it as incest.
    • at the very least, this prevents romantic interactions between two sims that are too close, though I don't know if it'll prevent couples in story progression in MCCC. It also might not apply to some modded romance interactions (just depends on how they've implemented incest prevention)
    • if you want to use EA incest recognition only, edit the .cfg file for my mod to have consanguinity_limit = 1 and direct_rels_are_incestuous = False.

New options

(will be added to riv_rel - overall settings.cfg when you load up the game)

  • consanguinity_limit: if two sims are at or above this consanguinity, then they won't count as an eligible couple, and romance will be disallowed between them. default value is 0.03125 (= 2^-5 = 3.125%), which counts relations between second cousins or closer as incestuous, but it can be anywhere between 0 and 1. examples:
    • set to 1 for EA default (it'll just use relbits, not consanguinity)
    • set to 0 if you want absolutely zero tolerance on incest, even if they're like twentieth cousins
    • put 2^-(2n+1) in a calculator and set it to that if you want the limit to be n^th cousins
    • 0.03125 for second cousins
    • 0.0078125 for third cousins
  • show_consanguinity_in_notifs: True/False (default False), toggles whether the consanguinity percentage will show up in the notif from the social interaction (this won't add extra lag dw, but not everyone will want this)
  • direct_rels_are_incestuous: True/False (default True), toggles whether direct rels always count as incest, so my mod will always count a sim and their great-...-great-grandparent/child as an ineligible couple.

Family traits addon

  • riv_show_family X
    • you can leave out X to default to family A
    • this lists your founder and their descendants, but it's grouped by generation, and within each generation it's split into whether they have heirX, famX, excX, no family X traits, or are culled sims
    • note: this command requires that your founder hasn't been culled (since they need to have the founderA trait), but any culled descendants will still appear
  • riv_clear_fam_sim sim_x
    • removes all of my family traits from sim_x (honestly it makes more sense than having five separate commands for it)
    • the output will show what commands to use to re-add any of the traits that have been removed, just in case you only wanted to remove one or two traits
  • all other commands that take a family (A to H) as an argument are now set to have that family as optional: for example, entering "riv_include_in_family Bob Pancakes" will now give Bob the incA trait, so the same effect as "riv_include_in_family Bob Pancakes A"

Minor technical changes

tl;dr - you'll probably only notice that the starting notif will always show on zone load

  • the starting notification will now show up even if you don't have riv_auto enabled: in this case, it'll just tell you how many sims are ingame and how to set up riv_auto if you want this functionality
    • it'll also let you know if the slot you've loaded up is an autosave (in which case you'll need to save to another slot before using riv_auto)
  • now uses the rivsim (sim mini-info) list for all saves, whether there's a json file or not, which helps with efficiency when calculating relations and simplifies my code. However, this means running riv_clear will make my mod unable to find sims/rels that exist until you either load in a json file or reload the zone; you'll only need this command if you accidentally load in the wrong .json file anyway and the starting notif will tell you how exactly to fix this!
  • riv_mem now shows a little more info, including the number of entries in riv_rel_dict.rels (i.e. the number of parent lists; this should be the same as the number of sim mini-infos)
  • removed some unused code (a cache of married sims [actually ended up slowing marriage checks somehow lol] and a performance test)

Get [unsupported] riv_rel - genealogy mod for sims 4

Leave a comment

Log in with itch.io to leave a comment.