Jump to content

[Project Zomboid] Being Female - Adding more complex Female Roleplay


Recommended Posts

Posted
1 hour ago, Transcendent Lala said:

I fixed it. now I didnt delete the Mac folder it is working without errors

I say this but now if a zombie tried to grab me. I stagger. I get errors going up during sex. I dont have this with the older version of ZWBF

Posted

Thanks for the excellent module! Because most animations are very fast, so I want to adjust the animation speed of penis to make it faster. Which file parameters should I adjust and what should I pay attention to?

Posted (edited)
17 hours ago, Zikhad said:

I like this idea @blabla012345, I will add this to the list. (does any one here knows anything about 3d modeling, would be sick to have a 3D modeling of this item)

 

To be more precise, I thought about a way to make it balanced.


Just like the "Breast pump" object, the "Enema bulb" object should only spawn in pharmacies (buildings) and medicine cabinets (in the bathrooms of houses).
So we need to see which 'loot distribution' code to put.

 

Then we need 2 versions of the object.
Why?
Because we don't insert an object into an orifice right after taking it from a pharmacy.
And because I suspect that zombie sperm must not be very clean, so once the enema bulb is used, it must be sterilized so that it can be used again.


So:
Version 1: "Enema bulb" with the instructions 'It must be sterilized to use it'.
Version 2: "Sterilized enema bulb".

 

But really, why sterilize it?
If we put aside the hygiene aspect and focus only on the gameplay, any player who has an enema bulb and water (I'll get to that) can remove ALL the sperm without problem which ruins the game.

If the player has to sterilize the enema bulb then it will normally reduce the player's ability to clean themselves easily and quickly.

 

For sterilization you need to use either:

_A bottle of disinfectant

_A disinfectant wipe

_A sterilized ripped sheet

 

And finally you need clean water: NOT impure.

There you go, I hope this could help you.

 

As for the 3D creation I should be able to make the object for you, I just have to do some research to import it into Project Zomboid.

Edited by blabla012345
Posted
1 hour ago, Magenta147 said:

Do I need to pick pregnancy trait to use it? If I don't pick the pregnancy trait, game is giving error.

Do you not have the required mods installed for this mod? Or what is the error message?

Posted
3 minutes ago, Venusm4 said:

Do you not have the required mods installed for this mod? Or what is the error message?

I do have all the required, just want to know if I need to pick the pregnancy trait at the start after character creation. Because If I don't pick it produces

Error:

 

function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

 

But If I pick the pregnancy trait, the one where my character is pregnant at the start its okay no, Error.
 

Posted
2 minutes ago, Magenta147 said:

I do have all the required, just want to know if I need to pick the pregnancy trait at the start after character creation. Because If I don't pick it produces

Error:

 

function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

 

But If I pick the pregnancy trait, the one where my character is pregnant at the start its okay no, Error.
 

I see, as far as I know, you don’t need to choose this mod at the beginning, because this mod is a ZomboWin linkage mod that gives you a chance to have this pregnancy trait when you are defeated and fertilized. You might try to see if this error will affect the run of the mod.

Posted (edited)
39 minutes ago, Venusm4 said:

I see, as far as I know, you don’t need to choose this mod at the beginning, because this mod is a ZomboWin linkage mod that gives you a chance to have this pregnancy trait when you are defeated and fertilized. You might try to see if this error will affect the run of the mod.

Gotcha! will do

 

Note: Just started without using pregnancy, after being defeated this is the result of the error.

 

LOG  : General     , 1723531089017> -----------------------------------------
STACK TRACE
-----------------------------------------
function: impregnate -- file: ZWBFWombFill.lua line # 42 | MOD: ZomboWin Being Female
function: _onPlayerUpdate -- file: ZWBFWombFill.lua line # 74 | MOD: ZomboWin Being Female

ERROR: General     , 1723531089017> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __sub not defined for operands in impregnate at KahluaUtil.fail line:82.
ERROR: General     , 1723531089018> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __sub not defined for operands in impregnate
    at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
    at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
    at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
    at zombie.Lua.Event.trigger(Event.java:64)
    at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
    at zombie.characters.IsoPlayer.updateInternal2(IsoPlayer.java:2141)
    at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1935)
    at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
    at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
    at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
    at zombie.util.Lambda.capture(Lambda.java:130)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
    at zombie.characters.IsoPlayer.update(IsoPlayer.java:1924)
    at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:79)
    at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:145)
    at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2955)
    at zombie.iso.IsoCell.updateInternal(IsoCell.java:5750)
    at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
    at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
    at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
    at zombie.util.Lambda.capture(Lambda.java:130)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
    at zombie.iso.IsoCell.update(IsoCell.java:5696)
    at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3499)
    at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
    at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
    at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
    at zombie.util.Lambda.capture(Lambda.java:130)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
    at zombie.iso.IsoWorld.update(IsoWorld.java:3427)
    at zombie.gameStates.IngameState.updateInternal(IngameState.java:1617)
    at zombie.gameStates.IngameState.update(IngameState.java:1333)
    at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
    at zombie.GameWindow.logic(GameWindow.java:298)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.GameWindow.frameStep(GameWindow.java:765)
    at zombie.GameWindow.run_ez(GameWindow.java:681)
    at zombie.GameWindow.mainThread(GameWindow.java:495)
    at java.base/java.lang.Thread.run(Unknown Source)
LOG  : General     , 1723531089019> -----------------------------------------
STACK TRACE
 

Edited by Magenta147
Posted (edited)

I Tested the zwbf V 1.0.5 it doesn't give me any error while zwbf V 1.1.0 it gives me error.

 

zwbf V 1.1.0 Error:

 

LOG  : General     , 1723541807895> -----------------------------------------
STACK TRACE
-----------------------------------------
function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

ERROR: General     , 1723541807895> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: HoursToLabor of non-table: null at KahluaThread.tableget line:1689.
ERROR: General     , 1723541807896> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: HoursToLabor of non-table: null
    at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
    at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
    at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
    at zombie.Lua.Event.trigger(Event.java:64)
    at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
    at zombie.gameStates.GameLoadingState.exit(GameLoadingState.java:405)
    at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:105)
    at zombie.GameWindow.logic(GameWindow.java:298)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.GameWindow.frameStep(GameWindow.java:765)
    at zombie.GameWindow.run_ez(GameWindow.java:681)
    at zombie.GameWindow.mainThread(GameWindow.java:495)
    at java.base/java.lang.Thread.run(Unknown Source)
LOG  : General     , 1723541807896> -----------------------------------------
STACK TRACE
-----------------------------------------
function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

Edited by Magenta147
Posted
2 hours ago, Magenta147 said:

I Tested the zwbf V 1.0.5 it doesn't give me any error while zwbf V 1.1.0 it gives me error.

 

zwbf V 1.1.0 Error:

 

LOG  : General     , 1723541807895> -----------------------------------------
STACK TRACE
-----------------------------------------
function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

ERROR: General     , 1723541807895> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: HoursToLabor of non-table: null at KahluaThread.tableget line:1689.
ERROR: General     , 1723541807896> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: HoursToLabor of non-table: null
    at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
    at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
    at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
    at zombie.Lua.Event.trigger(Event.java:64)
    at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
    at zombie.gameStates.GameLoadingState.exit(GameLoadingState.java:405)
    at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:105)
    at zombie.GameWindow.logic(GameWindow.java:298)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.GameWindow.frameStep(GameWindow.java:765)
    at zombie.GameWindow.run_ez(GameWindow.java:681)
    at zombie.GameWindow.mainThread(GameWindow.java:495)
    at java.base/java.lang.Thread.run(Unknown Source)
LOG  : General     , 1723541807896> -----------------------------------------
STACK TRACE
-----------------------------------------
function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

It trying to find Hourstolabor in a thing that isn't a table which returns the error. Can u explain when this happened like what did u do?

Posted
4 hours ago, AlexTheMan21 said:

It trying to find Hourstolabor in a thing that isn't a table which returns the error. Can u explain when this happened like what did u do?

When playing version zwbf v 1.1.0, everytime I don't pick the pregnancy trait. From the mod called "Pregnancy" game at the start will give me error with this. Also, when I try to ignore the error and try to get defeated by a zombie, the amount of semen after sex keeps going up and then a bunch of error appear. Now when I try to play and picking the trait at the start the Pregnancy trait, the game doesn't give me any error and the amount of semen after sex is normal and stops like getting 24ml,39ml, 30ml and etc.

Posted
35 minutes ago, Magenta147 said:

When playing version zwbf v 1.1.0, everytime I don't pick the pregnancy trait. From the mod called "Pregnancy" game at the start will give me error with this. Also, when I try to ignore the error and try to get defeated by a zombie, the amount of semen after sex keeps going up and then a bunch of error appear. Now when I try to play and picking the trait at the start the Pregnancy trait, the game doesn't give me any error and the amount of semen after sex is normal and stops like getting 24ml,39ml, 30ml and etc.

So no matter what the error get activated when not having pregnancy trait?

Posted (edited)
7 minutes ago, AlexTheMan21 said:

So no matter what the error get activated when not having pregnancy trait?

Yes, but with older version of it like zwbf v 1.0.5 its fine.

Edited by Magenta147
Posted
10 hours ago, Magenta147 said:

I Tested the zwbf V 1.0.5 it doesn't give me any error while zwbf V 1.1.0 it gives me error.

 

zwbf V 1.1.0 Error:

 

LOG  : General     , 1723541807895> -----------------------------------------
STACK TRACE
-----------------------------------------
function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

ERROR: General     , 1723541807895> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: HoursToLabor of non-table: null at KahluaThread.tableget line:1689.
ERROR: General     , 1723541807896> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: HoursToLabor of non-table: null
    at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
    at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
    at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
    at zombie.Lua.Event.trigger(Event.java:64)
    at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
    at zombie.gameStates.GameLoadingState.exit(GameLoadingState.java:405)
    at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:105)
    at zombie.GameWindow.logic(GameWindow.java:298)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.GameWindow.frameStep(GameWindow.java:765)
    at zombie.GameWindow.run_ez(GameWindow.java:681)
    at zombie.GameWindow.mainThread(GameWindow.java:495)
    at java.base/java.lang.Thread.run(Unknown Source)
LOG  : General     , 1723541807896> -----------------------------------------
STACK TRACE
-----------------------------------------
function: pregnancyProgress -- file: ZWBFPregnancy.lua line # 83 | MOD: ZomboWin Being Female
function: setFertility -- file: ZWBFWomb.lua line # 176 | MOD: ZomboWin Being Female
function: init -- file: ZWBFWomb.lua line # 346 | MOD: ZomboWin Being Female

Can you test with v1.0.6 ?
Strange that error, because nothing was change in terms of pregnancy from 1.0.5  to 1.1.0

Posted
7 minutes ago, Zikhad said:

Can you test with v1.0.6 ?
Strange that error, because nothing was change in terms of pregnancy from 1.0.5  to 1.1.0

Okay tested v1.0.6 no Error, and I can play without picking pregnancy. This is the result in the videozwbf 1.0.6 .rar

 

I also Tested v1.0.5, no Error. There is something in v 1.1.0 where @AlexTheMan21 pointed out the HourstoLabor thing.

Posted
11 hours ago, Magenta147 said:

ZWBFPregnancy.lua line # 83

At this file at that line

11 hours ago, Magenta147 said:

attempted index: HoursToLabor of non-table: null at

It seems to try and index a table but it isn't a table (is it nil?) There was a similar issue in a system in zombowin before cause stuff wasn't checked if they were nil 

Posted (edited)
1 hour ago, Zikhad said:

Can you test with v1.0.6 ?
Strange that error, because nothing was change in terms of pregnancy from 1.0.5  to 1.1.0

return 1 - modData.HoursToLabor / modData.InitialPregnancyDuration

Is the problem in ZWBFPregnancy.lua line # 83

It's a classic error that happened in zombowin before to basically hourstolabor doesn't exist so I recommend checking if it exist, if it doesn't set it with a default value

Cheers

(U could also probably do a or statement with a default value for the return but that's your call)

(Can't put it in code cause I'm on phone ig?)

Edited by AlexTheMan21
Can't set as code
Posted (edited)
13 minutes ago, AlexTheMan21 said:

return 1 - modData.HoursToLabor / modData.InitialPregnancyDuration

Is the problem in ZWBFPregnancy.lua line # 83

It's a classic error that happened in zombowin before to basically hourstolabor doesn't exist so I recommend checking if it exist, if it doesn't set it with a default value

Cheers

(U could also probably do a or statement with a default value for the return but that's your call)

(Can't put it in code cause I'm on phone ig?)

Thanks, no rush man. But still thank you, for continue helping for discord, ZomboWin coding and stuff. So, it was classic error from ZomboWin. Also waiting for @Zikhad the mod author. If he/she has a clue on this in v1.1.0 when not choosing pregnany trait at the start error.

Edited by Magenta147
Posted

@AlexTheMan21 This whole line ZWBFPregnancy.lua am I right?

 

--- Return Pregnancy progress that is calculated by the remaining hours to labor
--- @param modData any
--- @return number
local function pregnancyProgress(modData)
    info()
    return 1 - modData.HoursToLabor / modData.InitialPregnancyDuration
end

Posted
50 minutes ago, Magenta147 said:

@AlexTheMan21 This whole line ZWBFPregnancy.lua am I right?

 

--- Return Pregnancy progress that is calculated by the remaining hours to labor
--- @param modData any
--- @return number
local function pregnancyProgress(modData)
    info()
    return 1 - modData.HoursToLabor / modData.InitialPregnancyDuration
end

Correct I explained why and fixes above but yep that's the function 

Posted (edited)

Hey @Zikhad,
I made you a 3D model for the 'enema bulb'.


This is a first version, it has 706 faces and we have to stay under 3000 faces in zomboid for the game to remain fluid so that means we can still improve it if necessary.

 

You know how to create script files I suppose.
I've never done it and I was inspired by this tutorial:
Indie Stone Forum

 

So I only upload the .fbx file
Tell me if you need anything else.

 

PS: we can't upload files in .fbx format on this forum for security reasons, so I upload it in a compressed .zip file

OBSOLETE

Poire_a_lavement.zip

Edited by blabla012345

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
×
×
  • Create New...