Smarter choice of parent for entering college cinematic

23,109 Downloads 483 Thanks  Thanks 106 Favourited 59,500 Views
Uploaded: 19th May 2018 at 2:43 AM
Updated: 30th Oct 2018 at 3:55 AM - Adding version that allows townie parents
Update: vampires are now ineligible to be in the cinematic, since it takes place at 8 AM. I wasn't able to figure out how to disable the cinematic entirely for vampire teens, so it's up to you to remember to disable cinematics before sending your vampires to college.

Do your sims have absentee dads, or sperm donors, or just parents that they really hate? If so, you've probably seen someone completely inappropriate sending your teens off to college during the entering college cinematic.

Unmodded, the game always chooses the sim with the lowest neighbor ID to be in the cinematic. Since townies are spawned into the game before your born-in-game playables and thus have lower neighbor IDs, this means that it always picks the never-moved-in townie father to be in the cinematic, even though he's probably irrelevant at this point and your teen sim has probably never even met him. If the teen is a child of a pollination technician, no parent may appear even if the other parent is alive and playable.

This hack introduces new requirements for parents for participation in the cinematic:
  • The parent must be alive (the original game's only check)
  • The parent is not a vampire
  • The parent must be playable (To exclude this requirement, download instead. Pollination Technicians and other NPCs in the "Default" family are still disallowed, but regular NPCs like the maid are allowed.)
  • The teen's Lifetime Relationship with the parent must be greater than zero (also accounts for parents who have not been met). Daily relationship is not checked.

If only one parent meets these requirements, that parent will be in the cinematic regardless of the value of their neighbor ID.

If both parents meet the requirements, the one that the teen has the highest Lifetime Relationship (not daily relationship) with will be in the cinematic. If the teen has the same lifetime relationship with both parents, the one with the higher neighbor ID will be chosen, since that is the one that is more likely to have been born in-game.

If neither parent meets these requirements, the teen will do the cinematic alone, even if they have parents who are alive and/or playable.

This hack should work with any hack that doesn't directly affect which parent is chosen for the cinematic, even hacks which mod the teen->YA aging process, college move-in, or even other aspects of the cinematic. It only modifies BHAV 0x100D in group 0x7F1250CD, plus a new TPRP that I generated for labels.

This hack should be compatible with every game configuration with University installed.