https://drive.google.com/open?id=1mzXLL ... n_AtY_Fas3
Uploaded 16 April 2018
Traffic jams sometimes happens. You approach main station, call tower and take your queue position in incoming traffic. Number 12 or so in busy systems. OK, no problem. About ten minutes for incoming queue, maybe 2...3 minutes for departing traffic and you’ll get docking clearance.
But wait, it seems traffic frozen again without apparent reasons. Sometimes motion will be continue five or ten minutes later, sometimes not. Pause, F2, set Docking clearance protocol OFF, return to game, docking, reset Docking clearance protocol ON again. Damn, this is not funny part of game experience.
Well, we have already OXP dealing with traffic jam issue – Instrumental Landing System
(author Norby). Maybe it works fine, I just didn’t try it. Honestly I don’t like any equipment assisted flight and combat mods. I prefer to control manually all that I can with few exceptions. This is a part of game experience.
is not alternative docking mechanics. It did not prevents traffic jams. It only provides bypass to override traffic jams. Idea is simple: if you’ll did not get docking clearance in 15 mins after taking queue position, Docking Clearance Protocol for main station will switch to OFF and you’ll can dock. Docking Clearance Protocol will reset to ON after next launch from station, you have no need to reset it manually.
Emergency docking clearance is performed on main station only and if you have no Fugitive status!
How it works in game.
There is no any traffic in proximity of main station. You’ll get docking clearance with 2 min docking window. Proceed to dock as usual.
Regular traffic pattern without traffic jams. Contact tower and wait your docking clearance as usual. In this case timer calls message with 1 min intervals:
Docking clearance status: Emergency docking in # min
When you’ll get docking clearance timer will stop and message will not be displayed anymore. Proceed to dock as usual.
Traffic jam. 15 min after taking queue position timer will stop and you’ll get message:
Docking clearance status: Emergency docking allowed
Proceed to dock. Now you have permission.
Main station in red alert state (station was attacked). In this case any regular traffic is stopped to provide launch window for Galcop Vipers. You’ll get message:
Docking clearance status: Emergency docking frozen
Wait for “all clear” state. Timer will continue from stopped state.
Sometimes station in red alert cancels traffic queue. In this case you need to contact tower again. Timer will continue from stopped state too.
Timer will be killed if you’ll dock with any station (including PlanetFall
surface port), leave AEGIS zone of main station or enter wormhole.
is my special case. I have OXP simulating shields shutdown after fuel depletion. In this case you’ll get emergency docking permission immediately after request, if station is NOT in red alert state. I think this case is not matter of interest for casual gamer.
The second part of this OXP is visual helper – string of colored flashers on approach lane between main station docking port and beacon. It is the most obvious way to inform player state of docking clearance. I borrowed critical part of code from Neo-Dock Lights OXP
(author Thargoid) and tweaked it. Flashers rearranged from string to box configuration (I don’t like “airstrip” lights configurations) and more complex color coding scheme is implemented:
RED – docking is prohibited.
YELLOW – docking is allowed, but there are ships in approach lane OR you have less then 30 seconds to dock.
GREEN – docking is allowed and approach is clear.
BLUE – player is not in docking queue.
But wait, you probably ask. Moray before you already has docking clearance and traffic lights must be green or yellow for her. But you have no docking clearance yet and continue to see red lights. How you explain this contradiction?
Try to think in terms of augmented reality. Flashers are not real objects but visual effects, simulated by avionics. Moray before you has docking clearance and her avionics displays green lights for pilot on her HUD. You have not docking clearance and you see red lights on your HUD.
is incompatible with Neo-Dock Lights OXP
Technically it is not conflicting with other OXPs generating dock assist lights but I recommend to avoid using other visual docking helper OXPs to prevent graphic clutter.
Modified code from Neo-Dock Lights OXP
(author Thargoid) was used for visualization of docking status.
I thank commander vasig for invaluable help in testing this OXP in state of development.
I thank also commander cyxoway for multiple timer issue report and improved method of timer management.