|
Post by danisimsbr on Feb 12, 2022 15:16:24 GMT -5
I'm working on a custom food recipe, and it has a custom plate. While the Sim is eating, it works just fine. The problem is that when they finish eating, the empty plate becomes the game bowl. Is there a way to replace this for my custom plate? I could override the game's debug bowl, but it would change for all recipes. I wanted to replace for this recipe only. Is it possible? Thanks.
|
|
|
Post by MizoreYukii on Feb 14, 2022 14:44:00 GMT -5
It's in the object tuning of your custom plate. Scroll down and look for a line called 15108<!--Consumable_Empty--> and it should mention something along the lines of "set_to_custom_model".
Looks like this:
<U> <T n="key">15108<!--CommodityBasedObjectStateValue: Consumable_Empty--></T> <U n="value"> <V n="awareness" t="apply_new_value"> <V n="apply_new_value" t="no_awareness" /> </V> <V n="model" t="apply_new_value"> <V n="apply_new_value" t="set_to_custom_model"> <U n="set_to_custom_model"> <V n="model" t="from_definition"> <U n="from_definition"> <T n="definition">7170</T> </U> </V> </U> </V> </V> </U> </U> You need to convert the Object Definition instance of your custom plate from hexadecimal to decimal, then replace the reference there.
|
|
|
Post by danisimsbr on Feb 16, 2022 16:32:06 GMT -5
It's in the object tuning of your custom plate. Scroll down and look for a line called 15108<!--Consumable_Empty--> and it should mention something along the lines of "set_to_custom_model". Looks like this: <U> <T n="key">15108<!--CommodityBasedObjectStateValue: Consumable_Empty--></T> <U n="value"> <V n="awareness" t="apply_new_value"> <V n="apply_new_value" t="no_awareness" /> </V> <V n="model" t="apply_new_value"> <V n="apply_new_value" t="set_to_custom_model"> <U n="set_to_custom_model"> <V n="model" t="from_definition"> <U n="from_definition"> <T n="definition">7170</T> </U> </V> </U> </V> </V> </U> </U> You need to convert the Object Definition instance of your custom plate from hexadecimal to decimal, then replace the reference there. Oh, thank you so much! I had found this line, but instead of getting an empty bowl, I was getting a "half eaten" food plate when they finished eating. So I have to change the instance. I'll give it a try. Thanks
|
|
|
Post by ndscreate on Oct 3, 2022 11:26:34 GMT -5
It's in the object tuning of your custom plate. Scroll down and look for a line called 15108<!--Consumable_Empty--> and it should mention something along the lines of "set_to_custom_model". Looks like this: <U> <T n="key">15108<!--CommodityBasedObjectStateValue: Consumable_Empty--></T> <U n="value"> <V n="awareness" t="apply_new_value"> <V n="apply_new_value" t="no_awareness" /> </V> <V n="model" t="apply_new_value"> <V n="apply_new_value" t="set_to_custom_model"> <U n="set_to_custom_model"> <V n="model" t="from_definition"> <U n="from_definition"> <T n="definition">7170</T> </U> </V> </U> </V> </V> </U> </U> You need to convert the Object Definition instance of your custom plate from hexadecimal to decimal, then replace the reference there. MizoreYukii could you please help me? I'm trying to follow this tutorial but it didn't work. The object definition instance is A0A22C495AD03DBB. I put it into hexadecinal and got 11574862685863427515 as decimal number. Do I only replace it on the recipe tuning? I couldn't find: apply_new_value" t="set_to_custom_model". I only found "Consumable_Empty" and when I replace the number, the recipe stops working. Do I also have to replace the object definition instance with 11574862685863427515? Whenever I try the studio considers this an error. If you can help me this is the last thing I need to know before making a custom soup pack. I never knew how to replace the plate or the bowl. Like on this case. The pink bowl didn't work when I tried to replace. Files on google drive.
|
|
|
Post by MizoreYukii on Oct 3, 2022 19:25:42 GMT -5
It's in the object tuning of your custom plate. Scroll down and look for a line called 15108<!--Consumable_Empty--> and it should mention something along the lines of "set_to_custom_model". Looks like this: <U> <T n="key">15108<!--CommodityBasedObjectStateValue: Consumable_Empty--></T> <U n="value"> <V n="awareness" t="apply_new_value"> <V n="apply_new_value" t="no_awareness" /> </V> <V n="model" t="apply_new_value"> <V n="apply_new_value" t="set_to_custom_model"> <U n="set_to_custom_model"> <V n="model" t="from_definition"> <U n="from_definition"> <T n="definition">7170</T> </U> </V> </U> </V> </V> </U> </U> You need to convert the Object Definition instance of your custom plate from hexadecimal to decimal, then replace the reference there. MizoreYukii could you please help me? I'm trying to follow this tutorial but it didn't work. The object definition instance is A0A22C495AD03DBB. I put it into hexadecinal and got 11574862685863427515 as decimal number. Do I only replace it on the recipe tuning? I couldn't find: apply_new_value" t="set_to_custom_model". I only found "Consumable_Empty" and when I replace the number, the recipe stops working. Do I also have to replace the object definition instance with 11574862685863427515? Whenever I try the studio considers this an error. If you can help me this is the last thing I need to know before making a custom soup pack. I never knew how to replace the plate or the bowl. Like on this case. The pink bowl didn't work when I tried to replace. Files on google drive. The section you need to edit is at line 605 in the object tuning, you only replace it in the object tuning, and no you don't replace the Object Definition's instance. Replace 7148 with the 11574862685863427515. Also make sure you clone the object tuning, you can't leave it as is or it will override the EA object, tutorial here. When done cloning, reference the new object tuning in the Object Definition of the food. <U>
<T n="key">15108<!--Consumable_Empty--></T>
<U n="value">
<V n="awareness" t="apply_new_value">
<V n="apply_new_value" t="no_awareness" />
</V>
<V n="model" t="apply_new_value">
<V n="apply_new_value" t="set_to_custom_model">
<U n="set_to_custom_model">
<V n="model" t="from_definition">
<U n="from_definition">
<T n="definition">7148<!--foodBowlGen_01_prop (Tigela Vazia|F)--></T>
</U>
</V>
</U>
</V>
</V>
</U>
</U>
|
|