Replies: 3 (Who?), Viewed: 337 times.
Test Subject
Original Poster
#1 Old 9th Aug 2020 at 8:14 AM
Default Options Don't Show Up as Expected (or at All) on My Pie Menu.
OK, so it's probably that I've done something super obviously wrong here, and I'm going to feel like an absolute idiot but I'm at an impasse with the XML here, I don't know what I've done wrong or how to fix it and I can't work it out.

I have a pie menu, that's supposed to have two food interaction options, one for "Homestyle" one for "Gourmet". The homestyle one shows up, but as "..." unless I make my sim inspired, then the inspired variation shows up. So it looks how it should then. This is the code I have for that:

Code:
<T n="_display_name">0x0039AA5F<!--Robin: Create Homestyle Food--></T>
<V n="display_name_overrides" t="testable">
    <U n="testable">
      <L n="overrides">
        <U>
          <V n="new_display_name" t="enabled">
            <T n="enabled">0x0039AA5F<!--Robin: Create Homestyle Food--></T>
          </V>
          <V n="new_display_tooltip" t="enabled">
            <T n="enabled">0x457F512A<!--Being Inspired helps with cooking!--></T>
          </V>
          <L n="test">
            <L>
              <V t="mood">
                <U n="mood">
                  <T n="mood">14641<!--Mood_Inspired--></T>
                </U>
              </V>
            </L>
          </L>
        </U>
        <U>
          <V n="new_display_name" t="enabled">
            <T n="enabled">0x4208921D<!--Cook Grub--></T>
          </V>
          <V n="new_pie_menu_icon" t="enabled">
            <V n="enabled" t="tradition" />
          </V>
          <L n="test">
            <L>
              <V t="buff">
                <U n="buff">
                  <V n="whitelist" t="enabled">
                    <L n="enabled">
                      <T>182293<!--buff_SurpriseHoliday_PirateDay_Autonomy--></T>
                    </L>
                  </V>
                </U>
              </V>
            </L>
          </L>
        </U>
      </L>
    </U>
  </V>

The gourmet option doesn't show up at all. Here's a wee look at what does show up.



Both interactions have the same instance ID as their "category" so I'm not understanding at all why this is so broken. Maybe someone with more knowledge about this does.

This is the objects' super_affordances
Code:
<L n="_super_affordances">
    <T>13328<!--debug_Reset--></T>
    <T>13326<!--debug_ObjectDestroy--></T>
    <T>103888<!--cheat_set_as_head--></T>
    <T>106859<!--simRay_Transform_Object--></T>
    
    
    <T>13933619038080317564<!--Robin: Interaction_CookFood_Gourmet--></T>
    <T>15232122241575563351<!--Robin: Interaction_CookFood_Homestyle--></T>
  </L>


I uploaded the file too in case anyone wants to look at something else in the code.

Thanks so much for reading my ramblings
Download - please read all instructions before downloading any files!
File Type: zip [ ROBIN ] Main Food Object.zip (120.4 KB, 1 downloads)
Advertisement
Test Subject
Original Poster
#2 Old 9th Aug 2020 at 4:55 PM
I solved the issue.
In case anyone else has it in future
Code:
<T n="_display_name">0x0039AA5F<!--Robin: Create Homestyle Food--></T>

should be
Code:
<T n="display_name">0x0039AA5F<!--Robin: Create Homestyle Food--></T>

and I'd messed up the tuning of the gourmet interaction because I'm an ejit.
Code:
<V t="skill_test">
     <U n="skill_test">
        <T n="skill">16705<!--statistic_Skill_AdultMajor_HomestyleCooking--></T>
     </U>
</V>

I put <T n="enabled"> instead
Lab Assistant
#3 Old 9th Aug 2020 at 6:49 PM
Edit: Oh nevermind you got it! I hadn't reloaded the page since I came back I found the same thing with the _ in the name, lol!

Creator Musings is a Sims 4 modder and CC creator hangout server (though everyone is allowed) with a tutorial/resource directory, help channels, and mod/cc/sims 4 news channels!
Twitter | Tumblr | Patreon
Test Subject
Original Poster
#4 Old 9th Aug 2020 at 10:49 PM
Quote:
Originally Posted by MizoreYukii
Edit: Oh nevermind you got it! I hadn't reloaded the page since I came back I found the same thing with the _ in the name, lol!

Sorry if I wasted your time there. Thanks so much for taking a look at it.
Back to top