|
Post by silvermane on Sept 9, 2020 15:26:23 GMT -5
Hey everyone,
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.
Greetings, Lukas
|
|
|
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:
- e882d22f!00000016!000000000003a1ed.marketStalls_PushOrderDrink_Autonomous_Batuu_MilkStand.interaction.xml
- e882d22f!00000016!000000000003a1ee.marketStalls_PushOrderFood_Autonomous_Batuu_MilkStand.interaction.xml
- e882d22f!00000016!000000000003c18f.marketStalls_PushOrderDrink_Batuu_MilkStand_Simoleons.interaction.xml
- e882d22f!00000016!000000000003a1eb.marketStalls_PushOrderDrink_Batuu_MilkStand.interaction.xml
These all have references and allow purchasing of milk (except the second autonomous, which is the popcorn). Just replace the recipes here with the ramen recipes or whatever else you want.
|
|
|
Post by silvermane on Sept 9, 2020 18:31:55 GMT -5
Thank you very much for your reply! But I do want to make a clone actually, an entirely new stall. Is that also possible?
|
|
|
Post by MizoreYukii on Sept 9, 2020 19:43:48 GMT -5
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.
- You will need to clone these as well, and replace their references, as well as the Open reference (these 4 files are connected to each other): 143546<!--si_MarketStalls_HireNPC-->
143512<!--TendObjectSituation: situation_HiredNPC_VendorStall-->
151766<!--RoleState: marketStalls_Vendor_HiredNPC_OpenStall-->
132898<!--RoleState: marketStalls_Vendor_HiredNPC-->
- 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.
Hopefully that wasn't too confusing!
|
|
|
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.
Amazing tho how much you know about it!
|
|
|
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.
|
|
|
Post by MizoreYukii on Sept 10, 2020 11:41:37 GMT -5
Can you drop the .package here or DM it so I can check the files?
|
|
|
Post by Insimnia on Jun 10, 2021 20:28:03 GMT -5
Can you drop the .package here or DM it so I can check the files? Hi Mizore I also tried your tutorial but I'm also getting the same result where the stall is selling produce instead.
|
|
|
Post by MizoreYukii on Jun 25, 2021 17:41:05 GMT -5
Solved on Discord and posting the solution here for anyone who comes to this thread. Originally I ignored this interaction: 143546<!--si_MarketStalls_HireNPC--> But it references this situation for the vendor: 143512<!--TendObjectSituation: situation_HiredNPC_VendorStall--> Which references the original open stall interaction in 3 different places. If you go through and replace this stuff with custom files that will solve the issue. So you will need to clone and replace these files: 143546<!--si_MarketStalls_HireNPC--> 143512<!--TendObjectSituation: situation_HiredNPC_VendorStall--> 151766<!--RoleState: marketStalls_Vendor_HiredNPC_OpenStall--> 132898<!--RoleState: marketStalls_Vendor_HiredNPC-->
|
|
|
Post by k1ngro3sims on Nov 23, 2021 13:17:36 GMT -5
So when you clone doesn't it already have the tuning id and name? and also where do we import the xml's?
|
|
|
Post by MizoreYukii on Nov 23, 2021 13:34:45 GMT -5
So when you clone doesn't it already have the tuning id and name? and also where do we import the xml's? In the object definition? EA's tuning or someone else's tuning (if cloning CC), yes, but if you're creating a custom stand you need to manually make a new one and change it in the Object Definition. And you can import the XMLs to a separate package or into the stand package, doesn't matter.
|
|