![]() |
|
|
|
|
#1
|
||||
|
||||
|
Hello,
I created some ground textures that I want to be able to paint on the ground, and created the following xml file: Code:
<?xml version="1.0" encoding="utf-8"?> <Package> <FileAdd name="\Data\Graphics\Textures\Environment\CB_brownbricks.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_chalksidewalk.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_cobblestone.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_concrete.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_dkgreengrass.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_gravel.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_ltgreengrass.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_sidewalk.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_treegrass.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_yellowconcrete.png" /> <FileAdd name="\Data\Graphics\Textures\Environment\CB_yellowgrass.png" /> </Package> What do I need to do to get them to show up? Thanks, |
|
#2
|
|||
|
|||
|
You have to make xml files for each of them in one of the folders (decorativeterrain maybe? I forget offhand). If you want titles to show up you also have to make a localization file with the string ids, and if you want them to have portraits in the menu you have to make the portraits for them. Just adding the pngs won't do anything.
|
|
#3
|
||||
|
||||
|
So are there examples of this in simplified terms, with just the basics of what those other files must contain?
|
|
#4
|
|||
|
|||
|
You need to edit or create a new "DecorativeTerrainSets.xml" file. I have attached my DecorativeTerrainSets.xml file which I used to add my own ground textures. I have also commented in the file what I added so you know exactly where everything goes.
You can use my file and replace the name of my custom textures with yours. |
|
#5
|
||||
|
||||
|
Thanks for posting that xml file. I found that it contains way more information that I would need to create simple terrain textures so I've attached the necessary examples to this message of the files that would need to be brought into place to make this mod work (using only one texture, if people wanted they could add more lines of text and more textures to flesh it out, it's here as way of example of what is bare minimum required I believe).
CB_BrownbrickText.xml holds the description to show up in the game for the tile and would be located in the SimCity Societies\Localization\en_us folder. CB_Brownbricks.xml will end up being installed to the Data\XMLDb\Game\DECORATIVE TERRAIN SETS folder So as you can see the CB_BrownbricksText.xml only needs to contain a very small amount of text and doesn't need anything that was shipped with the game included. It's all very clean and simple. Hope this helps anybody else looking to do a simple terrain texture mod. I attempted to upload the finished SCSPack file but the forum rejected it saying it's invalid, in what that means I believe is that TM is not accepting SMSPack files and they need to be in zip which I couldn't be bothered to do for this example, sorry. |
|
#6
|
|||
|
|||
|
The SimCity Mod Exchange is the best place to share SCSPack files -- not everyone knows about this forum, and the Exchange has some nifty features like the ability to search on particular mod types.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|