|
Post by Merry927 on Aug 23, 2016 15:53:22 GMT -5
Hi anska. You’re doing amazing work here. Thanks again. I looked into generating the decimals values to figure out what that was about and went back over your whole tutorial, redoing my packages. I felt I had a good understanding of each step at that point, but, unfortunately, I still do not have an object that can be interacted with so that I can see if the drink will be properly generated. No rush, as I see you have lots to keep you busy already, but if you have a chance would you mind looking at my packages again?
|
|
|
Post by inabadromance on Aug 23, 2016 15:56:48 GMT -5
I'm literally banging my head right now XD. i feel so dumb! I'm having an error trying to save the file and i'm not sure what i'm doing wrong. i'm cloning the same object on your tutorial. i extract the two tunings (object, and single plate of said food). i import the object single fork version on the object tuning. i import the single recipe on the recipe tuning. i rename each of those tunings with custom names. i copy/paste the simdata on the simdata tuning. save.. and i get this error. :(
|
|
|
Post by anska on Aug 23, 2016 16:28:56 GMT -5
inabadromance I am unfortunately useless, when it comes to reading error messages. The SimData always gave me a bad time (and errors) when I tried to actually import one of them instead of just copy&pasting it - and I think you really have to replace/remove the commentary breaks from them too - at least I once had trouble saving when I had left one of them in as well. I do hope this solves the problem. Merry927 when I changed the number in your last package, it worked for me. Are you trying to use the object from inside or outside your sim's inventory? Edit: I just gave the object a try and it is working fine with me. The way the object is constructed, you can only activate it from the sim's inventory and activation from world is not allowed, so you won't get an interaction option if the object is standing somewhere. If you want that to happen, you will have to change the respective line in the piece of code which I quoted for necrodog on the first page.
|
|
|
Post by inabadromance on Aug 23, 2016 17:00:35 GMT -5
anska ooohh!! you're right! it was the simdata giving me issue. I left the copy/pasting until i had to change the numbers of each thingy. :D
|
|
|
Post by Merry927 on Aug 23, 2016 18:04:22 GMT -5
Thank you both for your kind words. necrodog while in my example it is necessary due to the following portion of code, it generally isn't necessary. <T n="allow_from_object_inventory">False</T> <T n="allow_from_sim_inventory">True</T> <T n="allow_from_world">False</T> The banquet table from the Luxury Party Stuff Pack and the fizzy drink tray from the Spa Day Game Pack for example both work in a very similar way as my decorative object, but are both located outside the sim's inventory, won't get destroyed in the process and even generate the the food on specific slots outside the sim's inventory. Both work nicely for adding recipes (custom or otherwise) to the world, but I am not entirely sure if the specific slottypes they use are additions to basegame or whether you can only use them when you own the respective packs. Ah! I did not parse that at all. So sorry. It is working that way in my game now too though. Yay! So I should remove the code shown above from the interaction tuning and then it will work outside of the Sim's inventory? Will the cask still disappear upon creation of the food? That was 570 simolean pint of ale my test Sim just drank! *lol*
|
|
|
Post by Merry927 on Aug 23, 2016 18:21:21 GMT -5
Okay. So that does not work, but, although this is probably not the way to do what I want, I understand that much more about it and will move on to wading through some of the other information you've provided links to here, anska. I so appreciate this. Those other resources don't look as intimidating any more. Thank you again.
|
|
|
Post by anska on Aug 24, 2016 8:29:17 GMT -5
inabadromance , I am glad to hear it worked for you. Merry927 , no you wouldn't just delete it, you would turn the statement from false to true. The line which destroys the object is right above the one which creates the food - or drink in your case - <V t="destroy_object" /> in this case simply removing it should do the trick.
|
|
|
Post by inabadromance on Aug 24, 2016 17:23:54 GMT -5
So.. a little no-update on my part..
i did the group and single serving. And i used your already finished present to test it out in case something wasn't working. The only thing i changed on your box was to replace the tuning id recipe for the group serving.
Once in game, i click on the present and nothing happens :/. I checked on the restaurant catalogue, and i see the picture of my item (it's a new mesh), but when ordered, the waiter hands over the original mesh (the capresse salad). i used the Party options.. so i didn't changed the "If you chose to make a Family size group serving"... because it said family.. or should i change that as well for party versions?
edit: also, i would like to know if you happen to know how to add the tuning part of the candles that birthday cakes have... ?
|
|
|
Post by anska on Aug 24, 2016 17:56:17 GMT -5
I'll start at the bottom: if you look at the object_Food_BowlFork_Multi_Cake, at the bottom in the super affordances, there are several birthday-related tunings listed. I assume adding those, would make candles appear on your cake among other things - but I haven't tried it yet, nor have I looked at those files.
The "if you choose" bit depends on whether your group-serving is for 8 or 4 people. Because the default state of each dish is "empty" it will be set to "untouched" during cooking and the party and the family size serving have different numbers for their untouched states. So if you made an 8 person / party sized serving you really shouldn't have to change anything but the link to the recipe of your group serving - and have the present in your inventory when you click it, otherwise you won't get an interaction option. If you got an interaction option but your sim canceled the interaction, most of the time something isn't linked properly. From what you say about the salad incident in the restaurant, I'd assume that you somewhere accidentaly linked to the salad - more specifically the first time you'd have to enter the Object ID in the recipe of the single serving, since your thumbnail works.
On the whole, it would really help, if I could have a look at your package. When recipes don't work for me, I have usually messed up one of the numbers - and that is something, that is terribly hard to discover without looking at it. If you don't want to link to your package in the forum, you can send me a pn too.
|
|
|
Post by inabadromance on Aug 24, 2016 18:35:38 GMT -5
of course! i was a little pissed that it wasn't working so the only thing i managed to do was writing the post. i was waiting to finish my dinner to post the packages XD here you gothose files don't have the custom mesh, but i can send it to you via pm if you want to have a look at it. the only thing that changes on the packages is the mesh. The present (included above) that i just edited the recipe id, isn't working.. well.. apart of the issue of no menu poping up, it wouldn't let me put on the inventory either. edit: i'm gonna re check everything again on the meantime. edit1: i missed the step of copying the instance from the recipe to the simdata. let's see if that is the issue. edit2: Turns out i was testing the objects on a generic lot so that i could avoid loading my family house (that takes a little to load). that's why i couldn't pick up the present since it wasn't their property XD. that's solved. Now when i clicked to open, i got the single dish and upon placing it gets empty lmao. i think i did the group package horribly wrong. so i'm going to re do that one. edit3: i remade the two packages (and updated the link above) and modified the box to the tuning group serving and upon interaction the queue cancels. Clearly i have no clue what i'm missing XDD here's my notes: SINGLE tooltip 1: AC379C19 tooltip 2: 2CF3215B object ID definition: 169491844 recipe ID: 10508030001565506505 GROUP: tooltip1: 2D587222 tooltip2: 925CF5E8 object ID definition: 95086115 recipe ID: 13487531657967243188 edit1250146351: found it! i missed both obj id on the group's recipe package. now it's working :D I added the extra strings on the affordances to add the candles but that didn't work. the interaction on the pie menu isn't there. edit5: Besides adding the extra strings on the _super_affordances, i also added all "candle" related strings i could find. By doing ctrl+f and writing candle. that didn't work either. -Also i noticed that the food has the little sparkle effect, is there a way to remove that? -so many edits.. at least i'm keeping them on one post XD. i'm so sorry.
|
|
|
Post by anska on Aug 25, 2016 2:18:31 GMT -5
Good morning! Glad to read that you managed to get your item to work afterall. Though I am feeling a little bad now, I had actually debated with myself whether or not to explicitly point out that the object ID of the group serving needs to be added to the recipe too and then decided against it due to typing-lazyness ... The little sparkle effect is caused by the food being of excellent quality. If you look in the object tuning, line 404 of the group serving it says in which way to modify the food if it has really great quality. If you reduce that to a single line (like the entry for the normal state right above) it should remove the sparkle - and you will have to do the same for the single plate too. I can look into the candle thing again in the evening. They are not part of any cake-mesh I found so they will have to be a separate object and it should be possible to add them to a custom cake.
|
|
|
Post by anska on Aug 25, 2016 9:47:44 GMT -5
In the end, it only took a coffee break: Open your package, remove your object tuning (edit: Of your group serving!) and link your cake to object_Food_BowlFork_Multi (the tuning id being 14902). Now in studio's slot editor raise the fx-bone so that it looks as if it would sit right on top of the cake. Z: 0.149051994085312 is the default value for the cakes in game. Save and test in game. It worked nicely for me, the only "problem" being, that the sim who blew out the candles did not autonomously took a piece of cake afterwards and I could have recycled the cake - and the candles might look odd on bundt-cakes as they are rather close to the center.
|
|
|
Post by inabadromance on Aug 26, 2016 5:20:55 GMT -5
i'm super sorry for not replying! i've been running around all through yesterday helping a friend that is traveling abroad. i'm so exhausted i can't even. awwww that's amazing! and super easy XDDD i thought of doing that but i didn't know if you edited something from your files (the ones you import) -Maybe something needs to be changed on the tuning to add the single dish? -Also, about the sparkles.. should i extract the tuning of the 14902, edit the sparkle thingy and do a custom tuning from that? -My dish has a custom plate, i noticed that when it turns to empty, the base game dish appears instead... is there a way to set another "empty".. state? (if that makes sense). i'm gonna edit something and send you a pic of the whole thing edit: so a little update. everything is working perfectly :D i'm so glad! now i need to do another version and the decorative item to spawn it. i'm just going to add a little note here that maybe i'm the only one in the history off cc making that is going to do it but in any case.. when playtesting i noticed that sims wouldn't eat on tables and then i remembered that i use the group serving for both (single and group versions). That messed up the slot behavior on the single version. What's need to be changed on the single version is the slottypeset for "B952DB49E5B7AC57" in the Object catalog. Also, when a single dish is spawned out of the food and left on a table (or wherever) and you click again to "eat" it, it maintains the "eat caprese salad" text.. i'm not sure if i totally missed a step or something.. ?
|
|
|
Post by anska on Aug 26, 2016 13:28:15 GMT -5
No worries, I hope your friend has a safe and pleasant journey.
And thank you for being so considerate, yes, if you desparcle your cake, please do extract the 14902 xml and rename it - I had completly forgotten about the desparkeling. And you certainly can make a different empty plate appear for the empty state. Apparently it does not have to have the same cut-number as the original plate (see the empty plate object in comparison to the full ones) but it never worked for me if it hasn't. I have posted about how to link to a different model a little further up the thread, the note is also linked to in the first post. (I am sorry to be so brief today, but I am in a rush.)
|
|
|
Post by inabadromance on Aug 26, 2016 13:34:43 GMT -5
oh there's no problem anska , i was just doing an edit on my post to write an update lol. it posted just before i saw your comment. i ended up customizing the tuning just for the sparkle. my friend is flying away right now, all is well XD. have a nice day! i'm going to take a look at the link and your suggestion! thanks
|
|