Forum Discussion

TriplisTrip's avatar
8 years ago

min_lod_value?

Noticed there's this in traits now: "min_lod_value"

Progression-based hidden traits, such as BeenKissed, seem to be set to FULL

Looks like most others are set to MINIMUM (personality, ghost, gender options, walkstyle, age)

And role-based traits, such as IsNanny have no min_lod_value, which would default them to BASE

Edit: Looks like gameplay and aspiration trait type didn't have any min_lod_value added, so they default to BASE as well

The TDESC reads:



Not sure yet what "base or lower" sims are though.

It's looking like custom traits may need to get a setting for this added to them, but I'm not totally sure.

Will need to test to see if the traits persist without it, unless someone can provide some clearer insight into how this works.

I might find more info as well once I get a look at the python.

35 Replies

  • @Wishonmeh05 Here's a link for download for Introvert working:

    http://simfileshare.net/download/363484/

    So you can use that as a template for a working example to get the other trait working. There were a couple areas I missed, one of which is vital. Still comes back to that same problem of Sims Studio not reading the data file fully, so it ending up missing part of its information.

    One of them was the tags in the Sim Data. It had gutted those, so those needed to be filled out for the trait to show up as a personality trait in the CAS lifestyle section. Pretty sure this is the vital part that was still missing for getting it to show up in CAS.

    It was also missing the icon ID, trait description ID, and had something erroneous in trait origin description. So I filled out icon ID and trait description, and then replaced origin description with a blank 0x00000000 type thing, since it isn't needed.

    I also changed the part at the top that says SimData version and set it to 0x00000101 -- not sure if this part is actually needed or what it does, but I was trying various things at the time (copying from a sample Maxis file) and figured it couldn't hurt. So just so you're aware, that is one of the things I changed.

    Oh and for future reference, that is one of the things I do a lot when I'm lost, is look at working examples, especially from extracted Maxis files. There are some aspects of the code that I recognize and understand pretty easily now, but there's also a lot of just copy/pasting. My general motto is, when in doubt, copy how Maxis does it. :tongue: And if it turns out to be superfluous later, I'd rather that than miss something important.
  • @Triplis Thanks. I'll work on them throughout the week and let you know how it all comes out.
  • @Triplis In case you haven't seen this yet
    https://simsvip.com/2017/11/15/custom-trait-making-trait-compatible-pets/
  • @Wishonmeh05 Thanks for the heads up. I will direct people to that in the future, since it's in way more depth than what I posted on sims studio forums.

About The Sims 4 Mods & Custom Content

Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,625 PostsLatest Activity: 19 hours ago