I need help with custom planets

For some starnge reason my planets are "invisible". They don't have the same name as I enterd but I think there soppsed to be the same planets they have the same class and there are same number of planets.
8,328 views 10 replies
Reply #1 Top
Try posting the part of customplanets.xml you changed in here. Juse be sure to do a search-replace in your text editor first and change all of the < and > to [ and ] so the forum doesn't eat them.
Reply #2 Top
I'm going to change the names since I'm really sure what to call them and I don't think the names of the planets or the mods folder name is what is causeing the probem.
[StarSystem Name="Star1"]
[DisplayName>Star1 [Planet Name="Planet1"]
[DisplayName]Planet[/DisplayName]
[Class]15[/Class]
[Texture]mods/My mod/gfx/planets/planet1.png
[/Planet]
[Planet Name="Planet 2"]
[DisplayName]Planet 2[/DisplayName]
[Class]8[/Class]
[/Planet]
[Planet Name="ThaliaIII"]
[DisplayName]Thalia III[/DisplayName]
[Class]0[/Class]
[/Planet]
[Planet Name="ThaliaIV"]
[DisplayName]Thalia IV[/DisplayName]
[Class]0[/Class]
[/Planet]
[Planet Name="ThaliaV"]
[DisplayName]Thalia V[/DisplayName]

[/Planet]
[/StarSystem]

I'm creating a new race that will replace the thalan slot and I'm trying to get the habital planets to work before I start on the inhabbitale planets.
Reply #3 Top
that's not important but you forgot to put a display name for the sun
Reply #4 Top
I'm creating a new race that will replace the thalan slot and I'm trying to get the habitable planets to work before I start on the inhabitable planets.



Ummn why not just copy the Thalan code and alter to suit? You can always place the new version in the mods folder and enable it from there
Reply #5 Top

Ummn why not just copy the Thalan code and alter to suit? You can always place the new version in the mods folder and enable it from there

Good idea thanks.

Reply #6 Top
Whoops, I got sidetracked looking into your problem the other day and forgot to post a reply here, sorry!

Anyhow, it looks like it might be the path to the texture that's the problem. Try changing it from 'mods/My mod/gfx/planets/planet1.png' to just 'gfx/planets/planet1.png'.
Reply #7 Top
Anyhow, it looks like it might be the path to the texture that's the problem. Try changing it from 'mods/My mod/gfx/planets/planet1.png' to just 'gfx/planets/planet1.png'.


Should also move the file to that location or could I just leave.

BTW I'm not sure if that any of the custom planet tutorials are clear about that.
Reply #8 Top
New problem:
I got the texture to work in the on game map(I think) but when click on the view it looks compelety differn't.
Reply #9 Top
your future in this problem is clouded....
Reply #10 Top
Yes, the texture image does not apply to what you actually see in the planet screen. For that, you need to create a RAW image in greyscale, and assign a PlanetDescription and TerrainColorScheme in the appropriate files. And it can be quite a pain getting the colors just right. There should be instructions in the official modding guide if you're up to it.