September 11, 2022

Modding Diary - Bluetooth stethoscope ๐Ÿ’€

Hi Guys! 

Hope you all had a great week! For those of you who missed my last modding diary: the home birth update will be released in the first week of October! 

This week I worked on adding the stethoscope interaction and check dilation interaction. 

it all started out very well, the code(tunings) was working nicely, and I was working on the animation, thinking this will be done in no time.

until I tested the animation in game and saw this in game:

the chest-piece part of the stethoscope doesnt know where its supposed to go and is floating in the air D :

Some of you might remember me mentioning IK(inverse kinematics) in a previous post, basically it is a system that helps the sims hands to know where to go in relation to their body or another sims body. However objects do not have IK, so in this case the chest-piece is floating in the air because it doesnt know where the other sim's stomach is. I can manually attach the chest piece to the sims hand but the ear piece will then float in the air since the two are connected by the tubing.

after giving it some thought I came to the conclusion that the only way I can make this work is to remove the tubing and turn the stethoscope into two separate pieces ๐Ÿ˜…  

so when you click on the midwife and select "check on the baby"

they will listen to the baby's heartbeat with a high-tech Bluetooth stethoscope. I know it looks slightly ridiculous but that's the best I can do for now lol

after they check the baby's heartbeat you will a notification, here are a few examples

right now the baby's heart rate doesn't have an actual effect on the game play, but in the next major update I plan on adding emergency birth situations where if the baby's heart rate is too slow you might need go to the hospital and get an emergency c-section.

I also worked on the checked dilation interaction. After initiating the interaction both the pregnant sim and the midwife will find a place to sit down

(there will be censors in the final version)

you will then get a notification saying how many centimeters you are.

next week I will work on:

  • Finishing the dilation interaction

  • Fix an LE im getting after calling the midwife.

  • get started on the "relax in birth pool" interaction

Once again the home birth update will be released in the first week of October!

As always, thank you all for you patience and your support!