Forum Announcement, Click Here to Read More From EA_Cade.

min_lod_value?

2...Next

Comments

  • Wishonmeh05Wishonmeh05 Posts: 637 Member
    Not showing in CAS and yes, it was working prior
  • TriplisTriplis Posts: 3,048 Member
    @Wishonmeh05 Ok, so I went and hunted it down and took a look at the DATA file for the trait before being opened in sims studio. Had a hunch sims studio may have read it wonky. I think DATA files that were generated by a special program, like one of Zerbu's earlier tools, may have issues with reading properly in sims studio. They can be read properly with velocitygrass's data tool, but his tool won't read the new ui_category part and he's awol, so.... :/

    It gets complicated fast.

    So anyway, you'll need to manually add back in the display_name, which is missing from the Sim Data in the version you posted. Which is 0x554F53CB

    And you'll need to add in ages code, which also got neutered when read by sims studio. Looks like the creator was just doing all ages, so that'd be the following in the sim data:
          <L name="ages">
            <T type="Int64">8</T>
            <T type="Int64">32</T>
            <T type="Int64">1</T>
            <T type="Int64">4</T>
            <T type="Int64">2</T>
            <T type="Int64">64</T>
            <T type="Int64">16</T>
          </L>
    

    Replacing:
    <L name="ages" />
    

    And in the Trait Tuning, you'll want to change UNUSED_FLAG to TODDLER

    Unless you don't want toddlers to be able to have the trait, in which case, delete that part. And in the ages Sim Data, delete <T type="Int64">4</T>
    Mods moved from MTS, now hosted at: https://triplis.github.io
  • Wishonmeh05Wishonmeh05 Posts: 637 Member
    @Triplis Sorry to be such a pain.....I did everything you mentioned above and it is still not showing in CAS. Not sure what else to do.
  • TriplisTriplis Posts: 3,048 Member
    @Wishonmeh05 Could you upload your package file somewhere and give me a link? :) I'll take a look and see if I can figure out what's going wrong.
    Mods moved from MTS, now hosted at: https://triplis.github.io
  • Wishonmeh05Wishonmeh05 Posts: 637 Member
    @Triplis Here are 2 traits that I completely fixed (supposedly): Introvert and Girly
    https://1drv.ms/f/s!AnQRpEJJEtVCh3OS6GPC9AekWCtD
  • TriplisTriplis Posts: 3,048 Member
    @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.
    Mods moved from MTS, now hosted at: https://triplis.github.io
  • Wishonmeh05Wishonmeh05 Posts: 637 Member
    @Triplis Thanks. I'll work on them throughout the week and let you know how it all comes out.
  • TriplisTriplis Posts: 3,048 Member
    @Wishonmeh05 Sounds good. Best of luck to you. :)
    Mods moved from MTS, now hosted at: https://triplis.github.io
  • TriplisTriplis Posts: 3,048 Member
    @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.
    Mods moved from MTS, now hosted at: https://triplis.github.io

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file
Return to top