Jump to content
Age of History 3
IRussian

How I can edit the name of a city

Recommended Posts

22 hours ago, Ern and Vaux said:

Its the file where you can find formable civs in a map folder

and how do you do it then? like province_id = CITYNAME

or smth like that?

Share this post


Link to post
Share on other sites

In the game folder, you should be able to find the "map" folder. There, you have to go into the correspondent map folder you are searching for (the "vanilla" one being obviously "Earth", but for example, you could also acces "Kepler" from here). Go then to the folder called "cities".

There should be 6 "json" files there, five called "cities" and one called "mountains". Open any of them with a text editor, and the names and cordinates of some cities will appear (as far as I know, the contents of each file aren't grouped by any real standard. For example, the "cities.json" file at first looks like it has an alphabetical order, but it later just seems to follow a random order).

In other words, you will have to test and use the search feature of your text editor to find the city you want to edit.

The cities follow this structure:

{
            Name: "Cape Town",
            x: 2311,
            y: 2121
        },

From here, everything is sort of intituive. You can change the name by just typing whatever you want. For this example, I'll use "Cape of Good Hope" as the new name for it.

For the coordinates, my tip would be to use the "Map Editor" to better understand the positions of the different cities. Again, for this example, I'll change the coordinates to "x: 2309" and "y:2124" (since the Cape of Good Hope, the rocky headland in Southern Africa, is around 50 km south of Cape Town, so this coordinates are somewhat near were it would be...obviously, they aren't the exact ones, but an approximation for this short "tutorial").

And so, our edited province's text info should look like this:

{
            Name: "Cape of Good Hope",
            x: 2309,
            y: 2124
        },

But, what if you don't want to erase Cape Town for this new name, but rather have both of them in game?

Well, you should then go to "cities_4.json", and paste the info at the bottom; it should look like this:

[other provinces here...]

{
            Name: "Cape of Good Hope",
            x: 2309,
            y: 2124
        },

],
    name: Earth
}

And then it should all be ready. As for the topic of editing the "city level" (clasifying a city as "Capital", "City", "Town", "Village" or "Hamlet")...I haven't been able to figure it out yet, but I'll try to look into it.

Hope that this info helps!

Share this post


Link to post
Share on other sites

4 hours ago, St.Chmnd said:

In the game folder, you should be able to find the "map" folder. There, you have to go into the correspondent map folder you are searching for (the "vanilla" one being obviously "Earth", but for example, you could also acces "Kepler" from here). Go then to the folder called "cities".

There should be 6 "json" files there, five called "cities" and one called "mountains". Open any of them with a text editor, and the names and cordinates of some cities will appear (as far as I know, the contents of each file aren't grouped by any real standard. For example, the "cities.json" file at first looks like it has an alphabetical order, but it later just seems to follow a random order).

In other words, you will have to test and use the search feature of your text editor to find the city you want to edit.

The cities follow this structure:

{
            Name: "Cape Town",
            x: 2311,
            y: 2121
        },

From here, everything is sort of intituive. You can change the name by just typing whatever you want. For this example, I'll use "Cape of Good Hope" as the new name for it.

For the coordinates, my tip would be to use the "Map Editor" to better understand the positions of the different cities. Again, for this example, I'll change the coordinates to "x: 2309" and "y:2124" (since the Cape of Good Hope, the rocky headland in Southern Africa, is around 50 km south of Cape Town, so this coordinates are somewhat near were it would be...obviously, they aren't the exact ones, but an approximation for this short "tutorial").

And so, our edited province's text info should look like this:

{
            Name: "Cape of Good Hope",
            x: 2309,
            y: 2124
        },

But, what if you don't want to erase Cape Town for this new name, but rather have both of them in game?

Well, you should then go to "cities_4.json", and paste the info at the bottom; it should look like this:

[other provinces here...]

{
            Name: "Cape of Good Hope",
            x: 2309,
            y: 2124
        },

],
    name: Earth
}

And then it should all be ready. As for the topic of editing the "city level" (clasifying a city as "Capital", "City", "Town", "Village" or "Hamlet")...I haven't been able to figure it out yet, but I'll try to look into it.

Hope that this info helps!

it helpes but as far as i see how hard is it i think i won't make cities for my maps lol

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games