Forums Index >> Modding >> TGE color terrain questions, need help......
Page : <1> :
1. In order to see a color terrain what format does it have to be in jpg or png or both?
They can be either, TT and TGE will recognize both file formats. PNG is far smaller than jpg. If these are new textures never in TT or TGE before, I would convert them to PNG if you can. The speed that TT downloads at, the smaller the better for theose who don't pre-load.
In the PropertyMap.cs do we have to add the terrain to it? I though I have heard that from someone before
I'm not exactly sure what that file is for but, I have never had to modify that file to make any of the mods I have made, EVER! (40+)
Does it have to be in the same folders in TGE and TT for it to read right? I noticed some terrains are working that are in the same folders in both? Also they are not listed in the PropertyMap.cs so what is up with that?
Yes, If you notice the the downloads, anyone who has additional terrains will supply them with the path that they reside in. If you add them to your modded map, and the player doesn't have them they will have to wait until they download or they will receive an inncorrect art error. If you look at my expansion pack there are mant many folder with texture inside. The players nee the same files in the same structres.
Also if we have to add colors to the PropertyMap.cs do we have to delete the dso file?
You should not have to add anything to the propertiesMap.cs
TT is supposed to creat a new dso file for any.cs file that has been modified.
However there have been instance in which the.dso does not update correctly, and has to be manually removed so the cs file can generate a new one.
Last edited: Thursday, August 31, 2006 at 1:13:24 PM
Thank you Napalm for the answers, but I do have one other one that I forgot to add
I have noticed that some of the terrains have only worked with the png format only, and as you said it is good to use that one but I think I have tried some other colors which I am taking an extensive go through on the colors I have to get alot of different ones and there has been a few that did not work. I think they were in png format so why would TT stop some still? Hmmmmmm.......
Ps...I guess I found out I did not need to add to the PropertyMap.cs after all
I think if you were to open those non-working textures in Photoshop and resave them they would be fine. Also you may want to make sure they're 512X512. That dimension works the best.
BTW, Triv was the one thtat mentioned previously the PNG vs JPG file size. I just recall what was stated in that other thread. :O)
Page : <1> :
Ok I have been able to get some colors to work and some don't. I need to mention first off I use the SDK bought version Right now and it loads like for the folders SDK/example/demo/data and in there it has all the normal folders like in TT. I have seen that the basic colors in TGE loads and it comes from the directory demo/data/terrains/highlands. I have also noticed a PropertyMap.cs file that opens and has codes like this..... AddMaterialMapping( "cb5paint" , "sound: 0" , "color: 0.46 0.36 0.26 0.4 0.0" ); That is one I used and I have the color terrain for it and I believe it is in PNG format which the PNG format is in all the other regular terrains colors in TGE and it does not work? The only thing I noticed was the grass terrain in TGE is jpg. Ok I have said alot on that so far so now my question is
1. In order to see a color terrain what format does it have to be in jpg or png or both?
2. In the PropertyMap.cs do we have to add the terrain to it? I though I have heard that from someone before
3. Does it have to be in the same folders in TGE and TT for it to read right? I noticed some terrains are working that are in the same folders in both? Also they are not listed in the PropertyMap.cs so what is up with that?
4. Also if we have to add colors to the PropertyMap.cs do we have to delete the dso file?
Last edited: Thursday, August 31, 2006 at 11:59:49 AM