Need some help

I've been working on a mod and so far all I've changed are ship components and starbase modules but I did transfer all the files I could to my mods folder so I can make modifications on the other files as I'm working.I started a game with my mod and found everything working right as far as I can tell except for the planet improvements.Along the right side on the planet screen I have double listings for all the buildings.....i.e. basic factory,basic factory,basic farming,basic farming, ect.Does anyone know what I can do to fix this? I did add the other files after the files I was working on.Could it be maybe that it is reading the default file first then reading the same file when loading my mod?That would mean it makes a file of some kind that loads default files if not present in the mod . If so,how can I get it to stop doing that without removing the file and leaving it out.I thought of removing them reloading then adding them back or copying my mod file changing the name and reloaing it.But instead of getting frustrated I thought I'd ask here for help first.
4,225 views 4 replies
Reply #1 Top
If you have the file PlanetImprovements.xml in the root of your own modfolder AND some .xml file in the \PlanetImprovements\ folder then you will get double listings.

I think the data files in the root replaces the default and using the subfolder adds to either the default or the replacement.

Either merge your planetimprovements into one single file in your mods root folder OR place your addons in a .xml file in the subfolder.

Reply #2 Top
Thanks,but the problem is I have only one copy of the planetimprovements file in the corresponding folder.I assumed that only the files that are in the mod folder would be used when starting a new game with that mod selected but it seems to not be the case.
Reply #3 Top
Some types of files are used in place of the originals, while some are used in addition to the originals. See Cari's modding guide to find which is which (it's near the beginning of the guide, IIRC).
Reply #4 Top
Thanks.I got it fixed by making a new mod folder and putting only modded files in.it's not looking too bad so far in playtesting.