Posts: 1
Threads: 1
Joined: Feb 2019
Reputation:
0
Hey, could you guys tell me which file(s) should I mess up with when I want to edit route restrictions (i.e. airlines can't fly to EU or US)? Thanks in advance.
Posts: 2,539
Threads: 102
Joined: Jun 2017
Reputation:
23
Language: EN, NL, FR, DE
Location: Belgium
02-28-2019, 11:02 AM
(This post was last modified: 02-28-2019, 11:05 AM by Tjoeker.)
in the data folder you'll find a file called data.sqlite.
To open this file I use 'DB browser for sqlite'.
Once you have opened the file, go to the tab called 'Browse Data', and select restriction in the dropdown menu.
Now you see a list of restrictions implemented in the game.
For a restriction between the US and the EU you need to add these 2 lines: (if you want the restriction to be both ways)
DD-MM-YYYY 00:00 | C122 | DD-MM-YYYY 00:00 | U101 | Flights | 0 | |
DD-MM-YYYY 00:00 | U101 | DD-MM-YYYY 00:00 | C122| Flights | 0 | |
Of course, replace DD-MM-YYYY with the actual date you want the restriction to take effect.
Use 01-01-1900 00:00 if you want it from the beginning of time.
Use 31-12-2199 00:00 if you want it to last until the end.
If you want more restrictions between specific countries, select 'country' in the dropdown menu.
Here you can check the IDs of each country. (Uid column)
Just add a C to the country ID and put it in the FromUnit and ToUnit columns. (format: C***)
The U stands for Unionunit, a combination of countries.
U101 is the EU as a whole.
U102 stands for the former Warsaw Pact,
U103 stands for NATO countries,
and U104 stands for Schengen countries.