Airport CEO

Airport CEO

View Stats:
[MOD] Negotiable Turnaround Time and Autoplanner settings
This mod will allow you to change turnaround time in flight scheduler, set default turnaround duration based on flight size, allocate more time for remote stands, and set minimum separation between flights for each flight size.
Exampleof this mod in effect:
https://steamcommunity.com/sharedfiles/filedetails/?id=2424780965

For 1.0-36

Features
-Adjustable turnaround time, by steps of 30 min
--Minimum duration for turnaround is 30 min, maximum is 12 hours
--Support both new flight series scheduling and single flight rescheduling

-Modify default turnaround time for each flight class, and for remote stands
--Mod default is Small=2h, Medium=4h, Large=6h
--Mod default for remote stand is Small=2h30min, Medium=4h45min, Large=7h
--*Compatible with vanilla saves, but you need to save the game with the mod active to change these values

-Make Autoplanner use different intervals for each flight class
--Mod default is Small=45min, Medium=1h, Large=1h30min
--Autoplanner will ignore the min interval slider on the flight allocation page and use mod settings for flight turnaround time instead of vanilla default (3h,4h,5h)
--Autoplanner may use intervals longer than your designated values, due to internal design of Autoplanning system. I don't plan to fix it yet since it would be a complete overhaul to that module.

How to use
-Adjustable turnaround time for manual flight arrangement
1. Drag and arrange/rearrange a flight first like normal. 2. When you stop dragging and the flight is placed at a valid slot, it will prompt you with a confirm button. 3. If you click the button while holding Control key, the turnaround time will be reduced by 30 min. 4. If you click the button while holding Alt key, the turnaround time will be extended by 30 min. 5. If you click the button while holding Shift key, the turnaround time will be reset to default (small 3h, medium 4h, large 5h) 6. If you click confirm while not holding the above 3 key, the flight is confirmed.

-Modify default turnaround time, remote stand turnaround time and Autoplanner minimum interval
--If you think the mod default value is ok, you ca ignore the block below.
1. Load the save you want to play with. 2. Save the game. Save as new or override are both acceptable, but remember the save name. 3. Go to C:\Users\<username>\AppData\Roaming\Apoapsis Studios\Airport CEO\Saves 4. Locate the folder with the save name and open it. 5. Find "ATCAdditionalSettings.json" and right-click->open with->notepad 6. In the opened window, you could see each configuration and its value as "configuration_name":value 7. Modify the config as you wish. Note that "02:00:00" is hours:minutes:seconds format, seconds value does not affect the game at all, and do not remove quotation marks around it. 8. Press Ctrl+S to save the file, then load the save game and you will have the changes in effect. If you messed up somehow, just delete "ATCAdditionalSettings.json", repeat the steps to force the mod to output default settings again for customization.

Installation
In the download link there is a .dll file. Use it to replace "{Airport CEO location}\Airport CEO_Data\Managed\Assembly-CSharp.dll". The {Airport CEO location} can be opened using "Browse local files" on the game in steam.

If you suspect the dll file contains malicious codes and won't trust it, you can apply the modification on your own copy of the game, by yourself. You will need to download the 4 text file in DIY folder, and follow the instruction in "_How_to_DIY.txt". You can easily verify the codes used for modification, by just opening the txts and figure them out. The codes are getting more complicated and the DIY guide is outdated right now, so I suggest sticking to the copy-override method and do not attempt DIY unless you know C#.

Issues
-When returning a flight back to the airline's pool in scheduler, it won't reset to default turnaround time. Just look for a large enough vacancy and adjust it back to your desired length.
-When adjusting turnaround time, the block will expand/shrink based on the center of that block, and will not detect flight collision unless you drag it again. Just be careful, since I was trying to modify as few codes as possible, I intentionally skipped fixing this issue, sorry XD
-If you reschedule a flight and attempt to adjust turnaround time, it will be reset to default turnaround time first, which may cause some problem if you shortened the time and arranged everything very tightly. Same as the previous issue, I skipped fixing this one too, one more to suffer XD
-Autoplanner obeys the minimum interval between flights, but does not necessarily stick to that exact interval when planning flights. This means you can set minimum interval as 15min while autoplanned flights still has a 1h spacing. I know it was there in vanilla, and it would need an overhaul to correct that, so no plan to fix it now.

Uninstalling
If you have made a backup to the original Assembly-CSharp.dll, use it to override the modded one. Alternatively, you can use Steam to verify the game's integrity, which will re-download that file and put things back to vanilla.

Tips
It takes around 20min for every 100 deboarding pax, 1h for every 100 boarding pax.


Download
dropbox[www.dropbox.com]
Last edited by user19990313; Jan 15 @ 9:47pm
< >
Showing 1-1 of 1 comments
The new update brings up some new features such as modifying default turnaround duration based on flight class, allocating more time for remote stands or setting minimum separation between flights for each flight size. For 1.0-36 and compatible with existing saves.
< >
Showing 1-1 of 1 comments
Per page: 1530 50