Jump to content

Trying to add a trait based on CAS Parts (specifically Facial and Body Hair.)


Recommended Posts

Hi y'all, 

 

this question is mostly for the fellow mod creators out there. I'm working on my Gay Archetypes mod and I'm trying to find a way to detect whether or not a sim has a beard or body hair and then apply a "Hairy" trait, in order for me to make traits like Otter and Bear more accurate and also that they coincide with Wicked Whims' Attractiveness preferences. Does anybody with experience with XML know if this something I can tune, or does it require python. I've tried looking through WW in Sims 4 Studio and a lot of the attractiveness loots seem to just be empty.

Link to comment

Nevermind ya'll! I finally found a site TDESC site that gave me the exact codint to do this! If anyones interested here's the test snippet i finally got to work.

<V t="caspart_tags_test">

<U n="caspart_tags_test">

<V n="body_type" t="enabled">
<E n="enabled">FACIAL_HAIR</E>
</V>

<E n="participant">Actor</E>

<V n="tags_source" t="from_generic_tags">

<U n="from_generic_tags">

<L n="tags">
<E>FacialHair_Beard</E>
<E>FacialHair_Goatee</E>
</L>

</U>

</V>

 

 

Link to comment

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use