Jump to content

Petite to Plenty - A CBPC Config for Realistic Collisions and Physics


Recommended Posts

Posted (edited)
20 hours ago, Byldozer said:

Hello...I turned off your mod - I wanted to check the difference...but after turning it off, anal stopped working. How to return?

Copy over the entire text file CBPCMasterConfig_Anal.txt to your other mod

and in CBPCollisionConfig_Female.txt you need to make sure to add the anal node to the affected nodes list.  The affected nodes list is at the top of CBPCollisionConfig_Female.txt

and at the bottom of P2P's affected nodes list you'll find:

Spoiler

Anal (NPC L Forearm [LLar],NPC R Forearm [RLar],NPC L RearThigh,NPC R RearThigh,NPC Head [Head],NPC GenitalsScrotum [GenScrot],NPC L Finger02 [LF02],NPC R Finger02 [RF02],@NPC L Finger12 [LF12],NPC R Finger12 [RF12],NPC L Finger22 [LF22],NPC R Finger22 [RF22],NPC L Finger32 [LF32],NPC R Finger32 [RF32],NPC L Finger42 [LF42],NPC R Finger42 [RF42],NPC L Hand [LHnd],NPC R Hand [RHnd],NPC Spine1 [Spn1],NPC Spine2 [Spn2],NPC L Pussy02,NPC R Pussy02,Clitoral1,VaginaB1,NPC L Butt,NPC R Butt,NPC L Thigh [LThg],NPC R Thigh [RThg],L Breast01,R Breast01,L Breast02,R Breast02,L Breast03,R Breast03,NPC Pelvis [Pelv],NPC R RearThigh,NPC L RearThigh,Anal,NPC Belly)

you can just copy that into your other CBPCollisionConfig_Female.txt so that Anal is enabled.

You also need to copy over the Anal collision sphere values:

Spoiler

[Anal]
0,-6.5,-2,2 & 0,-6.1,-2.5,2

you can add that anywhere in CBPCollisionConfig_Female.txt, at the bottom is fine

 

I THINK that's all you need to do!

Edited by xavier0self
Posted
On 4/11/2024 at 6:30 AM, xavier0self said:

Copy over the entire text file CBPCMasterConfig_Anal.txt to your other mod

and in CBPCollisionConfig_Female.txt you need to make sure to add the anal node to the affected nodes list.  The affected nodes list is at the top of CBPCollisionConfig_Female.txt

and at the bottom of P2P's affected nodes list you'll find:

  Reveal hidden contents

Anal (NPC L Forearm [LLar],NPC R Forearm [RLar],NPC L RearThigh,NPC R RearThigh,NPC Head [Head],NPC GenitalsScrotum [GenScrot],NPC L Finger02 [LF02],NPC R Finger02 [RF02],@NPC L Finger12 [LF12],NPC R Finger12 [RF12],NPC L Finger22 [LF22],NPC R Finger22 [RF22],NPC L Finger32 [LF32],NPC R Finger32 [RF32],NPC L Finger42 [LF42],NPC R Finger42 [RF42],NPC L Hand [LHnd],NPC R Hand [RHnd],NPC Spine1 [Spn1],NPC Spine2 [Spn2],NPC L Pussy02,NPC R Pussy02,Clitoral1,VaginaB1,NPC L Butt,NPC R Butt,NPC L Thigh [LThg],NPC R Thigh [RThg],L Breast01,R Breast01,L Breast02,R Breast02,L Breast03,R Breast03,NPC Pelvis [Pelv],NPC R RearThigh,NPC L RearThigh,Anal,NPC Belly)

you can just copy that into your other CBPCollisionConfig_Female.txt so that Anal is enabled.

You also need to copy over the Anal collision sphere values:

  Reveal hidden contents

[Anal]
0,-6.5,-2,2 & 0,-6.1,-2.5,2

you can add that anywhere in CBPCollisionConfig_Female.txt, at the bottom is fine

 

I THINK that's all you need to do!

Thank you very much for your help... And yes... thanks for the mod!

Posted (edited)
19 hours ago, alextraszas said:

I have a much "larger" character and I don't know how or what I should configure so that the collisions fit with his body, could you help me?

Both sexes genital nodes in P2P are fine tuned with each other, and so altering them may just result in worse collision behavior. 

If you want to try anyways though:
To increase male penis size go into CBPCollisionConfig.txt and at the bottom of the file are:

Spoiler

[NPC Genitals01 [Gen01]]
0,-5,0,1.1 & 0,4.5,0,0.9

[NPC Genitals06 [Gen06]] : 0.6
0,4,-0.2,0.6 & 0,-5,-0.2,0.9

you can increase different aspects of the genital size with the different dimensions the values represent.

values represent "x-position,y-position,z-position,sphere size & x-position,y-position,z-position,sphere size"  (they are capsule shapes.  Two spheres connected making a capsule shape)

to increase length only, increase each y-value by 1 or 2 maybe

to increase the girth (but also slightly the length as well), increase the size of the sphere (4th value) by about 1 or maybe 2

you could also increase both

 

That will possibly help, but probably only a bit.

To help vagina open more, go into CBPConfig_vagina.txt and look for:
 

Spoiler

LLabia.collisionMultipler


RLabia.collisionMultipler

increase those values by 1 or 2 as well to help vagina open more.

 

You could also try playing around with the labia collision sphere values found inside CBPCollisionConfig_Female.txt.  Look for:

[NPC L Pussy02]

[NPC R Pussy02]

Modifying the x-position values and increasing the sphere sizes may help open the vagina wider.

 

Everything we've done so far will probably negatively affect the whole collision experience.  The larger penis will interfere with vagina/anus collision.  Increasing the .collisionMultiplier parameter will probably cause vagina twitching during collisions.  And modifying the pussy nodes will probably do both lol

there are other parameters in CBPConfig_vagina.txt that will also help facilitate making the vagina open wider:

-increase LLabia and RLabia .timetick by like 8

-play around with LLabia and RLabia .damping and .stiffness/.stiffness2

-and then REDUCING LLabia and RLabia .collisionPenetration will also increase opening size

-to increase the vagina opening in the other dimension, look for VaginaB.collisionMultipler and increase that as well

 

I hope some of that helps!

Edited by xavier0self
  • 1 month later...
Posted (edited)

I'm not sure if this is a problem associated with your mod, but for some reason certain sliders don't appear in bodyslide for BHUNP 3BBB Advanced, but DO appear for outfits and the like? The last 7 for the outfit are what I'm talking about.


Body:
 image.png.bbabc74ba6a58bdc672c56f64d07372c.png


Outfit:

image.png.fc5d589a438e54d6e6f73424f9e4e141.png

Any idea why this is happening? If not, no worries.

Edited by kmwalker
Posted
19 hours ago, kmwalker said:

I'm not sure if this is a problem associated with your mod, but for some reason certain sliders don't appear in bodyslide for BHUNP 3BBB Advanced, but DO appear for outfits and the like? The last 7 for the outfit are what I'm talking about.


Body:
 image.png.bbabc74ba6a58bdc672c56f64d07372c.png


Outfit:

image.png.fc5d589a438e54d6e6f73424f9e4e141.png

Any idea why this is happening? If not, no worries.

Hey!

I have encountered this oddity you're showing me.  But P2P should NOT have anything to do with it lol

Nor should the preset I provide

 

It's very possible, that the version of the body you are selecting just doesn't have those sliders!

Those particular sliders that are missing are fairly newish sliders (kinda)

and so you may need to select a V3 or V4 BHUNP body in Bodyslide!

Let me know!

 

Posted
On 5/29/2024 at 7:20 PM, xavier0self said:

Hey!

I have encountered this oddity you're showing me.  But P2P should NOT have anything to do with it lol

Nor should the preset I provide

 

It's very possible, that the version of the body you are selecting just doesn't have those sliders!

Those particular sliders that are missing are fairly newish sliders (kinda)

and so you may need to select a V3 or V4 BHUNP body in Bodyslide!

Let me know!

 

Ah I see now. I assumed the multiple versions were reference files similar to the "ref" file above. I should've looked a little closer. Cheers mate!

Posted
8 hours ago, kmwalker said:

Ah I see now. I assumed the multiple versions were reference files similar to the "ref" file above. I should've looked a little closer. Cheers mate!

 

No worries!  Glad to help!

  • 2 weeks later...
Posted

I have a question about morphs and weight. the settings refer to scaling itself with the weight. that's why it needs two numbers but what about morphs itself? changes in the body that does not touch the weight slider and instead changes a certain part of the body. most body changing mods do this. Do you happen to know if these settings can scale with morphs and how to do that?

 

For the record, I have tested a few other mods that modify certain morph sliders listed in bodyslide and no, morph changes do not affect the CBPC settings, they just stay at their respective sizes.

Posted
3 hours ago, mcnv said:

For the record, I have tested a few other mods that modify certain morph sliders listed in bodyslide and no, morph changes do not affect the CBPC settings, they just stay at their respective sizes.

You are correct!  I probably have some info on my mod page saying otherwise, but I'm wrong lol.  When you morph the body shape using sliders, in Bodyslide or Racemenu, the CBPC spheres will not scale with the morphs.  The only way to affect CBPC sphere positions and sizes is through the txt configs.

 

 

3 hours ago, mcnv said:

I have a question about morphs and weight. the settings refer to scaling itself with the weight. that's why it needs two numbers but what about morphs itself? changes in the body that does not touch the weight slider and instead changes a certain part of the body. most body changing mods do this. Do you happen to know if these settings can scale with morphs and how to do that?

So i'm just not really understanding the question on this one, but not ur fault!  If you could please try re-explaining, I feel I could definitely provide you with some insight!

Are you asking about Bodyslide presets?

Posted
15 hours ago, xavier0self said:

So i'm just not really understanding the question on this one, but not ur fault!  If you could please try re-explaining, I feel I could definitely provide you with some insight!

Are you asking about Bodyslide presets?

So in bodyslide, there's this weight slider, which transitions between two setups of smaller sliders, lets call then bodypart sliders. Bodyslide makes you set what the boy would look like in weight 0 by setting the bodypart sliders to certain value, and another set of bodypart sliders to set what weight 100 would look like.

 

certain other mods purport to be able to modify the player's body by scaling the bodypart sliders rather then the weight itself. example: Winterweight 

"Ability to fully customise what sliders are used and how far, even inputting entirely new sliders. This also means Winterweight will work for any body mod that has sliders you can see in BodySlide, you're in control of what sliders Winterweight uses."

rather than using the big Weight slider.

 

I have tried to find mods that changes the player's weight slider rather than "morphing" the individual bodypart sliders. Only one so far manages to do that but it's a bit hacky (child of Lilith, by "transformation").

 

I tested weather cbpc settings I have would scale with the bodypart sliders that other mods use to modify the player's body, they don't. they only scale with the weight slider.

 

I'm asking you who is more knowledgeable about the cbpc configs weather there is a way to get them to morpth with the bodypart sliders rather than just the weight slider. 

Posted (edited)
17 hours ago, mcnv said:

So in bodyslide, there's this weight slider, which transitions between two setups of smaller sliders, lets call then bodypart sliders. Bodyslide makes you set what the boy would look like in weight 0 by setting the bodypart sliders to certain value, and another set of bodypart sliders to set what weight 100 would look like.

 

certain other mods purport to be able to modify the player's body by scaling the bodypart sliders rather then the weight itself. example: Winterweight 

"Ability to fully customise what sliders are used and how far, even inputting entirely new sliders. This also means Winterweight will work for any body mod that has sliders you can see in BodySlide, you're in control of what sliders Winterweight uses."

rather than using the big Weight slider.

 

I have tried to find mods that changes the player's weight slider rather than "morphing" the individual bodypart sliders. Only one so far manages to do that but it's a bit hacky (child of Lilith, by "transformation").

 

I tested weather cbpc settings I have would scale with the bodypart sliders that other mods use to modify the player's body, they don't. they only scale with the weight slider.

 

I'm asking you who is more knowledgeable about the cbpc configs weather there is a way to get them to morpth with the bodypart sliders rather than just the weight slider. 

oh okay i get where you're coming from.

so, the reason you can't alter an NPC's weight, is because their weight is baked into their FaceGenData .nif

the only reason I think that is the case, is because when you make a follower and you want to change their weight, you also have to re-export their Actor FaceGenData and redo all that stuff with NifMerge and its a huge pain in the ass lol

So altering an NPC's weight would require altering their plugin data and re-exporting FaceGenData

 

Shizof would be the most knowledgeable as the creator of CBPC

Though honestly, it may not be possible to scale collision sphere sizes with sliders, rather than weight.

Like, I'm assuming CBPC only knows to check weight to determine the sphere's scale. 

Now, say you wanted to introduce sliders for CBPC to morph along with, CBPC would have to check each slider's values (at each weight), and you'd probably need a pair of spheres for each slider, and that system would probably replace the weight-based system entirely. 

 

The spheres (as they are now) are attached to "bones/nodes" associated with the body 's .nif file and maybe skeleton (but, not sliders) . 

The bones are what are affected by CBPC, and the bones are dictated by the body (BHUNP and 3BA both utilize the 3BBB bone system, which is what CBPC is adding physics to)

 

All the specific slider's morph data is actually found in the .tri files (I think) which are built when you select the "Build Morphs" option in Bodyslide (so the slider morphs and the weight morph data probably aren't the same to begin with)

 

You COULD probably introduce all these sliders and have CBPC read data from the .tri files, but you would also have to come up with sphere values for each slider!  and there's a lot of sliders lol

and then, i'm not sure how the spheres would rotate and move with the body as the body moves. So you would have to associate sliders with "bones/nodes"  (and create a bunch of "bones/nodes" to correspond with each slider) so that the slider's spheres would somehow be attached to the body.   and then, you kinda have to imagine trying to match the shape of the entire body and each part a slider controls, by using ONLY a sphere or a "pill-shaped" object. that's it.  That's the precision you get to work with lol

 

and honestly, its starting to get fairly complicated and become a brutal amount of work to incorporate 

AND, that's not even taking into consideration you actually have to tune ALL THOSE COLLISIONS AFTER lololol 

and i think you'd even need a new custom body (and possibly skeleton) to have something for all those new nodes to affect, kinda like what 92BBB Physics BHUNP and CBBE 3BA has to do to utilize all their new bones with their custom SMP setup

 

That would be AMAZING though!  Because then CBPC spheres would ACTUALLY scale to ALL presets!  Even using OBody/Autobody! 

What a glorious world that would be :D

Edited by xavier0self
Posted
On 6/13/2024 at 10:06 PM, xavier0self said:

oh okay i get where you're coming from.

so, the reason you can't alter an NPC's weight, is because their weight is baked into their FaceGenData .nif

the only reason I think that is the case, is because when you make a follower and you want to change their weight, you also have to re-export their Actor FaceGenData and redo all that stuff with NifMerge and its a huge pain in the ass lol

So altering an NPC's weight would require altering their plugin data and re-exporting FaceGenData

 

Shizof would be the most knowledgeable as the creator of CBPC

Though honestly, it may not be possible to scale collision sphere sizes with sliders, rather than weight.

Like, I'm assuming CBPC only knows to check weight to determine the sphere's scale. 

Now, say you wanted to introduce sliders for CBPC to morph along with, CBPC would have to check each slider's values (at each weight), and you'd probably need a pair of spheres for each slider, and that system would probably replace the weight-based system entirely. 

 

The spheres (as they are now) are attached to "bones/nodes" associated with the body 's .nif file and maybe skeleton (but, not sliders) . 

The bones are what are affected by CBPC, and the bones are dictated by the body (BHUNP and 3BA both utilize the 3BBB bone system, which is what CBPC is adding physics to)

 

All the specific slider's morph data is actually found in the .tri files (I think) which are built when you select the "Build Morphs" option in Bodyslide (so the slider morphs and the weight morph data probably aren't the same to begin with)

 

You COULD probably introduce all these sliders and have CBPC read data from the .tri files, but you would also have to come up with sphere values for each slider!  and there's a lot of sliders lol

and then, i'm not sure how the spheres would rotate and move with the body as the body moves. So you would have to associate sliders with "bones/nodes"  (and create a bunch of "bones/nodes" to correspond with each slider) so that the slider's spheres would somehow be attached to the body.   and then, you kinda have to imagine trying to match the shape of the entire body and each part a slider controls, by using ONLY a sphere or a "pill-shaped" object. that's it.  That's the precision you get to work with lol

 

and honestly, its starting to get fairly complicated and become a brutal amount of work to incorporate 

AND, that's not even taking into consideration you actually have to tune ALL THOSE COLLISIONS AFTER lololol 

and i think you'd even need a new custom body (and possibly skeleton) to have something for all those new nodes to affect, kinda like what 92BBB Physics BHUNP and CBBE 3BA has to do to utilize all their new bones with their custom SMP setup

 

That would be AMAZING though!  Because then CBPC spheres would ACTUALLY scale to ALL presets!  Even using OBody/Autobody! 

What a glorious world that would be :D

Thanks. That was informative. I didn't think it would be simple, otherwise someone would've done it.

Posted
On 6/16/2024 at 5:39 PM, mcnv said:

Thanks. That was informative. I didn't think it would be simple, otherwise someone would've done it.

I was mostly brainstorming just to try and understand for myself! haha

 

I can understand why Weight was chosen to scale CBPC spheres (from a programmer's perspective), simply because its easier lol

  • 3 weeks later...
Posted

Hello, I'm sorry, but I don't know where to report this issue. Some problems with anus collisions in animations. In Anub, collisions work in a strange way, as if the anus is opening inward. But Billyy’s, on the contrary, open too much. Has anyone encountered this?

  • 3 weeks later...
Posted (edited)
On 3/30/2024 at 12:35 AM, xavier0self said:

 

So SMP will always take precedence over CBPC body parts, IF the SMP body part is enabled in the 3bbb-amazing.xml

So you definitely can keep CBPC genital collisions and SMP everything else.  The idea is to enable all the nodes that aren't genitals in 3bbb-amazing.xml and then comment out all genital nodes to disable them, making CBPC take over. 

When I open the .xml with Notepad++, the commented-out sections are colored with green font, and they have <!-- {text} --!> at the beginning and end of the commented-out sections.  

Additionally, within SKSE\Plugins\hdtSkinnedMeshConfigs you'll want to rename/delete/move into a folder any .xml relating to genitals, male genitals, penises, etc..

if you only disabled female SMP genitals, males would still have SMP genitals and wouldn't collide with CBPC female genitals.  You need both sexes to have matching physics setups.

 

And you certainly can switch between the two setups fully within the game!  So, you want to install 3BA with ONLY SMP.  Then within the game, find the 3BBB MCM (start, mod configuration menu), and look for an option to toggle physics on and off.  You can set a hotkey, and then you can toggle between SMP and CBPC live!

All that its doing is removing the SMP "armor" from your character (the SMP body you build in bodyslide!) and then putting it back on when you "enable" SMP

since CBPC is always on, but SMP overwrites it, you have a fully SMP setup reverting to a CBPC setup at the stroke of a key :)

you could actually reconfigure the full SMP 3bbb-amazing.xml to disable the genital nodes like was described above, and then you can switch between SMP and CBPC but there will ALWAYS BE CBPC genital collision!

 

 

 

Just to clarify - if I select SMP for everything other than the vagina (and no anal collisions) in the 3BA installer, I then have to remove the boner, malegenitals, and penis .xml files in ..\hdtSkinnedMeshConfigs? Is that correct?

 

Also, I'm not sure I fully understand how this interacts with physics-enabled versions of male bodies. For instance, HIMBO bodies can be built with SMP, CBPC, or no physics. If I build the HIMBO body with CBPC, will it ignore the 3BA SMP configs and use your CBPC configs? But then I assume the male body would lose its ability to collide with other parts of the female body. So I'm guessing the ideal path would still be to build the male body with SMP and just disable the genital nodes in 3BA's SMP config?

Edited by noctred
  • 2 months later...
  • 2 months later...
Posted

Hi, dumb question but what's the difference between CBPCollisionConfig and CBPCollisionConfig_Female? For example if in the first one belly bulge is set to 0 does that mean that it won't work no matter what it's set to in the _Female version?

  • 5 months later...
Posted
On 1/13/2024 at 8:33 PM, painting897 said:

I then did more research and found that the cbpc v1.5 changelog said that the keyword had been added.

I was assured that it was a usable feature, so I actually tried it as you suggested and it worked.

 

This is really easy and convenient! (lol)

 

Thanks for your kindness!
It helped me a lot!

Sorry to necro but could you go over how you did this or just upload the file you did it on? I'm having some issues with it.

  • 2 months later...
Posted

Hi, is there any way to disable only the changes made to vagina collision by this? Im using CBPC anus support which has a MCM to edit collision in game which doesn't seem to work with this mod enabled. The reason I'm asking is that i really like the other changes by you but Im so used to using that MCM and would like to keep doing so. 

  • 2 months later...
Posted (edited)

I figured out how to fix the belly bulge jitter that I was having with very large penetrations:

Add this line to CBPMasterConfig3BA.txt: (or any CBPMasterConfig*.txt file)
 

HDT Belly=HDTBelly=IsFemale()

 

Add these lines to CBPConfig_belly.txt: (or any CBPConfig_*.txt file)
 

HDTBelly.collisionXmaxoffset 0.0
HDTBelly.collisionXminoffset 0.0
HDTBelly.collisionYmaxoffset 0.0
HDTBelly.collisionYminoffset 0.0
HDTBelly.collisionZmaxoffset 0.0
HDTBelly.collisionZminoffset 0.0

 

Now the bulge is looking smooth again.

Edited by eldr3d

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...