News

Need some basic modding help - Improvement names

Posted on Thursday, August 29, 2019

I am trying to figure out where GC stores the names of Planetary Improvements, in the Colony window. In addition I am also thinking ahead and ship components as well.

The answer is probably pretty simple, but I cannot seem to find the right solution.

In ImprovementDefs.xml, the format is kind of confusing and trying to change what I (thought), was the right line, didn't end well.

 

 <Improvement>

    <InternalName>BasicFactory</InternalName>

    <DisplayName>BasicFactory_Name</DisplayName>

    <ShortDescription>BasicFactory_ShortDec</ShortDescription>

    <Description>BasicFactory_Dec</Description>

 

I thought it would be either of the top two lines, but, apparently not, or I am doing something wrong.

 

What I trying to do.

Example:

I want to change the current Basic Factory to > Factory - Basic. 

IoW, the name only, not any stats or specs.

 

I can see the names, but there is spacing and the formatting is confusing in a lot of places.

Example

<Improvement>

    <InternalName>PlanetaryComputerCore</InternalName>

    <DisplayName>PlanetaryComputerCore_Name</DisplayName>

The lack of basic spaces in this xml makes me wonder if I am even looking in the right place for what I am hoping to do.

 

The end goal, is to make a mod out of this, so, once I know how to do even one correctly, the rest shouldn't be a problem

 

Thanks