diff --git a/PackageDefinitions/workingtitle-aircraft-cj4-metapackage.xml b/PackageDefinitions/workingtitle-aircraft-cj4-metapackage.xml index d6d126d82..9671d18b1 100644 --- a/PackageDefinitions/workingtitle-aircraft-cj4-metapackage.xml +++ b/PackageDefinitions/workingtitle-aircraft-cj4-metapackage.xml @@ -1,4 +1,4 @@ - + CUSTOM CJ4 diff --git a/PackageDefinitions/workingtitle-aircraft-cj4.xml b/PackageDefinitions/workingtitle-aircraft-cj4.xml index 3e07bb0f0..694da5488 100644 --- a/PackageDefinitions/workingtitle-aircraft-cj4.xml +++ b/PackageDefinitions/workingtitle-aircraft-cj4.xml @@ -1,4 +1,4 @@ - + CUSTOM CJ4 diff --git a/docs/workingtitle-cj4/CHANGES.md b/docs/workingtitle-cj4/CHANGES.md index 46596413e..dfaae94cf 100644 --- a/docs/workingtitle-cj4/CHANGES.md +++ b/docs/workingtitle-cj4/CHANGES.md @@ -1,5 +1,5 @@ -# Working Title CJ4 v0.12.9 -Welcome to the Working Title CJ4 v0.12.9. This version brings compatibility for MSFS Sim Update 7, as well as a number of other enhancements and small fixes. +# Working Title CJ4 v0.12.10 +Welcome to the Working Title CJ4 v0.12.10. This version contains a few important fixes for bugs found since the SU7 release. Thanks to everyone, as always, for your contributions! We really love working with you all. @@ -20,13 +20,9 @@ Installation is easy, simply copy the `workingtitle-aircraft-cj4` folder inside **Important: We recommend that you fully delete the previous `workingtitle-aircraft-cj4` folder before copying this release.** -# General Changes -- SU7 Compatibility -- Adjustments to default screen brightness. (Thanks @charles-vomacka) -- Improved stroke fix for some cyan text displays on the PFD to make them more readable. (Thanks @charles-vomacka) -- Fix COM switch buttons on the audio panel. -- FMS now also accepts input from Co-Pilot keypad. - +## Fixes +- Fixed an issue where ILS would not auto-tune, auto-switch, or track for some ILS frequencies +- LNAV should no longer fail to provide guidance while a flight plan change is pending execution ## ⚠️ Known Issues * Wing Light Button does not light up. diff --git a/docs/workingtitle-cj4/Working Title CJ4 v0.12.9 Changes.md b/docs/workingtitle-cj4/Working Title CJ4 v0.12.9 Changes.md new file mode 100644 index 000000000..46596413e --- /dev/null +++ b/docs/workingtitle-cj4/Working Title CJ4 v0.12.9 Changes.md @@ -0,0 +1,41 @@ +# Working Title CJ4 v0.12.9 +Welcome to the Working Title CJ4 v0.12.9. This version brings compatibility for MSFS Sim Update 7, as well as a number of other enhancements and small fixes. + +Thanks to everyone, as always, for your contributions! We really love working with you all. + +## Note about Liveries +To accommodate for future work on the CJ4 there have been model changes made to the plane in SU7. This means that all liveries that still fully override panel.cfg with their own version (which they really shouldn't) won't work anymore. +You will notice a bad livery or other mods interferring by having all white screens in the cockpit. + +Liveries should use the method as described in our [Repainter's Guide](https://www.workingtitle.aero/packages/cj4/guides/repainter). +Many liveries already use that method and should work alright after the update. + +## READ THE GUIDE +Please, please, please read the operators guide for instructions on using features. A lot of hard work went into writing the guide and the Discord channels are clogged with questions that are readily answered in the guide. + +GUIDES: https://www.workingtitle.aero/packages/cj4/guides/ + +## Installation +Installation is easy, simply copy the `workingtitle-aircraft-cj4` folder inside the zip file to your MSFS Community folder. + +**Important: We recommend that you fully delete the previous `workingtitle-aircraft-cj4` folder before copying this release.** + +# General Changes +- SU7 Compatibility +- Adjustments to default screen brightness. (Thanks @charles-vomacka) +- Improved stroke fix for some cyan text displays on the PFD to make them more readable. (Thanks @charles-vomacka) +- Fix COM switch buttons on the audio panel. +- FMS now also accepts input from Co-Pilot keypad. + + +## ⚠️ Known Issues +* Wing Light Button does not light up. +* The Lower CCP LONG Press does not work for reselecting charts - we will look further at this. +* B/C button throws an error in the FMC - do not use B/C for now. +* Some "lettered" or non-runway-specific approaches now appear as something like RNAV A - 00 and do not allow the selection of a landing runway, preventing using the Approach Refs page - this is something we will be working to address in the future. +* Some external applications that use the GPS/Flight plan SimVars may not function correctly or as expected when FP Sync is off. +* Loading and saving flights can have bad results. +* Custom liveries can render FADEC inoperative if they ship with a panel.cfg. Painters should reference our new [Repainter's Guide](https://www.workingtitle.aero/packages/cj4/guides/repainter) for solutions. +* Autopilot modes cannot be triggered via key bindings or controllers and must currently be triggered in the cockpit with the mouse. External binding applications are adding support for LVars and HEvents. Used SimVars are documented in our [Guide on SimVars](https://www.workingtitle.aero/packages/cj4/guides/simvars). +* Sometimes a heading to altitude instruction on takeoff will display further than the first RNAV fix on an RNAV departure procedure; in these cases the workaround is to cross-check the DP chart and remove the erroneous waypoint either by deleting the heading to altitude fix or dropping the first RNAV fix onto the magenta line in the LEGS page. +* Due to sim autopilot bank rate limitations, the aircraft may overshoot on certain RNP approaches with tight turns. If you encounter this, we recommend hand flying the approach with the given lateral and vertical guidance. diff --git a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/FMC/CJ4_FMC_InitRefIndexPage.js b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/FMC/CJ4_FMC_InitRefIndexPage.js index 415eb9e70..363289bfd 100644 --- a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/FMC/CJ4_FMC_InitRefIndexPage.js +++ b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/FMC/CJ4_FMC_InitRefIndexPage.js @@ -1269,7 +1269,7 @@ class CJ4_FMC_InitRefIndexPage { ["Working-Title-MSFS-Mods[white s-text]"], [""], [" VERSION[blue]"], - ["0.12.9[s-text white]"], + ["0.12.10[s-text white]"], [""], [""], [""], diff --git a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/LNavDirector.js b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/LNavDirector.js index 00e541fdd..a92891954 100644 --- a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/LNavDirector.js +++ b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/LNavDirector.js @@ -277,11 +277,11 @@ class LNavDirector { this.sequencingMode = FlightPlanSequencing.INHIBIT; this.state = LNavState.TURN_COMPLETING; - this.fpm.setActiveWaypointIndex(this.activeFlightPlan.activeWaypointIndex + 1); + this.fpm.setActiveWaypointIndex(this.activeFlightPlan.activeWaypointIndex + 1, EmptyCallback.Void, 0); } else { this.state = LNavState.TURN_COMPLETING; - this.fpm.setActiveWaypointIndex(this.activeFlightPlan.activeWaypointIndex + 1); + this.fpm.setActiveWaypointIndex(this.activeFlightPlan.activeWaypointIndex + 1, EmptyCallback.Void, 0); } } } @@ -297,8 +297,8 @@ class LNavDirector { const nextWaypointIndex = this.activeFlightPlan.activeWaypointIndex + 1; - this.fpm.setActiveWaypointIndex(nextWaypointIndex); - this.fpm.clearDiscontinuity(nextWaypointIndex - 1); + this.fpm.setActiveWaypointIndex(nextWaypointIndex, EmptyCallback.Void, 0); + this.fpm.clearDiscontinuity(nextWaypointIndex - 1, 0); } this.sequencingMode = FlightPlanSequencing.AUTO; diff --git a/src/wtsdk/src/flightplanning/FlightPlanManager.ts b/src/wtsdk/src/flightplanning/FlightPlanManager.ts index 7904664c9..ab114b925 100644 --- a/src/wtsdk/src/flightplanning/FlightPlanManager.ts +++ b/src/wtsdk/src/flightplanning/FlightPlanManager.ts @@ -1047,8 +1047,8 @@ export class FlightPlanManager { * Clears a discontinuity from the end of a waypoint. * @param index */ - public clearDiscontinuity(index: number): void { - const currentFlightPlan = this._flightPlans[this._currentFlightPlanIndex]; + public clearDiscontinuity(index: number, fplnIndex = this._currentFlightPlanIndex): void { + const currentFlightPlan = this._flightPlans[fplnIndex]; const waypoint = currentFlightPlan.getWaypoint(index); if (waypoint !== undefined) {