fix(?) invisible TF lowerbody #19
No reviewers
Labels
No labels
IN TESTING
Priority: HIGH
Priority: LOW
Priority: MEDIUM
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
investigating
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
BorderOfExtacy/BOEPassion!19
Loading…
Reference in a new issue
No description provided.
Delete branch "tidgp/BOEPassion:fix/missing_tf_bottom"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
teen female nude lowerbody is consistently invisible, with either jvsmith's latest meshes or those distributed with latest boepassion.
i have only guesses at what's going on and what the right fix is.
females get lowerbody from
GetNaked->Player.SimJunkBaseCASP->ErectPeen->junk.SimJunkBaseCASPis supposed to be set inDoLoopduring the loop throughcoolbodyshop(from xml).this works if the part has a preset, but fails when the part is present with no preset.
if (simDescription.GetOutfit(OutfitCategories.Naked, 0).GetPartPreset(ResourceKey.FromString(PartBase)) != null)as far as i can tell, the adult and elder parts have a preset, but the teen part does not (for both female & male). i don't know why that is, or why we care about the preset rather than the simple presence of the part (the way the upperbody part handling works).
i could have changed the DoLoop code to check for the part's presence in the outfit rather than for its preset, but because i don't understand that, i take a different route, with the code modified in more recent commits.
i change
PenisInspection.OutfitParseLoop2so that the player is assigned a lowerbody key (SimJunkBaseCASP) earlier in the same way it gets upperbody (nudeTopRK) and shoes (NudeFeetRK) keys. the DoLoop coolbodyshop code will overwrite these values with identical values for adult and elder females. males ignoreSimJunkBaseCASP.males get lowerbody from duplicated code in
SwitchToPeenerreferencingPlayer.SimErectSIMO, which is set both by the same DoLoop coolbodyshop loop, and also by the earlier DoLoopif (Actor.IsMale)block that sets fallback values from tuning. as far as i can tell, adult and elder male lowers have presets, but teen male lower doesn't, so i think it's relying on this fallback block to function.i don't know whether this is tied to which default replacement meshes are installed. this is untested with any others besides jvsmith latest and jvsmith boepassion.
this is untested with strap-ons, condoms, alternate lowerbodys, etc.
b1f25f166btoa120513b9e