Forum Discussion

tastytourist's avatar
11 years ago

XML: Crafting Progress (or lack thereof) in custom CraftingPhaseStagingSuperInteraction

I'm making a writing notebook (the pen-and-paper kind) based on writing interactions from computers; I had to clone them all since I'm using teen homework animations. Everything's working so far except for one crucial bit: the progress bar/circle for writing books doesn't update while the staging interaction is running, and the crafting process never finishes. Non-craftable writing (love letters, excuse notes) works fine, progress bar and all, so I guess something is wrong with either the recipes or the staging .. but I cannot figure out what the problem is since the statistics and craftables aren't changed =/.

Writing the same books on computers works fine (updates and finishes properly), so it wouldn't be an issue with my game or my sims I think.

Any ideas on what I could be missing? This is pure XML tuning so far; is there anything related to crafting interactions that would need an edited DATA file as well?

I've uploaded the raw XML here, can provide the package as well if that would be helpful.


ETA, a preliminary version (without the crafting stuff, just the object with Practice Writing and other time-based interactions) is available here.

15 Replies

Replies have been turned off for this discussion
  • 13114 is the Book_Homework_Active generic mixer interaction.

    I tried restoring the affordance_to_save to the generic crafting interaction but that didn't fix the save issue. No time at the moment to look into it deeper, and besides it sounds like you might have it working on your copy anyway.
  • Yeah it's no rush =) with the upcoming game pack I'll wait with updating anyway, until I know whether or not there will be a new patch that breaks everything again =P ..
  • I think I got it to work now -- FINALLY -- with the staging cloned from violin_WriteSong_Staging (plus your latest find about adding in the Book_Homework_Active mixer interaction) instead of the computer one. That deals with the progress and updates differently. I only did a quick test but the book progress survived both exiting to the neighbourhood and exiting / reloading the game.

    Phew! Thank you, again =)
  • Excellent! Looking forward to seeing the finished product and what the exact differences are. I enjoy solving problems like this, at least when they interest me, so thanks for coming up with a worthwhile brainteaser :D
  • V2 is available now: http://modthesims.info/download.php?t=545512 -- it also survived the patch it seems (I didn't even see any changes in the original code). Thanks again =)

    I would still love to know why a verbatim copy of 13114 Book_Homework_Active was breaking everything o.O .. I couldn't see anything anywhere in the code that would somehow explicitely refer back to this.

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,950 PostsLatest Activity: 30 days ago