#10
5th Apr 2006 at 9:55 PM
Posts: 4,502
Thanks: 13197 in 63 Posts
15 Achievements
OK, I'm back.
First, you need to know what's the CRES name of the original Maxis stove that you will link your object to. You can find it out, by cloning the stove and unchecking all the cloning options, then opening Resource Node, and the cObjectGraphNode tab under the Content tab. The name you need to refer to is the one in the filename box, just without the _cres extension. For this particular stove, the name is stoveModerate.
Then you will need to find out the Material Definitions to refer to. Open Shape, and the Parts tab under the Content tab. You should see three lines listed: Three subsets with their own Material Definitions. When you click on each, the name in the Material Definition File box is the one you have to copy over to respective subsets in the Shape (the one with untagged0 in the name) of the hacked object you're editing.
Then open the hacked stove package, open the Shape (the one with untagged0 in the name), and the Parts tab. Click on the stovemoderate_glass on the list, and copy and paste stovemoderate_glass into the Material Definition File field, then Commit. Then click on materials on the list, and into its Material Definition File field, copy and paste stovemoderate_materials_white_clean. Commit.
Then click on Geometric Node of the hacked stove package and select the file with tslocator in the name. Click on the cObjectGraphNode tab and click Add under the title Datalist Extension Reference. Then click on the new line that appears on the list, then in the Index filed change the last 0 to a 5, and in the Enabled field change the last 0 to a 1. Then click Commit. Then click on the Edit Blocks tab, from the dropdown list find (cDataListExtension), select it, then click Add, and Commit. Then click on the Content tab, and the cObjectGraphNode tab, then from the dropdown Blocklist select your new entry, and into the Name field, type tsMaterialsMeshName and Commit. Then from the dropdown list on the bottom right select String, and click Add. Then click on the new line in the Items box, into the Name field type materials and into the String field the CRES name we figured out earlier, stoveModerate, and click Commit. Then select String from the dropdown list again, and again click Add. Then click on the new line and into the Name field enter stovemoderate_glass, and into the String field again the same stoveModerate. Commit.
I'm not sure if this is completely necessary, but, just in case, go to Tools -> Object Tools -> Fix Integrity. In the window that pops up, just click OK. Then Save the package. Replace the old one in your Downloads folder with this one (make sure you don't have both versions in the game at the same time).
If the recolors still don't show up, let me know and we may have to do some further editing.