Page 1 of 2

How to modify default region

Posted: 29 Mar 2017, 22:26
by Lobby
Hi,

with version 257 in beta channel we invented regions. Currently only one region "Theonia" is supported. However, you can modify this region for your needs.

In your TheoTown folder you can find the region in the directory /regions/default. To find the TheoTown folder see our FAQ as it depends on the platform you are using. Alternatively, you can use the game's built-in file browser that you can access in the game menu in the region view.

The default region consists of 33 regular city files which are placed in the region according to their file name. For example, the file 0_0.city will be used as city in the left corner of the region. See this picture for all assignments:
image.png
You might notice that an unit here represents 64 tiles in a city which corresponds to city size medium. Therefore, no small cities can be used in a region as their place in it cannot be specified exactly.

Here's a matching from map size to units:
Medium - 1
Big - 2
Huge - 4
Colossal - 6
Giant - 8

City files with a name that doesn't match the x_y.city pattern are just ignored.

Now let's assume you have an own, huge city as file A.city that you want to place on position 0_0 in the region. Then you might do the following steps:
  1. Rename 0_0.city to _0_0.city
  2. Rename A.city to 0_0.city
That's all. You might even use different sized maps for the region, but then you have to pay attention on not creating any gaps or overlaps.

You may rename your region by changing the value for the tag name in the region.json file in the region folder.

Posted: 29 Mar 2017, 23:11
by rare_metal
Can i make that
--------------------------------------------------------------------
0_0|0_1|0_2|0_3|0_4|0_5|0_7|0_8|0_9|0_10|0_11
------------------------------------------------------------------
1_0|1_1|1_3|1_7|1_9|1_11
---------------------------------------------------------------
2_0|2_11
------------------------------------------------------
3_0|3_1|3_9|3_11

And futher

Posted: 29 Mar 2017, 23:17
by Lobby
That sounds as if there would be gaps, that's not good.

Posted: 29 Mar 2017, 23:31
by rare_metal
You right, i missed 3_7.
So is it posible to make any configuration, any numbers?

Posted: 29 Mar 2017, 23:34
by Lobby
Should be possible. Version 258 should also allow gaps in between.

Posted: 30 Mar 2017, 03:51
by KINGTUT10101
Maybe this post should be sticky so it doesn't get lost in a sea of new topics.

Posted: 30 Mar 2017, 07:13
by Bearbear76
I feel like it's complicated :?

Posted: 30 Mar 2017, 09:30
by VDSC
Lobby wrote:That sounds as if there would be gaps, that's not good.
Can you just add an option to rename regions pretty soon? That's the only problem. Also, I think its REALLY important.
Also, my phone always mess up when I tried to modify it, sounds like my phone didn't allow modification..

Posted: 30 Mar 2017, 10:07
by Lobby
For now you have to do it manually, as an editor would be a lot of effort (as you can see by how much effort it is to do it manually).

@former member_danevich
Yes, that should work :)

Posted: 30 Mar 2017, 10:30
by Bearbear76
former member_danevich wrote:Yay, it's working!
Image

But I can't play it, because when I pressed "unlock" button, it just stuck on it
Image
awesome maybe post a tutorial so other people can do the same thing too :D

Posted: 30 Mar 2017, 10:43
by CommanderABab
Switch regions

Posted: 30 Mar 2017, 10:44
by Bearbear76
former member wrote:What are those arrows on bottom right?
i didnt notice that :shock:
what is that ??

Posted: 30 Mar 2017, 11:33
by Ahmad Nur Aizat
I might need to experiment the region and see if I can put my test cities (mostly huge) to it

Posted: 30 Mar 2017, 11:50
by CommanderABab
former member_danevich wrote:
Bearbear65 wrote:awesome maybe post a tutorial so other people can do the same thing too :D
I'll post one when I'll understand why I can't open a city
Your picture shows the city still unlocking.

Posted: 30 Mar 2017, 12:12
by Ahmad Nur Aizat
Time to unlock depending on the size?

Posted: 30 Mar 2017, 12:14
by Lobby
Currently not. It's strange that in the screenshot the information panel isn't shown.

Posted: 30 Mar 2017, 13:05
by Ahmad Nur Aizat
former member_danevich wrote:I waited some time and... it's unlocked! Yay
Now I'm going to make a tutorial
Yay! Tutorial

Posted: 30 Mar 2017, 13:15
by Bearbear76
Ahmad Nur Aizat wrote:
former member_danevich wrote:I waited some time and... it's unlocked! Yay
Now I'm going to make a tutorial
Yay! Tutorial
I'm waiting for it

Posted: 31 Mar 2017, 09:40
by Ahmad Nur Aizat
I have a dream that TT's dominatinting GP one day

Posted: 16 Apr 2017, 00:41
by Mayor Jeffrey IX
When we have version 869