Jump to content

AAF Family Planning Enhanced Redux


Recommended Posts

Posted

Thank you for the mod; wouldn't play FO4 without it anymore. As for more immersive ways to get infected with the breeder virus, there's now Project Zeta. I made a small mod for myself that gives the breeder perk from FPER when a certain scene triggers during Project Zeta's quest. Something similar could be done with Boston Breeder, but I can't figure out when you get infected or whether you are assumed to be infected by default. Oh well.

Posted

Have installed your latest patches in a new play thru with regular cbbe female body

On MC first pregnancy works.

Then any impregnation attempt give message pregnant, but using a mcm hotkey from your mod to check status = not pregnant.

Post partum definitely not ever on.

 

Thank you for you mods, hope this helps with debug.

Posted
On 5/9/2022 at 2:37 AM, vaultbait said:
On 5/9/2022 at 2:32 AM, Nando70 said:

So I really would like to know some stuff that you haven't specified, for instance what does PregnaCare do? and what does the preNatal kit do?  the others are pretty obvious but there is no information about this 2, at least not that I can see anywhere, or I have missed it time and again.

 Thank you for respons.

 

Consuming PregnaCare adds the fertility perk. (Not sure about the pre-natal kits, I'm curious to know as well.)

 

 

Prenatal kit is there to free npcs or the player from various problems.
For example, frozen pregnancy or prenatal depression, etc. (4 in total).

 

There are only two problems with the kit.

 

1. the most difficult one:
The script does not work and has a serious bug. It adds via addperk the perk it should normally remove via removePerk.

 

2. it is not possible to administer medicine to the npcs in the game. Too bad, this function is missing in the mod. The drugs are quite useful.

 

Solution:

1. here is the corrected script.
Just copy it into the script folder. (.psc belongs in the source folder, but is not necessary to play).

 

2. as long as that is not implemented in the mod it goes so:
Console-> open -> Click on NPC -> equipitem xx00c215

 

xx = loading order HexNumber

 

This can be easily determined. Simply drop an FPE item, click on it via the console, right the first two characters of the BaseID is the loading order HexNumber. E.g. with me it is F700C215

 


 

 

 

 

FPE_PreNatalKit.pex FPE_PreNatalKit.psc

Posted (edited)
12 hours ago, Morgenrot_68 said:

2. it is not possible to administer medicine to the npcs in the game. Too bad, this function is missing in the mod. The drugs are quite useful.

 

Solution:

 

2. as long as that is not implemented in the mod it goes so:
Console-> open -> Click on NPC -> equipitem xx00c215

 

xx = loading order HexNumber

 

This can be easily determined. Simply drop an FPE item, click on it via the console, right the first two characters of the BaseID is the loading order HexNumber. E.g. with me it is F700C215

 

Here I have written nonsense, do not know why it did not work for me at first.
I have looked at the code again.

The function is already in the game (is triggered via MagicEffect). So just click on PreNatal in the player inventory and the previous NPC under the crosshairs gets the medicine.

 

The only thing left to do is to give the kit to the player. Instead of EquipItem just enter player.additem xx00c215 [quantity] in the console.

Or does anyone know how to get the PreNatal Kit in the game? I haven't found it in the recipes in the workshops yet.

 

I found it in level lists, that means dealers should sell it and it should be in Loot boxes

 

 

 

 

 

Edited by Morgenrot_68
Posted
9 hours ago, MrSpain890 said:

I don't know why, but for some reason my character keeps giving birth early. Is it some glitch in the new update?

 

If you're infected with the Breeder STD, you'll have shorter gestation times (and the monthly updates about your pregnancy will also mention the accelerated timeframe).

Posted
2 hours ago, vaultbait said:

 

If you're infected with the Breeder STD, you'll have shorter gestation times (and the monthly updates about your pregnancy will also mention the accelerated timeframe).

It's not that. For some reason my character keeps going into labor a day after getting impregnated. The virus has nothing to do with it.

Posted

MCM Settings Manager seems to be causing some irregularities for me. I loaded MCM settings on a new save and my character's pregnancy perk jumped from 1 month to 9+ months. Time to clear some old setting files and inis I guess.

Posted

There is a little update from me again.

 

This time I have dealt with LactMax.

LactMax is used to stimulate milk production in the breasts of women.

 

For the player it works, but unfortunately not for the NPCs. It is provided by the code, but it does not work because of bugs.
I fixed it now and added some more useful info.

I'll spare the technical explanations this time, because probably nobody is interested anyway.

 

Short list:
-LactMax for NPCs fixed.
-Lactation for NPCs with LactMax fixed. Did not work before.
Lactation starts and ends depending on MCM Lactation settings.
-Pregnancy info now includes info about the woman's milk production status. If nothing is displayed, the woman can't produce milk yet (perk is missing).
-Info lactation at the NPC starts
-Info LactMax treatment starts.

 

Oh yes, I almost forgot the most important one: To use LactMax you have to point the crosshair at the NPC and go to your inventory, then use the item normally. Then a message should appear that the LactMax treatment has started and will give results in a certain time (in days). (From this you can see when the perk goes from Active to Inactive and then removed again. (Setting in MCM under Lactation) This is original code, I didn't change anything on it except adding the message.

 

It may be that if you are a female player that LacMax and Lactation worked. This is because the item triggers a MagicEffect, which in turn starts a script. The stupid thing is that the conditions that start the MagicEffect depend on whether you are male or female. They were related to the player, which is of course wrong if you want to apply the item to an NPC.

I removed these conditions from the MagicEffect and ask for them in the script, but related to the actor, whether player or NPC.  

 

Since I have not only pached the scripts this time, but also the .esp I have packed everything together. It's a patch this time with an .esl that has to come after FP_FamilyPlanningEnhanced.esp.

 

The fixed PreNatal kit (see my post above) is also included. 

 

 

The package refers to the FPE version of 4/29/22 that @Invictusblade posted here.

 

AAF_FamilyPlanningEnhanced_4.005a LacMax_Patch.7z

Posted

Piper got pregnant and she's giving birth within 5 hours instead of 5 days being 1 month and needing 9 of those months. If I use the debug on her it says she's less than 1 month pregnant, I sleep for 4 hours and wake to a baby crying and the baby born quest picture (which is super cool by the way). Can I fix this?

 

 

Posted

I am taking an extended break at the moment, I am not feeling up to modding at the moment. (I would like to regain my love of the game first)

 

anyway

12 hours ago, bradster511 said:

what mod is needed for the sextoys gift on this mod?

no mod yet, these are proof of concept.

but I will be making addon mods in the future. (I might add toys to WDF)

16 hours ago, Morgenrot_68 said:

is a birth animation actually played? when npcs give birth, they just suddenly have the baby attached to their belly (if it's alive) in my case.

no Birth Animations yet.

 

On 5/12/2022 at 2:08 AM, Tortteljoni said:

Thank you for the mod; wouldn't play FO4 without it anymore. As for more immersive ways to get infected with the breeder virus, there's now Project Zeta. I made a small mod for myself that gives the breeder perk from FPER when a certain scene triggers during Project Zeta's quest. Something similar could be done with Boston Breeder, but I can't figure out when you get infected or whether you are assumed to be infected by default. Oh well.

I am thinking of it

On 5/12/2022 at 8:51 AM, one0one said:

Have installed your latest patches in a new play thru with regular cbbe female body

On MC first pregnancy works.

Then any impregnation attempt give message pregnant, but using a mcm hotkey from your mod to check status = not pregnant.

Post partum definitely not ever on.

 

Thank you for you mods, hope this helps with debug.

I need to fix some bugs

On 5/13/2022 at 2:00 AM, MakSONNE said:

Cannt get any female pregnant, even trough debug button.Help me with understanding the problem.I pinned several screenshots and my modlist.Hope for the best)Screenshot_5.jpg.105425ba2e59ddc4465d6984a5c1483d.jpg

Screenshot_3.jpg

Screenshot_4.jpg

Screenshot_7.jpg

LoadOrder_Fallout4_2022-05-12T18-52-37.txt 6.81 kB · 1 download

I will have a look

On 5/13/2022 at 3:56 AM, Morgenrot_68 said:

 

 

Prenatal kit is there to free npcs or the player from various problems.
For example, frozen pregnancy or prenatal depression, etc. (4 in total).

 

There are only two problems with the kit.

 

1. the most difficult one:
The script does not work and has a serious bug. It adds via addperk the perk it should normally remove via removePerk.

 

2. it is not possible to administer medicine to the npcs in the game. Too bad, this function is missing in the mod. The drugs are quite useful.

 

Solution:

1. here is the corrected script.
Just copy it into the script folder. (.psc belongs in the source folder, but is not necessary to play).

 

2. as long as that is not implemented in the mod it goes so:
Console-> open -> Click on NPC -> equipitem xx00c215

 

xx = loading order HexNumber

 

This can be easily determined. Simply drop an FPE item, click on it via the console, right the first two characters of the BaseID is the loading order HexNumber. E.g. with me it is F700C215

 


 

 

 

 

FPE_PreNatalKit.pex 2.82 kB · 8 downloads FPE_PreNatalKit.psc 1.96 kB · 4 downloads

it should work

 

On 5/13/2022 at 1:42 PM, MrSpain890 said:

I don't know why, but for some reason my character keeps giving birth early. Is it some glitch in the new update?

I need to find this problem and fix it

On 5/13/2022 at 4:14 PM, Morgenrot_68 said:

 

Here I have written nonsense, do not know why it did not work for me at first.
I have looked at the code again.

The function is already in the game (is triggered via MagicEffect). So just click on PreNatal in the player inventory and the previous NPC under the crosshairs gets the medicine.

 

The only thing left to do is to give the kit to the player. Instead of EquipItem just enter player.additem xx00c215 [quantity] in the console.

Or does anyone know how to get the PreNatal Kit in the game? I haven't found it in the recipes in the workshops yet.

 

I found it in level lists, that means dealers should sell it and it should be in Loot boxes

 

 

 

 

 

there is a reason for the player to not use the prenatal (from what I remember) and that is because it is not required for the player

the drug is designed for removing Existence effects from NPCs. and the Player shouldn't get those effects (maybe except for frozen pregnancy)

 

On 5/14/2022 at 2:27 AM, MrSpain890 said:

It's not that. For some reason my character keeps going into labor a day after getting impregnated. The virus has nothing to do with it.

 

On 5/14/2022 at 1:17 PM, MindDemons said:

Are The DLC's a requirement or does it just add more features 

basically I added factions which requires the DLCs (it is easier to assume that everyone has the DLCs nowadays)

 

On 5/14/2022 at 5:28 PM, Tortteljoni said:

MCM Settings Manager seems to be causing some irregularities for me. I loaded MCM settings on a new save and my character's pregnancy perk jumped from 1 month to 9+ months. Time to clear some old setting files and inis I guess.

 

On 5/15/2022 at 1:48 AM, Morgenrot_68 said:

There is a little update from me again.

 

This time I have dealt with LactMax.

LactMax is used to stimulate milk production in the breasts of women.

 

For the player it works, but unfortunately not for the NPCs. It is provided by the code, but it does not work because of bugs.
I fixed it now and added some more useful info.

I'll spare the technical explanations this time, because probably nobody is interested anyway.

 

Short list:
-LactMax for NPCs fixed.
-Lactation for NPCs with LactMax fixed. Did not work before.
Lactation starts and ends depending on MCM Lactation settings.
-Pregnancy info now includes info about the woman's milk production status. If nothing is displayed, the woman can't produce milk yet (perk is missing).
-Info lactation at the NPC starts
-Info LactMax treatment starts.

 

Oh yes, I almost forgot the most important one: To use LactMax you have to point the crosshair at the NPC and go to your inventory, then use the item normally. Then a message should appear that the LactMax treatment has started and will give results in a certain time (in days). (From this you can see when the perk goes from Active to Inactive and then removed again. (Setting in MCM under Lactation) This is original code, I didn't change anything on it except adding the message.

 

It may be that if you are a female player that LacMax and Lactation worked. This is because the item triggers a MagicEffect, which in turn starts a script. The stupid thing is that the conditions that start the MagicEffect depend on whether you are male or female. They were related to the player, which is of course wrong if you want to apply the item to an NPC.

I removed these conditions from the MagicEffect and ask for them in the script, but related to the actor, whether player or NPC.  

 

Since I have not only pached the scripts this time, but also the .esp I have packed everything together. It's a patch this time with an .esl that has to come after FP_FamilyPlanningEnhanced.esp.

 

The fixed PreNatal kit (see my post above) is also included. 

 

 

The package refers to the FPE version of 4/29/22 that @Invictusblade posted here.

 

AAF_FamilyPlanningEnhanced_4.005a LacMax_Patch.7z 22.26 kB · 13 downloads

 

21 hours ago, Dont Tell My Parents said:

Piper got pregnant and she's giving birth within 5 hours instead of 5 days being 1 month and needing 9 of those months. If I use the debug on her it says she's less than 1 month pregnant, I sleep for 4 hours and wake to a baby crying and the baby born quest picture (which is super cool by the way). Can I fix this?

 

 

 

Posted (edited)
39 minutes ago, Invictusblade said:
On 5/13/2022 at 8:14 AM, Morgenrot_68 said:

 

Here I have written nonsense, do not know why it did not work for me at first.
I have looked at the code again.

The function is already in the game (is triggered via MagicEffect). So just click on PreNatal in the player inventory and the previous NPC under the crosshairs gets the medicine.

 

The only thing left to do is to give the kit to the player. Instead of EquipItem just enter player.additem xx00c215 [quantity] in the console.

Or does anyone know how to get the PreNatal Kit in the game? I haven't found it in the recipes in the workshops yet.

 

I found it in level lists, that means dealers should sell it and it should be in Loot boxes

 

 

 

 

 

Expand  

there is a reason for the player to not use the prenatal (from what I remember) and that is because it is not required for the player

the drug is designed for removing Existence effects from NPCs. and the Player shouldn't get those effects (maybe except for frozen pregnancy)

 

39 minutes ago, Invictusblade said:

there is a reason for the player to not use the prenatal (from what I remember) and that is because it is not required for the player

the drug is designed for removing Existence effects from NPCs. and the Player shouldn't get those effects (maybe except for frozen pregnancy)

 

Sorry, I may not have been clear enough here.

It was about the application to the NPC, not to the player.

 

 

 

39 minutes ago, Invictusblade said:
On 5/12/2022 at 7:56 PM, Morgenrot_68 said:

 

 

Prenatal kit is there to free npcs or the player from various problems.
For example, frozen pregnancy or prenatal depression, etc. (4 in total).

 

There are only two problems with the kit.

 

1. the most difficult one:
The script does not work and has a serious bug. It adds via addperk the perk it should normally remove via removePerk.

 

2. it is not possible to administer medicine to the npcs in the game. Too bad, this function is missing in the mod. The drugs are quite useful.

 

Solution:

1. here is the corrected script.
Just copy it into the script folder. (.psc belongs in the source folder, but is not necessary to play).

 

2. as long as that is not implemented in the mod it goes so:
Console-> open -> Click on NPC -> equipitem xx00c215

 

xx = loading order HexNumber

 

This can be easily determined. Simply drop an FPE item, click on it via the console, right the first two characters of the BaseID is the loading order HexNumber. E.g. with me it is F700C215

 


 

 

 

 

FPE_PreNatalKit.pex 2.82 kB · 8 downloads FPE_PreNatalKit.psc 1.96 kB · 4 downloads

Expand  

it should work

 

 

 

 

 

39 minutes ago, Invictusblade said:

it should work

 

Unfortunately not in the original code, that does not work:

 

 

 

Quote
	If (Utility.RandomFloat(1 as float, 100 as float) > 50 as float)
		If (akActor.HasPerk(WLD_Perk_Pregnancy_Frozen))
			akActor.AddPerk(WLD_Perk_Pregnancy_Frozen, False)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been cured of Static Pregnancies")
		ElseIf (akActor.HasPerk(WLD_Perk_Birth_Nothing))
			akActor.AddPerk(WLD_Perk_Birth_Nothing, False)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been treated for " + gender_pronoun + " PreNatal Depression")
		ElseIf (akActor.HasPerk(WLD_Perk_Birth_PoorLifestyle))
			akActor.AddPerk(WLD_Perk_Birth_PoorLifestyle, False)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been given some multivitamin")
		ElseIf (akActor.HasPerk(WLD_Perk_Birth_Stillborn))
			akActor.AddPerk(WLD_Perk_Birth_Stillborn, False)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been given extensive treatment")
		Else

 

 

The function addPerk must be called removePerk.

 

 

In the corrected code, it looks like this and it works.

 

Quote
	If (Utility.RandomFloat(1 as float, 100 as float) > 50 as float)
		If (akActor.HasPerk(WLD_Perk_Pregnancy_Frozen))
			akActor.RemovePerk(WLD_Perk_Pregnancy_Frozen)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been cured of Static Pregnancies")
		ElseIf (akActor.HasPerk(WLD_Perk_Birth_Nothing))
			akActor.RemovePerk(WLD_Perk_Birth_Nothing)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been treated for " + gender_pronoun + " PreNatal Depression")
		ElseIf (akActor.HasPerk(WLD_Perk_Birth_PoorLifestyle))
			akActor.RemovePerk(WLD_Perk_Birth_PoorLifestyle)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been given some multivitamin")
		ElseIf (akActor.HasPerk(WLD_Perk_Birth_Stillborn))
			akActor.RemovePerk(WLD_Perk_Birth_Stillborn)
			Debug.notification(renameanything.GetRefName(akActor as ObjectReference) + " has been given extensive treatment")
		Else

 

 

 


 

 

 

 

 

 

Edited by Morgenrot_68
Posted
On 5/11/2022 at 6:08 PM, Tortteljoni said:

Thank you for the mod; wouldn't play FO4 without it anymore. As for more immersive ways to get infected with the breeder virus, there's now Project Zeta. I made a small mod for myself that gives the breeder perk from FPER when a certain scene triggers during Project Zeta's quest. Something similar could be done with Boston Breeder, but I can't figure out when you get infected or whether you are assumed to be infected by default. Oh well.

 

Sigh, what I miss is one or more animation for alien sex...... ?

Would be nice if some talented animator could make this. ?

Posted

Sorry there was no text below the quote for mine, about piper being pregnant and giving birth within about 5 hours. I assume that's related to one of the other comments about giving birth the next day. I would like to also add that I did load a save during this time so perhaps if it's not replicable for you, try saving then loading that save. That's all I did basically. I hope you can fix this, but if it's something I did wrong and can fix I would very much love some insight there :D.

 

Hope you also get back the love of the game....this mod has brought it back for me :D. I've got 3bbb working on my character and I'm pretty happy with my setup which is great! I learned a new trick with settlements....if you press and hold E it picks up all items attached to what you're looking at so I can build a house and move it no fuss if I've accidentally misaligned it :D. If you get stuck on that put a driveway or something that goes into the ground on your floor, and use that to E with, it won't make things stuck above ground so much :). Hope that maybe helps a little :D.

Posted

Hi, little question about the belly morph, is it diferent for each character? because  I've got pregnants npc with a very huge belly, but my character's one I can't see if it's growing ( I've tried with several outfit or without so it's not a problem with build morph )

 

Thank you

Posted
38 minutes ago, bedellia said:

Hi, little question about the belly morph, is it diferent for each character? because  I've got pregnants npc with a very huge belly, but my character's one I can't see if it's growing ( I've tried with several outfit or without so it's not a problem with build morph )

 

Do you have a unique player body mod, or play as a custom race which uses a separate body from the NPCs??

Posted (edited)
8 hours ago, vaultbait said:

 

Do you have a unique player body mod, or play as a custom race which uses a separate body from the NPCs??

Not at all, fusionbody for all, that's why I don't understand, I've slept several days until 7th month and mine compared with the slaves one is very tiny.

 

I thought it was because I disabled belly morph cumflation in Sex attributes, but it doesn't change.

 

I've tried the pregnant slider in looksmenu, it works fine. I've tried the "automatic body morph" command in the mcm debug page, I'll see if it works later.

Edited by bedellia
Posted (edited)

so I am slowing getting back into modding. (I am getting bored of Stardew Valley and others)

 

Edit-> This does not contain the fix, only the traces and Notifications (so it can display the creature cycle (which controls the number of months))


this is a debug script so messages will pop up whenever you or others get pregnant.

so anyone who has the issue, can you copy these scripts to Data/Scripts.

and get the issue a couple of times and then give me papyrus logs. (maybe it will help me with an actual fix)

 

I will post a message free version in a few minutes

 

edit-> you can also spam screenshots while getting pregnant because the messages will pop up

fpfp_playerpregdata.pex fpfp_basepregdata.pex

Edited by Invictusblade
Posted

so here is a hotfix for that fast birth bug (I think)

 

I think it is a problem with globals shitting itself (reverting to zero)

 

so I worked in a fix to default to 9 if it detects a zero (still don't know what causes the actual issue)

 

 

there is a number of issues, I have found to be fixed in the meantime so it will be small fixes,

 

so if you want to help me with fixing the actual bug then download the files above this post

 

fpfp_playerpregdata.pex fpfp_basepregdata.pex

Posted
8 hours ago, Invictusblade said:

so here is a hotfix for that fast birth bug (I think)

 

I think it is a problem with globals shitting itself (reverting to zero)

 

 

 

@Invictusblade

Nice that you have returned for the time being, there is still a lot to do.

Would you be so kind to publish the source codes as well? I can decompile the .pex, but with .psc's it would be easier.
And maybe you could take a look at the patches I provided and maybe integrate them permanently. Then I don't have to readjust them every time you release a hotfix.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...