Post by silvermane on Sept 9, 2020 15:26:23 GMT -5
I know my way around recoloring items but until now I've never tried to make a tuning mod. And I'm already failing magnificently. What I thought to be fairly simple turns out to be HELL. I've been -for a long time now- trying and tinkering with the tuning of a Batuu Market Stand clone to make it sell ramen instead of milk. But the market stand ingame keeps on selling only cooking ingredients for some reason. Does anyone have any tips? I can't find much about custom foodstalls on the internet either.
Last Edit: Sept 9, 2020 15:28:01 GMT -5 by silvermane
Post by MizoreYukii on Sept 9, 2020 18:00:43 GMT -5
The way the stand works is weird (and kinda lazy). Do you want to override the stand or make a clone? From the way you worded it, you seem to want to override so I'll just focus on that. So the files you want to edit are actually:
Thank you very much for your reply! But I do want to make a clone actually, an entirely new stall. Is that also possible?
Yup! So what you'll want to do is clone the stall, edit the mesh, etc. as usual. I recommend one swatch to keep things simple.
Then import the object tuning of the stall, make it custom (following this tutorial) and add the tuning ID and tuning name to your Object Definition.
Import e882d22f!00000000!000000000002083d.marketStalls_Open.interaction.xml and make it custom
Import e882d22f!00000000!0000000000022928.marketStalls_ReOpen.interaction.xml and make it custom (no idea why there is two).
Replace the original Open/ReOpen files in the object tuning super affordances list with your new ones.
Import e882d22f!00000016!000000000003a1f0.marketStalls_Tend_Batuu_MilkStand.interaction.xml and make it custom. Replace the reference of the old one in both of the Open/ReOpen files with yours. Also, go to your object definition file. Copy the instance of it, go to Tools > Hash Generator popup and paste at the top where it says Hexadecimal under Converter. Copy the Decimal it automatically turns into. Now in the same spot as where you just changed the Tend interaction there is a Test for Actual Object and there's an unlabeled number. Replace that number with yours. (Hopefully I didn't lose you here.)
Now import the files I mentioned earlier, make those custom as well, and inside your Tend interaction replace the references to the custom interactions you just made. Your last step is to replace the recipes in those new custom interactions.
Post by silvermane on Sept 9, 2020 21:26:26 GMT -5
Again, thank you so much for trying to help me. I tried to follow as good as I could and I thought I did everything right. But obviously not since my game crashes everytime I go from the neighbourhood screen to play mode. And I have absolutely no idea where I went wrong. I made all the tunings custom, replaced the references and did the Actual Object thingy. It's a mystery.
Post by MizoreYukii on Sept 9, 2020 22:04:44 GMT -5
That's weird, it shouldn't be causing a crash. Is there anything else you edited besides what I listed? Also, are these custom recipes or recipes in the game, or another creator's recipes? If they are custom make sure the SimDatas are matching their recipes (both the info listed + instances), everything is correct and in order. Those can definitely cause a crash if not edited properly.
I don't actually, I just tracked the pathway with File Finder and read the files. xD It becomes easier to figure this stuff out once you've been doing it for a while, lol.
Post by silvermane on Sept 10, 2020 11:00:47 GMT -5
Okay, so I tried from scratch again, followed your instructions more carefully than before and my game doesn't crash anymore. I can place the custom stall in the world, but I still got the same issue as I've been trying to get rid off. When I click on the stall, it doesn't sell meals or drinks of any kind, not even the batuu milk. The custom stall acts as a vegetable market stall. It's the same if for example I clone the City Living Japanese foodstall, my custom clone in-game will act as a vegetable market stall, and I have no idea why or how.
If you are having problems seeing the CAPTCHA, please clear your browser's cache and cookies and ensure that you do not have any browser addons or extensions that interfere with the display of the CAPTCHA. Then, close the CAPTCHA window and click on the register button to open the CAPTCHA again.