How duythinh2022-ui/advanced-flight-controls-system-for-fs-20-vortex-nuclear-option works
FS-20 Vortex FCS is a Nuclear Option flight-control mod. The principal workflow is pilot input entering the game hooks, reaching a per-aircraft controller, then being allocated across control effectors and applied to the aircraft. Distinct branches add STOVL hover/throttle laws, fuel balancing and release protection, and aerodynamic changes such as staggered stall and drag relief. The graph includes documented capabilities whose exact call paths were not sampled; dashed links mark unverified integrations. Source excerpts are partial, so some relationships and subsystem internals remain uncertain.
Main entry points: Plugin.cs Plugin Setup · FcsController.cs FCS Controller · Allocator.cs Control Allocator · Hooks.cs Flight Hooks
Components 22
Game Integration
- Plugin Setup
Vortex_FS20.FCS/Plugin.cs - Flight Hooks
Vortex_FS20.FCS/Hooks.cs - Aircraft Registry
Vortex_FS20.FCS/Registry.cs
Flight Control
- FCS Controller
Vortex_FS20.FCS/FcsController.cs - Control Allocator
Vortex_FS20.FCS/Allocator.cs - Effector Model
Vortex_FS20.FCS/Effector.cs - Surface Effectors
Vortex_FS20.FCS/SurfaceEffector.cs - Vectoring Effectors
Vortex_FS20.FCS/TvcEffector.cs - Native Solver
Vortex_FS20.FCS/FcsNative.cs - Native Core
native/fcs_core/src/lib.rs
STOVL Control
- STOVL Laws
Vortex_FS20.FCS/Stovl.cs - STOVL Hooks
Vortex_FS20.FCS/StovlHooks.cs - Throttle Detent
Vortex_FS20.FCS/ThrottleDetent.cs - Vane Box
Vortex_FS20.FCS/VaneBox.cs
Airframe Systems
- Fuel Balance
Vortex_FS20.FCS/FuelBalance.cs - Release Guard
Vortex_FS20.FCS/ReleaseGuard.cs - Stall Stagger
Vortex_FS20.FCS/StallStagger.cs - Drag Relief
Vortex_FS20.FCS/DragRelief.cs
Feedback and UI
- Telemetry
Vortex_FS20.FCS/Telemetry.cs - Throttle HUD
Vortex_FS20.FCS/HudThrottle.cs
Other components
- Pilot
- Nuclear Option
Connections 24
- Pilot → Nuclear Option: provides controls
README.md - Nuclear Option → Flight Hooks: dispatches hooks
- Plugin Setup → Flight Hooks: patches methods
Vortex_FS20.FCS/Plugin.cs - Flight Hooks → FCS Controller: ticks controller
Vortex_FS20.FCS/Hooks.cs - Aircraft Registry → FCS Controller: creates controller
Vortex_FS20.FCS/Registry.cs - FCS Controller → Control Allocator: solves allocation
- Control Allocator → Effector Model: allocates commands
Vortex_FS20.FCS/Allocator.cs - FCS Controller → Surface Effectors: uses surfaces
Vortex_FS20.FCS/Registry.cs - Surface Effectors → Effector Model: extends model
Vortex_FS20.FCS/SurfaceEffector.cs - FCS Controller → Vectoring Effectors: uses vectoring
- Control Allocator → Native Solver: delegates solve
Vortex_FS20.FCS/Allocator.cs - Native Solver → Native Core: uses native library
- Plugin Setup → STOVL Laws: enables STOVL
Vortex_FS20.FCS/Plugin.cs - STOVL Hooks → FCS Controller: connects STOVL
Vortex_FS20.FCS/StovlHooks.cs - Plugin Setup → STOVL Hooks: registers hooks
Vortex_FS20.FCS/Plugin.cs - Plugin Setup → Throttle Detent: configures throttle
Vortex_FS20.FCS/Plugin.cs - Throttle Detent → Throttle HUD: updates display
Vortex_FS20.FCS/ThrottleDetent.cs - Plugin Setup → Vane Box: configures vane box
Vortex_FS20.FCS/Plugin.cs - Plugin Setup → Fuel Balance: configures balancing
Vortex_FS20.FCS/Plugin.cs - Plugin Setup → Release Guard: configures guard
Vortex_FS20.FCS/Plugin.cs - Plugin Setup → Stall Stagger: configures stall model
Vortex_FS20.FCS/Plugin.cs - Plugin Setup → Drag Relief: configures drag relief
Vortex_FS20.FCS/Plugin.cs - Aircraft Registry → Stall Stagger: registers jobs
Vortex_FS20.FCS/Registry.cs - Plugin Setup → Telemetry: configures telemetry
Vortex_FS20.FCS/Plugin.cs