Tilted Mill Community
Tilted Mill / Medieval Mayor /Nile Online / Mosby's Confederacy / Hinterland / Children of the Nile / SimCity Societies / Caesar IV


Go Back   Tilted Mill Community > SimCity Societies - Official Forums > Mods (Discussion)

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2007, 10:24 PM
Kuplo's Avatar
Kuplo Kuplo is offline
Commander
 
Join Date: Sep 2004
Location: CityBuilderGames.com
Posts: 1,049
Send a message via ICQ to Kuplo
Default Tried to import some ground paintable textures but no go.

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>
The game creates an SCSPack files like it should, I double click on it and the importer pops up warning it's not an official EA file and I click okay and it places the files where it should, but they don't show up in the list of paintable tiles.

What do I need to do to get them to show up?

Thanks,
Reply With Quote
  #2  
Old 11-25-2007, 11:00 PM
Lilbluesmurf Lilbluesmurf is offline
Craftsman
 
Join Date: Nov 2007
Posts: 107
Default

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.
Reply With Quote
  #3  
Old 11-25-2007, 11:01 PM
Kuplo's Avatar
Kuplo Kuplo is offline
Commander
 
Join Date: Sep 2004
Location: CityBuilderGames.com
Posts: 1,049
Send a message via ICQ to Kuplo
Default

So are there examples of this in simplified terms, with just the basics of what those other files must contain?
Reply With Quote
  #4  
Old 11-26-2007, 04:01 AM
Thatguy2001 Thatguy2001 is offline
Vagrant
 
Join Date: Nov 2007
Posts: 16
Default

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.
Attached Files
File Type: xml DecorativeTerrainSets.xml (18.3 KB, 127 views)
Reply With Quote
  #5  
Old 11-26-2007, 06:23 PM
Kuplo's Avatar
Kuplo Kuplo is offline
Commander
 
Join Date: Sep 2004
Location: CityBuilderGames.com
Posts: 1,049
Send a message via ICQ to Kuplo
Default

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.
Attached Files
File Type: xml CB_brownbricks.xml (477 Bytes, 116 views)
File Type: xml CB_BrownbrickText.xml (75 Bytes, 109 views)
Reply With Quote
  #6  
Old 11-27-2007, 03:34 PM
Will Jennings Will Jennings is offline
Shopkeeper
 
Join Date: Apr 2006
Posts: 223
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:30 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.