Guest MHonch39 Posted September 9, 2012 Posted September 9, 2012 1st run through -------------- AfAm player - inventory had human ova (cauc) - centaur semen fertilized, (cauc child gestating) - Apparel switched to p1 - unequipped p1, nude body never switched - switched to p2 - a p1 copy of the apparel stayed in the inventory - tried the p1 and it switched to p2 leaving 2 copies in the inventory - nude body never changed -CTD at birth 2nd run through --------------- Cauc player - Apparel switched to p1 - nude body never switched - apparel didn't switch beyond p1 -CTD at birth I had preg duration set to 3%. Once preg, I was waiting 12hrs at a time. For some reason I kept CTD'ing when I would wait 24hrs. Don't think that's this mod doing that though.
Guest user29 Posted September 9, 2012 Posted September 9, 2012 Ok so the CTD at birth is an issue everyone is having.
seawolfe Posted September 9, 2012 Posted September 9, 2012 Okay .. so looking at a couple of things .. using number of semen as 5 and peak male fertility at default (60) .. the chance of the ova being impregnated is ((60/100) * 5) > iPregTarget (getRandomPercent which gives a value between 0 and 00) So basically there is a 4% chance of getting the target pregnant. I must have gotten very lucky with Willow that last time. how about checking each semen for a chance to implant the egg (there should only be one egg at a time anyway) with the chance becoming smaller for each sperm .. such that the chance to knock up a female is (This assumes that there will not be an ova token on a pregnant character) set iPregChance to getRandomPercent set iPregFlag to 0 ... set your semen count and other variables ... Label semenLoop if iPregFlag > 0 set iPregChance to iPregChance * 4 (decreases chances of twins, triplets, etc) if (iPregChance < female fert level) AND male is fertile (semen is semen .. either it's fertile or it isn't) set iPrefFlag to 1 ... remove 1 semen ... ... add gestation ... endif set iSemenCount to iSemenCount - 1 if iSemenCount > 0 goto semenLoop endif Male fertile level could be changed to getRandomPercent < male fertil level .. some sperm could be damaged so infertile while the rest are good to crack some eggs
seawolfe Posted September 9, 2012 Posted September 9, 2012 For right now I made this change to the human ova scripts and only for the human male semen checks Set fSemenChance to SexoutP0QVAR.fFertPeakPercM Set iChanceMale to GetRandomPercent - 40 Set iChanceMumsRace to GetRandomPercent - 40 Set iChanceBad to GetRandomPercent - 40 Set iPregTarget to GetRandomPercent if iPregFlag < 1 && iSemenAfAM > 0 && fSemenChance < iPregTarget Set rDadChildM to SexoutP3GestatingChildAfAmM Set rDadChildF to SexoutP3GestatingChildAfAmF rZActor.RemoveItem SexoutSP2VSemenHAfAm 1 1 Set iPregFlag to 1 endif if iPregFlag < 1 && iSemenAsian > 0 && fSemenChance < iPregTarget Set rDadChildM to SexoutP3GestatingChildAsianM Set rDadChildF to SexoutP3GestatingChildAsianF rZActor.RemoveItem SexoutSP2VSemenHAsian 1 1 Set iPregFlag to 1 endif if iPregFlag < 1 && iSemenCauc > 0 && fSemenChance < iPregTarget Set rDadChildM to SexoutP3GestatingChildCaucM Set rDadChildF to SexoutP3GestatingChildCaucF rZActor.RemoveItem SexoutSP2VSemenHCauc 1 1 Set iPregFlag to 1 endif if iPregFlag < 1 && iSemenHisp > 0 && fSemenChance < iPregTarget Set rDadChildM to SexoutP3GestatingChildHispM Set rDadChildF to SexoutP3GestatingChildHispF rZActor.RemoveItem SexoutSP2VSemenHHisp 1 1 Set iPregFlag to 1 endif Tested it out, and now I can get the NPC females pregnant somewhat easier. Is the chance of an ova appearing in the females inventory based on her fertility percentage at the time?
obscure2011 Posted September 9, 2012 Posted September 9, 2012 Fantastic work, i am getting 95% less CTD! Some oddness with pregnant body swapping though something keeps switching between the base nude body (BnB for me) and the pregnant body (BnB for companions, which looks fantastic BTW, and the type 3 for others). I don't see any mods that are doing this, is it SCR or NG? Also Veronica causes a CTD when giving birth but i think it is because of the body swapping problem but i cannot isolate the birthing till i figure out the body swapping. Is anyone else noticing the same thing? Again, great work and thank you!
seawolfe Posted September 10, 2012 Posted September 10, 2012 Okay .. so the default 60 was too much .. but the average 4% (more or less depending on how many sperm were present) was too low for me .. so i played around with numbers and went back to your basis of more sperm gives it a better chance and came up with this ... Set fSemenChance to SexoutP0QVAR.fFertPeakPercM / 10 Set iChanceMale to GetRandomPercent - 40 Set iChanceMumsRace to GetRandomPercent - 40 Set iChanceBad to GetRandomPercent - 40 Set iPregTarget to 1 + getRandomPercent if iPregFlag < 1 && iSemenAfAM > 0 Set fSemenChance to fSemenChance * iSemenAfAM if fSemenChance > iPregTarget Set rDadChildM to SexoutP3GestatingChildAfAmM Set rDadChildF to SexoutP3GestatingChildAfAmF rZActor.RemoveItem SexoutSP2VSemenHAfAm 1 1 Set iPregFlag to 1 endif endif if iPregFlag < 1 && iSemenAsian > 0 Set fSemenChance to fSemenChance * iSemenAsian if fSemenChance > iPregTarget Set rDadChildM to SexoutP3GestatingChildAsianM Set rDadChildF to SexoutP3GestatingChildAsianF rZActor.RemoveItem SexoutSP2VSemenHAsian 1 1 Set iPregFlag to 1 endif endif if iPregFlag < 1 && iSemenCauc > 0 Set fSemenChance to fSemenChance * iSemenCauc if fSemenChance > iPregTarget Set rDadChildM to SexoutP3GestatingChildCaucM Set rDadChildF to SexoutP3GestatingChildCaucF rZActor.RemoveItem SexoutSP2VSemenHCauc 1 1 Set iPregFlag to 1 endif endif if iPregFlag < 1 && iSemenHisp > 0 Set fSemenChance to fSemenChance * iSemenHisp if fSemenChance > iPregTarget Set rDadChildM to SexoutP3GestatingChildHispM Set rDadChildF to SexoutP3GestatingChildHispF rZActor.RemoveItem SexoutSP2VSemenHHisp 1 1 Set iPregFlag to 1 endif endif It sets a base chance at 10% of the male max fert setting and, during each race check, multiplies it by the number of race sperm in the inventory. So at default .. base chance is 6% plus 6% for each additional race sperm .. I'm still testing it for myself .. it may be too high still .. on the average I appear to give out 3 sperm per act .. but that increases each time if I continue sexing since there is no limit to how many times within a period of time that you can have sex I also move the debug message up to before the ova object is destroyed (not shown).
doomcat9 Posted September 10, 2012 Posted September 10, 2012 one thing i noticed, im having less issues with pregnancy if i set my wait to 23 hours instead of 24 i dunno why try and see if its doing the same for ya'll if i set it to 24 hours i noticed that either the pregnancy freezes "the day counter and the pregstage% counter are both just stuck doing nothing no matter how long i wait) or CTD
KainsChylde Posted September 10, 2012 Posted September 10, 2012 Its been mentioned before with wait time, Hal used the clock instead of days passed so waiting 24 hours is seen by pregnancy as not waiting at all. If you have a mod like NVEC that allows wait times of over 24 hours it only recognizes the off time. For example, if you wait 50 hours pregnancy will only recognize having waited for 2 hours.
doomcat9 Posted September 10, 2012 Posted September 10, 2012 one other thing how do you give an npc ova and sperm tokens manually? like for example i see a female npc but when i look at her inventory i dont see ova so if i want t give her one?
Halstrom Posted September 10, 2012 Author Posted September 10, 2012 Okay .. so looking at a couple of things .. using number of semen as 5 and peak male fertility at default (60) .. the chance of the ova being impregnated is ((60/100) * 5) > iPregTarget (getRandomPercent which gives a value between 0 and 00) So basically there is a 4% chance of getting the target pregnant. I must have gotten very lucky with Willow that last time. how about checking each semen for a chance to implant the egg (there should only be one egg at a time anyway) with the chance becoming smaller for each sperm .. such that the chance to knock up a female is (This assumes that there will not be an ova token on a pregnant character) Male fertile level could be changed to getRandomPercent < male fertil level .. some sperm could be damaged so infertile while the rest are good to crack some eggs The thing to remember is that's a 4% chance currently every 6 game minutes in each ova' date=' will probably be 10 minutes later, the semen are designed to stay in there for up to 48 hours, so an actor could fail a 4% chance in that time easily, it gives time to do something like douche the semen out before getting knocked up Ova are automatically removed by the pregnancy script. The number of ova is currently the Fertility level % / 3 so 1 to 3 ova normally, though high doses of FertX can nearly double the number of ova (those wacky Vault-Tech guys just love screwing around with nature). Its been mentioned before with wait time, Hal used the clock instead of days passed so waiting 24 hours is seen by pregnancy as not waiting at all. If you have a mod like NVEC that allows wait times of over 24 hours it only recognizes the off time. For example, if you wait 50 hours pregnancy will only recognize having waited for 2 hours. I did put a fix in for that, it now also chaeck s against GameDays Passed as well as the clock and should add an extra 24 hours everytime needed, though I haven't got a mod that lets me rest more than 24 hours to test it.
seawolfe Posted September 10, 2012 Posted September 10, 2012 cool .. I didnt realize that the semen stayed that long.
Halstrom Posted September 10, 2012 Author Posted September 10, 2012 Tried bloatflies. Gave birth at a P1 belly to 13 of them and they were all full size. At the end I CTD'd. I checked and at the time of birth I had a Female fertility cycle token' date=' a female fert token, 13 gestating larva, and a pregnancy token. Oh and while nude, I progressed to the p1 belly, and it didn't flicker this time! But it also didn't equip the p1 body. I just stayed at P0.[/quote'] Was that 13 Bloatfly births in a row? i didn't think 13 was possible Maybe I'm looking in the wrong place and it has something to do withthe body reverting to P0 and the Bodyswapping spammage. It couldn't be tied to the new birth count token you added for me could it? Or perhaps it's something I'm doing in Breeder? Maybe the way I'm starting the pregnancy? Is anyone else having crashes at birth Shouldn't be, it's only a token, it has no script, which reminds me can you change your usage to SexoutP4BirthCountToken instead of SexoutP2BirthCountToken, it's just the correct name for it I stuffed up when i created it, for the moment I'm adding both, will delete the old later.
Halstrom Posted September 10, 2012 Author Posted September 10, 2012 1st run through -------------- AfAm player - inventory had human ova (cauc) - centaur semen fertilized' date=' (cauc child gestating) - Apparel switched to p1 - unequipped p1, nude body never switched - switched to p2 - a p1 copy of the apparel stayed in the inventory - tried the p1 and it switched to p2 leaving 2 copies in the inventory - nude body never changed -CTD at birth 2nd run through --------------- Cauc player - Apparel switched to p1 - nude body never switched - apparel didn't switch beyond p1 -CTD at birth I had preg duration set to 3%. Once preg, I was waiting 12hrs at a time. For some reason I kept CTD'ing when I would wait 24hrs. Don't think that's this mod doing that though. [/quote'] Could be this mod, the 24hours and over hasn't been tested much. If anyone is using Custom races then the ova given defaults to Caucasian so by chance was your AfAm actor a non-vanilla AfAm race? Is everyone crashing at the same stage of birthing, the end when the brat pops out?
GECK.O Posted September 10, 2012 Posted September 10, 2012 one other thing how do you give an npc ova and sperm tokens manually? like for example i see a female npc but when i look at her inventory i dont see ova so if i want t give her one? May be thru command console "additem".
Halstrom Posted September 10, 2012 Author Posted September 10, 2012 Sorry, no luck with this yet, it's going to be a trial & error hunt, the good thing is iI'm now geting the CTD at the end of birthing like everyone else.
Guest user29 Posted September 10, 2012 Posted September 10, 2012 The birth animation isn't playing anymore. Perhaps it's related to that?
luythen Posted September 10, 2012 Posted September 10, 2012 I have some strange case of my female character not creating any ova and not getting pregnant while weirdly my companions got pregnant easily. Not sure if something is stuck or the odds are just against her. How can I best check when and if an ovum should have been spawned?
Guest MHonch39 Posted September 10, 2012 Posted September 10, 2012 If anyone is using Custom races then the ova given defaults to Caucasian so by chance was your AfAm actor a non-vanilla AfAm race? bingo. she's a custom. good to know. as for the CTD spot, it's pretty consistent on this end. I see a dish bowl like graphic pop on the ground and then crash.
seawolfe Posted September 11, 2012 Posted September 11, 2012 Obviously I do not know enough about the geck and how variables get saved. I have to assume that if you give an NPC an object, and then set a variable to that object, that it does not get saved in your savegame. I am making this assumption based on the fact that you have an ova and ova script for each race instead of using one script and object and setting variables on the objects as they are created and modified. Gah .. if this is so, game scripting has not progressed at all since I last worked on game modules
Halstrom Posted September 11, 2012 Author Posted September 11, 2012 Obviously I do not know enough about the geck and how variables get saved. I have to assume that if you give an NPC an object' date=' and then set a variable to that object, that it does not get saved in your savegame. I am making this assumption based on the fact that you have an ova and ova script for each race instead of using one script and object and setting variables on the objects as they are created and modified. Gah .. if this is so, game scripting has not progressed at all since I last worked on game modules[/quote']Yeah I had some problems at some point trying to get Mum's race info, so just broke it down, I've also had issues with NPC scripts reseting when the player is out of the cell, the other thing was it allows the option of adding non-human ova later as for the CTD spot' date=' it's pretty consistent on this end. I see a dish bowl like graphic pop on the ground and then crash.[/quote']Ah good I did replace a couple of kids with the dog bowl item to prove if it was not scripts in the offspring causing the crash, obviously it's not if you've seen the dogbowl & crashed, handy to know. The birth animation isn't playing anymore. Perhaps it's related to that? I disabled the birting animations as they were conflicting with Lust, Prideslayers given me a temporary fix to try, but I'm more concerned with clearing this CTD issue
GECK.O Posted September 11, 2012 Posted September 11, 2012 Sorry' date=' no luck with this yet, it's going to be a trial & error hunt, the good thing is iI'm now geting the CTD at the end of birthing like everyone else. [/quote'] May be you can make a simpler method. Something as simple like summoning creatures thru command console, then down scaled (setscale) to smaller size and set it to neutral faction. For human baby, just summoning a baby item in the inventory, which we can sold it to anyone , but not leaving them in the box or dresser, that's evil . For now, it's better to make it works whatever how simple it is.
Halstrom Posted September 11, 2012 Author Posted September 11, 2012 May be you can make a simpler method. Something as simple like summoning creatures thru command console' date=' then down scaled (setscale) to smaller size and set it to neutral faction. For human baby, just summoning a baby item in the inventory, which we can sold it to anyone , but not leaving them in the box or dresser, that's evil . For now, it's better to make it works whatever how simple it is.[/quote'] Nah, not giving up that easy, I know it can be done, a lot of stuff was working in previous versions, I just fixed it I hope just sorted the CTD on birting by the looks, I'm not really sure what it was, I found another CTD in the 24hour wait/sleep bug and fixed it. I've just got some issues with offspring birthing at full size, I tried some fixes with no luck. Then nude bodyswapping and some Ova Spammage to sort out next. I have a busy day tommorrow, but then have a 4 day weekend, so hopefully will nut out a lot of bugs for you guys this weekend. New Update 20120911.1: CTD on Birthing fixed CTD on 24hour wait/sleep fixed Other minor fixes Made Kirina produce Asian Ova
Guest user29 Posted September 11, 2012 Posted September 11, 2012 I don't even care if they birth at full size right now as long as you fixed that ctd!
Guest user29 Posted September 11, 2012 Posted September 11, 2012 ctd is fixed. Body swapping is indeed broken. I could never equip the summer slave (even when at p0) because it would just auto unequip.
seawolfe Posted September 11, 2012 Posted September 11, 2012 Been getting a lot of "Preg1Fert Diane: BodySwap Effect Added" messages about Great Khan Diane after sex with her. Not while I was in the same cell, but after I had left the area. The only reason I can see for getting spammed with that message is if the bodyswap effect is getting removed when the player is not in the same cell. edit: Do NPCs get reset during cell resets?
Recommended Posts