Jump to content

Change Capital City [Pre-Game Editor]


The Good Rebel

Recommended Posts

I have just noticed whilst trying to edit a nation that you can no longer change a capital city or indeed add one to an extinct nation! Unless something has gone wrong with my editor? I have edited the comp editor.fmf file to allow the editing of continents and adding of local regions, but other than that I haven't changed anything.

Is this a new feature due to capital cities being purely cosmetic, or has something gone wrong?

Link to post
Share on other sites

I can't help thinking this is about licensing. Someone may be really upset if the capital city could be edited. I'd guess you can change the names of the cities. Doesn't help with extinct nations though. 

 

Link to post
Share on other sites

The code has been changed in the comp editor file. You need to extract that using resource archiver, then go to comp editor / format / database / nation

and replace the capital city entry with this...

<!-- Capital City -->
            <record>
                <flags id="field" value="Ncpi" />
                <translation id="name" translation_id="293203" type="use" value="Capital City" />
                <flags id="type" value="database_record_unique_id" />
                <flags id="database_table_type" value="city" />
                <boolean id="is_client_field" value="true" />
                <boolean id="is_optional" value="true" />
            </record>

 

Then go to comp editor / format / database ui / nation ui

 

and replace the capital city entry with this...

<record db_field="nati,Ncpi" />                                <!-- capital city -->

 

then replace the original archive using the resource archiver again.

 

It seems like no nations have capital cities set in the editor though.
 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...