Started by jeronij, January 13, 2007, 05:03:10 PM
0 Members and 1 Guest are viewing this topic.
My suggestion to start a new single plopable tree (or whatever model) mod:
MAKING A PLOPABLE TREE (OR WAHTEVER MODEL) MOD
1) Open an existing mod with Ilives Reades. I used the Yucca as example but you can use anyone that contains only one exemplar. There are mods with more than one exemplar, but they are out of the focus of this tutorial.
2) "Go to File --> Save as" and save it with a new name and under a new folder if necessary.
3) Now study carefully this picture and pay attention to the colour's relations.
You must give the files on the left unique Instance ID's. To all except to the Dir file. You can do this by selecting the file, and then going to "Tools --> File Info --> Edit" You can edit the instance field with your new ID values. Once done click "OK" Do this for the following files: LTEXT file 1 LTEXT file 2 Exemplar file PNG File * Important !!!: Make sure the Exemplar and the PNG do have the same instance ID !!!You should be able to use any ID range you want, excep the A53A range (which is the one I use). So it would be a good idea to select a IDs range before starting modding.Once you have decided your IDs range, check that they dont conflict with other plopable mods:A53A**** Jeronij modsFF5F**** Andreas Roth's mods16****** Maxis trees / Goldiva's mods / Arkenberg Joe073D**** PEGs mods1945**** FronTheAshes mods(Maybe I am missing someone, if so just let me know and I will update the list) So DONT use any of these ranges. You have millions of free ranges available !!!ADDED January 2011 --> Check the current reserved ranges list at the end of this post
Once you have updated your IDs, it is time to save ;-D
1 RED : Exemplar name. Change this value to an unique name that identifies your new mod. Just double click on it, change the name and hit Apply to update the value.
2 BLUE : Exemplar ID.The value on the left is linked to the value on the right. You must update the value on the right to make it match with the value on the left.
3 GREEN : This is the mod name that you will see in the game. The value on the left is linked to the value on the right. You must update the value on the right to make it match with the value on the left. Once done, you can click on the LTEXT file and you can change this text on the rigth side of the screen. Dont forget to click on Apply for the changes to take effect.
4 LIGHT BLUE : This is the description that you will see in the game. The value on the left is linked to the value on the right. You must update the value on the right to make it match with the value on the left. Once done, you can click on the LTEXT file and you can change this text on the rigth side of the screen. Dont forget to click on Apply for the changes to take effect.
5 BLACK : This is the icon file that you will see in the game. The value on the left is linked to the two properties on the right. You must update the values on the right to make them match with the value on the left. See below if you want a custom icon.
6 YELLOW : Resource Key Type 1. This is the link to the 3D model. The values of this property are the Type Group and Instance IDs of the tree model that you are trying to plop. The easiest way to update this value for me is: Dont close the active Ilives Reader window and open a new Ilives Reades session. In the new session, open the file containing the descriptor for your 3D model. It could be a separate SC4Desc file or it could be an exemplar file contained in a BIG dat file. Anyway, you have to find the exemplar that belongs to the wanted tree.Once you have found the exemplar file, go to its Resource Key Type 1 property and open it. Select all the values in the "Values as Text" field at the bottom of the property window and copy it to clipboard (Crtl+C) Now change to the initial Ilieves Reader session, select the Resource Key Type 1 property of your new exemplarand open it. Select all the values in the "Values as Text" field and delete them (Del). Now paste the values from the precedent step into this field (Crtl+V) Hit Apply. Go to File and Save. At this point, you can start your game and test your mod. Make sure the mod file is found in one of the game's plugins folders as well as the tree model. If you followed the instuctions strictly, you should be enjoying your new mod ;-D .
If not, read again the tutorial and make sure you understand the file relations, and you understand what you are doing.
Want a custom icon?
Once the tree can be plopped you can take a pic to create your custom icon. Making custom icons is out of the scope of this tutorial.You can find a very useful one here:Creating Custom Lot Icons by Deadwoods. Great work btw !!!
Once you have you brand new icon, it is time to import it into your mod !!!.
Open you mod with Ilives Reader ( if it is not opened already) and once the file is loaded, right click on the left side on the window, under the files list. Select "Insert and Compress File". Search the icon file you made (.png) and accept. A list shows up. Select PNG and hit OK The new file shows now in the file list, with Group and Instance set to 0. You have to correct this and update those values to the previous PNGf file ones. Fortunately you have in this moment both files available so it should not be a big problem to find the needed values. If you did it right, you should have now two png files with the same Type, Group and Instance values. Now select the old png file ( you can see the image on the left side of the window if you are not sure ;-D) and right click on it. Select"Remove file". Hit "Yes" if asked to confirm deletion. Now you should have only one png file. YOUR png file ;-D
Save the mod and test it in game. If you did it right, you should see it with the new icon.
There are some other properties that you may want to change, like the Item Order or the Plop cost, which are self explaining and quite easy to cahnge.
There are some other specific flora properties which are only partialy known, but you dont need to know about them for this single mods. The know information can be explained in a future tutorial about multi model mods if necessary.
I hope the information contained in this tutorial is useful for you.
Feel free to share your feedback !!! Jeronij 2006
Page created in 0.354 seconds with 34 queries.