marinara Posted April 20, 2025 Posted April 20, 2025 3 hours ago, csirke128 said: Hi, The way to add things to CK3 is usually to copy something thats already doing that. So to add new blendshapes, and triggers for them, you need to start with an existing one, and check how they are done. The next thing is to use some search function to find references in other files, I usually use the total commander search in file function to find where things are referenced. So to start out, the body is at: "CBO Unofficial Base\gfx\models\portraits\female_body\female_body.mesh" This file is referenced in "CBO Unofficial Base\gfx\models\portraits\female_body\female_body.asset" pdxmesh = { name = "female_body_mesh" file = "female_body.mesh" In here, you have blendshapes: For example, lets look at hips: blend_shape = { id = "female_bs_body_hips_max" type = "blendshapes/female_bs_body_hips_max.mesh" } blend_shape = { id = "female_bs_body_hips_min" type = "blendshapes/female_bs_body_hips_min.mesh" } You first connect a mesh file to an identifier, then you need to connect that to an attribute: attribute = { name = "bs_body_hips_max" blend_shape = "female_bs_body_hips_max" } attribute = { name = "bs_body_hips_min" blend_shape = "female_bs_body_hips_min" } The attributes are the way the blendshapes are controlled, and these attributes are common between objects, so you have the same bs_body_hips_max in the male body asset file as well, but also the same for clothing, you will see these attributes referenced there. For example: "CBO Unofficial Mesh\gfx\models\portraits\f_clothes\byzantine\nob_01\f_clothing_secular_byzantine_nob_01.asset" attribute = { name = "bs_body_hips_max" blend_shape = "female_clothing_secular_byzantine_nobility_01_bs_hips_max" } attribute = { name = "bs_body_hips_min" blend_shape = "female_clothing_secular_byzantine_nobility_01_bs_hips_min" } The main thing for blendshapes, are that you need to have the same vertex ordering in the file as the main mesh, and you don't need the skeleton, but even if you have the skeleton in the mesh, its not an issue. Then based on the attribute, you can apply the blendshape, 0 value is original mesh, 1 value is the blendshape. And these are additive, so you can have multiple of them take effect. So to control this blendshape, we need genes: "CBO Unofficial Base\common\genes\hips gene.txt" gene_bs_hips = { group = body hips = { index = 0 male = { setting = { attribute = "bs_body_hips_max" curve = { { 0.0 0.0 } { 0.33 0.0 } { 1.0 0.75 } } age = age_preset_puberty } setting = { required_tags = "hips_clothed,dressed" attribute = "bs_body_hips_max" curve = { { 0.0 0.0 } { 0.33 0.0 } { 1.0 -0.15 } } age = age_preset_puberty } setting = { attribute = "bs_body_hips_min" curve = { { 0.0 0.25 } { 0.33 0.0 } { 1.0 0.0 } } age = age_preset_puberty } } female = male boy = male girl = male } } Here, we have a gene, and the gene can have a value between 0 and 1, and these values are then mapped to attributes with these curves. curve = { { 0.0 0.0 } { 0.33 0.0 } { 1.0 0.75 } } So what this tells us, is at gene value 0, apply the blendshape with value 0 at gene value 0.33, apply the blendshape with value 0 at gene value 1.0, apply the blendshape with value 0.75 Inbetween these values, there is a curve fitted, but for simplicity just think of them as linear lines, so at 0.2, it will have a value of 0, but at 0.5, maybe its around 0.2 or smth. So based on the above, you can see that hips_max has no effect between value 0 and 0.33, and hips min has no effect between 0.33 and 1.0 The hips_clothed part is there, so that when a character is wearing clothing, the body is shrunk a bit to prevent clipping. There are 2 types of genes: morph_genes = { gene_bs_hips = { special_genes = { morph_genes = { gene_bs_pregnant = { Normal morph genes are part of the character DNA, you can add them to the file: "CBO Unofficial Base\common\ethnicities\00_ethnicities_templates.txt" ### hips ### gene_bs_hips = { 5 = { name = hips range = { 0.00 0.14 } } 11 = { name = hips range = { 0.14 0.28 } } 13 = { name = hips range = { 0.28 0.42 } } 11 = { name = hips range = { 0.42 0.58 } } 5 = { name = hips range = { 0.58 0.72 } } 2 = { name = hips range = { 0.72 0.86 } } 1 = { name = hips range = { 0.86 1.00 } } } So for random new characters, the game will first roll a dice on the number before the first =, i think maybe its 52 sided or smth, then if its less tahn 5, it picks the first category, then it choses a random value between 0 and 0.14 So it just lets you have a bit more varied distribution, here its ment to be more like a bell curve, the extreme values are less likely then the average values. There are characters with predefined DNA, these are stored at files like: "CBO Unofficial Base\common\dna_data\00_dna.txt" Here, for each character, there is a value set for that gene, I think if you dont set it, it gets a value of 0 or something like that, so I have a script that adds the CBO genes to these files (randomize_dna.py). The other gene type is special genes, these genes cannot be edited in the ruler creator, and they are not part of the character DNA, so the way these are applied is through portrait modifiers. So its not a blendshape, but one example is makeup: makeup_base_customization = { interface_position = 17 usage = customization no_makeup_base = { usage = customization dna_modifiers = { morph = { mode = add gene = makeup_base template = no_makeup_base value = 0 } } } makeup_base_full = { usage = customization dna_modifiers = { morph = { mode = add gene = makeup_base template = makeup_base value = 1.0 } } } makeup_base_half = { usage = customization dna_modifiers = { morph = { mode = add gene = makeup_base template = makeup_base value = 0.5 } } } } This adds a new option in the barbershop, and then you can select between 3 different values, and when selected, it applies the gene with the value there. It gets a bit more complicated with more details, but you will probably just need to mess around with things to understand a bit more how they work, let me know if you need some more info. This is so helpful, thank you so much. I will look into this rn. Thanks for all the work on the mod as well.
CDiet Posted April 20, 2025 Posted April 20, 2025 9 hours ago, csirke128 said: Hi, its probably More Holding Graphics MHG CBO Patch 1.0.zip 2.9 kB · 3 downloads It may have been that, but disabling that alone did not actually fix it. However, disabling Carnalitas Mundi did fix it, as it adds a new court type (Decadent) but no graphic.
drumer Posted April 20, 2025 Posted April 20, 2025 Hello, I've been trying to make the characters bigger in sex events but without success... I've managed to do it in general events, but in sex scenes the characters disappear. Can you help please?
saltandsour Posted April 25, 2025 Posted April 25, 2025 Hi @csirke128 is there any chance of you adding new animations to this mod? or a new setup on how new animations can be added easily into cbo.
txt93 Posted April 26, 2025 Posted April 26, 2025 can you tell me how many animation there on the mod ?
drborsch89 Posted April 26, 2025 Posted April 26, 2025 hello. characters bodies are deformed with some clothing presets
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 On 4/20/2025 at 11:50 PM, drumer said: Hello, I've been trying to make the characters bigger in sex events but without success... I've managed to do it in general events, but in sex scenes the characters disappear. Can you help please? Hi, sorry for the delay, wanst near my PC, will try do it soon.
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 14 hours ago, saltandsour said: Hi @csirke128 is there any chance of you adding new animations to this mod? or a new setup on how new animations can be added easily into cbo. Hi, I dont really have the skills to create new animations (not anything good for sure). My current plans are to import some animations from skyrim, I already tried adding a body mod, and add the skeleton, and load in an animation, but will take some work, like attaching the head correctly, and things like that. So might be a few month until I have something. 1
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 9 hours ago, txt93 said: can you tell me how many animation there on the mod ? Hi, there are around 50, but a lot of them look similar with slight variations. (like 10 kinds of doggy, 6-7 kind of missionary, and so on)
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 3 hours ago, drborsch89 said: hello. characters bodies are deformed with some clothing presets Can you share a load order, and an error.log? The deformation is expected if the mesh is not found, or the textures are not found, the body is deformed to not clip with the clothing, but looks kinda weird when the clothing is not actually present.
drborsch89 Posted April 26, 2025 Posted April 26, 2025 1 hour ago, csirke128 said: Можете ли вы поделиться порядком загрузки и error.log? Деформация ожидаема, если сетка не найдена или текстуры не найдены; тело деформируется, чтобы не прилегать к одежде, но выглядит немного странно, когда одежды на самом деле нет. error.log
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 On 4/20/2025 at 11:50 PM, drumer said: Hello, I've been trying to make the characters bigger in sex events but without success... I've managed to do it in general events, but in sex scenes the characters disappear. Can you help please? Hi, In big events for everyone, the options are on the left, maybe you are using a different mod? Can you share the gui file you are using? (or what mod changes the event window like that)
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 39 minutes ago, drborsch89 said: error.log 1.5 MB · 0 downloads Hi, can you remove #6, #7, #8, #9, #10, #11, #12, #13 and add this after #5: https://mega.nz/file/A88CSRrY#Hp8i1QEApBBQ_jQzp_ts_r1mi27r4_tl9FfSfTitcRE
drborsch89 Posted April 26, 2025 Posted April 26, 2025 55 minutes ago, csirke128 said: Hi, can you remove #6, #7, #8, #9, #10, #11, #12, #13 and add this after #5: https://mega.nz/file/A88CSRrY#Hp8i1QEApBBQ_jQzp_ts_r1mi27r4_tl9FfSfTitcRE it didn't help. i started a new game. everything is the same
csirke128 Posted April 26, 2025 Author Posted April 26, 2025 2 minutes ago, drborsch89 said: it didn't help. i started a new game. everything is the same Ah, sorry, sent the wrong link CFP+EPE CBO Patch 1.2.3.7z (the version says 3.1, but thats actually a really outdated one, I reset version numbering to 1.0 at 1.13.x CK3 version) 1
drborsch89 Posted April 26, 2025 Posted April 26, 2025 1 hour ago, csirke128 said: Ah, sorry, sent the wrong link CFP+EPE CBO Patch 1.2.3.7z (the version says 3.1, but thats actually a really outdated one, I reset version numbering to 1.0 at 1.13.x CK3 version) It helped!!! Thank you very much!
moikomoi Posted April 27, 2025 Posted April 27, 2025 Last time I played with these mods after the latest patch, the game crashed multiple times. What should I do to fix this? error.log error.log
sexsexsexbrosex Posted April 27, 2025 Posted April 27, 2025 Hello, i was just curious as in to, when i downloaded the color picker for statues mod, the statues do not appear on the pedestal, is there an fix for this or is the mod deprecated?
kapakias420 Posted April 28, 2025 Posted April 28, 2025 Hello, so i'm having this trouble when i initiate carnal court, is there something i'm missing?
HYPOs1 Posted April 28, 2025 Posted April 28, 2025 Wasn't there a major update today? Pretty sure all mods are considered borked until confirmed otherwise 2
drborsch89 Posted April 28, 2025 Posted April 28, 2025 After the update all mods broke)) and some from steam. Waiting for the mods update
SofiaPavlovna Posted April 28, 2025 Posted April 28, 2025 My breast slider don't work. Any ideas why? I downloaded version from pixeldrain.
Jaghave Posted April 28, 2025 Posted April 28, 2025 2 minutes ago, SofiaPavlovna said: My breast slider don't work. Any ideas why? I downloaded version from pixeldrain. most likely the new expansion broke the game and needs patching from the mods, I suggest roll back to the last update until everyone has time to update 1
SofiaPavlovna Posted April 28, 2025 Posted April 28, 2025 26 minutes ago, Jaghave said: most likely the new expansion broke the game and needs patching from the mods, I suggest roll back to the last update until everyone has time to update Well, I have some tits now, but they not big as in editor.
byehi Posted April 28, 2025 Posted April 28, 2025 15 minutes ago, SofiaPavlovna said: Well, I have some tits now, but they not big as in editor. breastsize is also determined in part by trait
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now