[CBM] AirportCEO Tweaks Stable 4.0.0 - Nationality!

I know this is rather late to say here, but the contract issue should be solved if you are using Tweaks Core 4.0.1 or above (out on steam and all Github releases were updated as its a hotfix).

As of right now, there are still occasional bugs and rare in the newest version of Tweaks Core when working with Nationality, which should be resolved over the weekend. However, the period of more significant instability which sadly did occur is over.

2 Likes

Hi, I wanted to ask if this will also affect the nationality of the passengers. For example, if I have an airport in Italy, most of the passengers will probably be Italian, maybe 60%, I imagine. And for a flight to Poland, I imagine it would be 50% polish, 40% italian, and maybe 10% of other nationalities. Is there already a mod like this, or could this one allow you to manage this aspect as well? It would give the game much more realism. Thanks!

1 Like

Unfortunalety not. Nationality mod only affects airline and offered flight. Not passengers’ themselves

I understand thanks, it would be nice to have a mod that adds this thing too actually

I noticed that for example Aeroitalia gives me flights to countries other than Italy, Spain or Greece as in reality… why? Could it be a problem with the mod?

Is your airport in Italy? Then it acts as national carrier and offers flights to all reachable destinations. It’s not checking for their actual real routes.

Domestic routes depend where your airport is located. As the minimum range for these aircrafts set in game might not find one, when the airport is in the middle of Italy.

L’aeroporto si trova a Bologna, a volte ci sono rotte in italia con aeroitalia come Fiumicino, brindisi ma mi offre anche ad esempio la Norvegia o la bulgaria che nulla c entra con aeroitalia

As mentioned, the mod does not make real routes of that airline. So Norwegian is very well possible for aircrafts such as the B737.

The question is, what aircrafts are currently offered in your contract. Only B737 or also ATR or E170?

Just to explain the mod logic:

When Airport = IT and airline country = IT

The mod create any international route between the minimum and maximum range of the aircraft.

When airport = IT and airline country is not IT

The mod only offers flights to any suitable airport in the home country of that airline (when within minumum and maximum range)

General Information for new players

If you add this mod to an existing savegame, you might get a lot of warnings of your existing contracts. It helps if you cancel them all and re-accept them to have a fresh start with thenew destination generator.

Debugging Guide

If you think, something with the route generation is not working well, please provide debugging information so that the developer can see, what may could be the reason.

Ingame, press the F1 key to open the mod settings window.

First, enable the advanced settings.

{457238AF-77AD-491C-B8E5-DD51B74FFDEA}

Then enable “extra debug logs” at the AirportCEONationality section.

After that, wait a while ingame until new flights or your airline get offered. Or even do a restart of the game to clear previous offered flights.

When you got some flights offered, go to your logfiles by using the “open log” button in the F1 window.

{96F9FA80-24E4-4B26-8D2D-DD9616D570FA}

How to read the logs by yourself

Every offered flight will create an entry in the log file. It determines all reachable airports of a typical size of that aircraft type. As in the example, the airport is in Spain and the Airline “Helvetic Airlines” with the offered E195 aircraft is in Switzerland. It offers valid airports in Switzerland for the E195 aircraft size.


FAQ

Does it support vanilla game contracts?

No, vanilla game contracts do not contain any country information. They act as national carrier to any destination.

Can I use this mod alongside the “ OLD TWEAKS AirportCEO Tweaks“ mod?

No. The mods will conflight eachother and the new nationality mod features might be ignored.

Can I change the country code of an airline contract?

Yes. you can change the *.json file within the airline contract with an additional tag. If one of your mods does not have any country tag yet, you can add it. To change it, the mod must be copied to your native modding folder and to prevent conflicts, unsubscribe the mod on Steam.

BE AWARE, YOU ARE NOT ALLOWED TO REUPLOAD ANY OF YOUR CHANGED AIRLINES TO THE STEAM WORKSHOP. THESE CHANGES ARE FOR YOUR PERSONAL USE ONLY!

Can an airline contract have multiple home/BASE countries?

Yes, there is an additional option to set an array of home/base countries. Some airline mods such as Ryanair, Easyjet and others have this already implemented. To change it, the mod must be copied to your native modding folder and to prevent conflicts, unsubscribe the mod on Steam.

BE AWARE, YOU ARE NOT ALLOWED TO REUPLOAD ANY OF YOUR CHANGED AIRLINES TO THE STEAM WORKSHOP. THESE CHANGES ARE FOR YOUR PERSONAL USE ONLY!

Can I set an airline as domestic only?

Yes. This requires to have the airline in the native modding directory of your game. There you can change the *.json file within the contract with an additional tag. TAG FOLLOWS HERE LATER

BE AWARE, YOU ARE NOT ALLOWED TO REUPLOAD ANY OF YOUR CHANGED AIRLINES TO THE STEAM WORKSHOP. THESE CHANGES ARE FOR YOUR PERSONAL USE ONLY!

Will the airline contract offer flights only to their real destinations?

No, the airline will offer flights to all suitable airports within their range and allowed countries. It does not check any database for real life routes. If you want to get rid of some airports in other countries, you will have to change the airport database of the game. (see next point)

Can I change the airport sizes and add or remove airports?

Yes, the airport database of AirportCEO can be changed as you like. We recommend to keep a copy of the original file. CHANGES ARE AT OWN RISK. Also if Apog Labs decides to provide an update of the airports, the file can be overwritten.

The file is located at: \steamapps\common\Airport CEO\Airport CEO_Data\DataFiles\GameData\JSON\AirportData.json and can be edited by a Json editor or a notepad.

Does this mod support the Schengen agreement?

Yes. If your airport is within a Schengen country and the airline contract is from another Schengen country, flights will be offered as domestic. You need to activate the Schengen visa rules in the Gameplay settings.

How can I use small and medium stands for international flights and large stands for domestic?

Change the gameplay settings to “Realistic international stands”. After that, you get a toggle on each stand to switch it between domestic or international.

2 Likes

Yes, in this case the airport is in Italy and the airline, being Italian, i.e. Aeroitalia, therefore automatically creates international routes outside the country. Now I understand. Sorry, but this wasn’t clear to me. In fact, for example, the Twinjet airline works perfectly, offering only flights to France, but the airport is in Italy, so it doesn’t have the same problem as Aeroitalia.

May check the logs as described above if the smaller aircrafts list up Italian airports. If yes, then it’s just time and luck to may get a local flight. If not, may share the log.

I would expect airports in south Italy as Bologna is in the North.

I checked and it turns out to be countrycode IT so correct but if I wanted flights to fall only in the following 3 countries i.e. Italy, Greece or Spain at any airport would it be possible? Or would it give me flights to other countries?

As soon as it contains Italy, it will fly to everywhere. If you change the mod contract to GR and ES as home countries of that airline, only those two countries will be served.

I’ve had some issues with airlines like Central Mountain Air of CA where it tries to find WAY more international flights than needed to the US despite being on 1900Ds. Is there anything that could be done about this?

We need :wood: -files to understand the route generation of small aircrafts in Canada. See the manual above. :slight_smile:

So I think I’m leaving Italy as a home country and adding Spain and Greece as other countries do, so that I only have flights from these three countries, which then reflects the reality.

There is a problem with this tweaks mod:

I am trying to set up an airport in sandbox mode (all enabled except emergency disabled and unlimited flights), but the contracts only show HWY, Brikley, and a non-proper Cargolux airline mod. I only have other codebased mods, other airlines (Philippine Airlines, Cebu Pacific, Philippine Airasia, and a Cargolux testing airline). I was also trying to do fuel contracts.

Done on a Non-Steam mac.

Can you provide player.log?

1 Like