Mod that adds PAPI (Precision Approach Path Indicator) lighting to Kerbal Space Program 2's runways.
Important
If you are experiencing performance issues, you can set the config option use_pixel_counting
to false
(or No in SpaceWarp).
You can modify the mod settings using:
- SpaceWarp
- BepInEx.ConfigurationManager
- Manually by editing
BepInEx/config/ksp2-papi.cfg
This will disable the pixel counting and fall back to unity's physics raycasting. When disabled however the mod will not account KSP2's distant terrain as it does not have colliders so you will see the flares through the terrain if you're far away from it.
Use CKAN (recommended)
- This is the recommended way of installing KSP2 mods as it automatically installs dependencies.
-
Extract the contents of ksp2-papi*.zip into KSP2's root directory or copy
BepInEx/plugins/ksp2-papi
intoKerbal Space Program 2/BepInEx/plugins
-
Open Windows PowerShell
-
Clone this repository (either use
git clone
or download as.zip
) -
Go to repository root:
cd ksp2-papi
-
Run
dotnet tool restore
-
Run
dotnet cake [--target {Clear|Build|Pack|Install|Uninstall|Start}] [--configuration {Release|Debug}] [--ksp2-root <path>] [--skip-unity]
Arguments enclosed in[]
are optional.
The defaults when not provided are--target Pack
and--configuration Release
.--target
Select one of the build targets defined inbuild.cake
.--configuration
Select build configuration. 'Debug' will copy debug symbols to the output.--ksp2-root
Tagets 'Install', 'Uninstall' and 'Start' need to know where your installation of KSP2 is located. If you don't want to set 'KSP2_PATH' in your environment to point to KSP2's installation directory you can specify it here.--skip-unity
You may specify this option if you want to skip building the assets and just copy the ones from a previous asset build.
Note: Targets 'Install', 'Uninstall' and 'Start' will not install the dependencies.
Found any bugs🦗? Have an idea to improve things💡? → Open an issue on GitHub