Resolved No child it's been 3 years since I married

正在查看此主题的用户

There is a hidden stat in the game for every hero, fertility and it's a bool. In my game i never had children in more than 7 years of game while my friend during the same period had his wife pregnant 9 times. So i checked with the console and my wife isn't fertile ...

It's not a bug. If you do not get children, change wife. Well i know you can't, so wait for my quest to heal sterility :p

Interesting!!! Where is this value stored and how did you read it? What's the attribute named?
 
It's in the Hero class (`TaleWorlds.CampaignSystem.Hero`) the attribute is a bool `IsFertile`

How to read it ... Well i don't know if you can access it from the console but it's pretty easy if you are a modder.
 
Wait, so you mean it's static? The savegame state can't override what the hero has for values in the dll (in vanilla)? I just figured it'd be a thing in the .sav file and not in the classes.
Gonna install Visual Studio and take a look.

Edit: Forgot to say Thank you! for the quick reply
 
Wait, so you mean it's static? The savegame state can't override what the hero has for values in the dll (in vanilla)? I just figured it'd be a thing in the .sav file and not in the classes.
Gonna install Visual Studio and take a look.

Edit: Forgot to say Thank you! for the quick reply
No I totally misunderstood you, it's all just classfiles no values stored in the gamefiles. Where are you reading the values from, your .sav file? How are you doing that?
 
Also you said: "So i checked with the console and my wife isn't fertile ... " what did you mean by that when at the same time you wrote "Well i don't know if you can access it from the console". I'm confused.
 
Sorry i wrote console but it was Visual Studio's console. Not the game console. I don't know how you can check or even use the game's console (It do not really work for me)
And sorry for the late reply, i forgot to set this topic as "watched" so i did not received notices.

So basically to make it clear. In the game, you have an Class that is called `Hero`. Every hero in the game is an object of this class. In the class you have many variables that define each hero, like his name and everything. In those variables you have a few related to children and pregnancy, one of them is `isFertile`, it can be set to true or false and it's set at the hero/character creation. So basically in your save there should be somewhere this variable stating what the value is. But you are asking something above my capacity as how the game stores values is a bit complicated.

I personally think it's way much easier to make a simple mod, turn this true than start editing your save.
 
Sorry i wrote console but it was Visual Studio's console. Not the game console. I don't know how you can check or even use the game's console (It do not really work for me)
And sorry for the late reply, i forgot to set this topic as "watched" so i did not received notices.

So basically to make it clear. In the game, you have an Class that is called `Hero`. Every hero in the game is an object of this class. In the class you have many variables that define each hero, like his name and everything. In those variables you have a few related to children and pregnancy, one of them is `isFertile`, it can be set to true or false and it's set at the hero/character creation. So basically in your save there should be somewhere this variable stating what the value is. But you are asking something above my capacity as how the game stores values is a bit complicated.

I personally think it's way much easier to make a simple mod, turn this true than start editing your save.
Thank you so much for your reply!
 
Hello, sorry for the late reply. We have fixed a considerable amount of the problems we have encountered so far and improved the game performance with the multiple patches we have released. Please make sure that your game, your drivers, and OS are up to date and the game has necessary permissions over your security software. Please let us know if the problem persists after completing these steps and verifying the integrity of the game files through Steam.
 
Hi, I will mark the issue as resolved. If you encounter the same one in the latest version, please let me know. Thanks!
 
后退
顶部 底部