A BepInEx mod that adds the YAL-1 COIL (Chemical Oxygen Iodine Laser) weapon system to the Darkreach bomber in Nuclear Option.
-
Install BepInEx (if not already installed)
- Download BepInEx 5.4.x
- Extract to Nuclear Option game folder
- Run game once to initialize
-
Build the Mod
# Windows setx NUCLEAR_OPTION_DIR "D:\SteamLibrary\steamapps\common\Nuclear Option" build.cmd # Linux/Mac export NUCLEAR_OPTION_DIR="$HOME/.steam/steam/steamapps/common/Nuclear Option" ./build.sh
-
Launch Nuclear Option and select the Darkreach bomber
See QUICKSTART.md for detailed instructions.
- QUICKSTART.md - 5-minute installation and usage guide
- NuclearOptionCOILMod/README.md - Complete user documentation
- NuclearOptionCOILMod/CONFIGURATION.md - Configuration guide with presets
- PROJECT_SUMMARY.md - Project overview and achievements
- .kiro/steering/ - Technical documentation and development guides
- Megawatt-class laser weapon based on real YAL-1 specifications
- 50km effective range (game-balanced)
- 30 shots of 5-second continuous fire
- 2000 damage per shot - destroys any target
- Configurable parameters via BepInEx config
- Visual effects - orange-red beam, particles, lighting
- Internal weapon bay mounting on Darkreach bomber
- Select Darkreach bomber in aircraft selection
- Spawn in mission or free flight
- Cycle weapons (Tab) to select COIL laser
- Aim at target and hold fire button
- Hold for 5 seconds to destroy target
- Rearm at airbase when depleted
Config file auto-created at: BepInEx/config/com.nuclearoption.coil.cfg
- Run game once โ Close game
- Edit
BepInEx/config/com.nuclearoption.coil.cfg - Restart game
[COIL Laser]
MaxRange = 50000 # Maximum range (meters)
MaxShots = 30 # Number of shots
DamagePerSecond = 400 # Damage output
PowerConsumption = 1000 # Power draw (MW)
EnableCOIL = true # Enable/disable mod- Balanced: Default settings
- High Power:
MaxRange=75000, MaxShots=20, DPS=600 - Training:
MaxRange=30000, MaxShots=100, DPS=200
See NuclearOptionCOILMod/CONFIGURATION.md for complete guide.
Based on the Boeing YAL-1 Airborne Laser program:
- Megawatt-class Chemical Oxygen Iodine Laser (COIL)
- Designed to destroy ballistic missiles at 300-600km range
- Mounted on modified Boeing 747-400F
- 1315nm infrared wavelength
- Program cancelled in 2011
- Language: C#
- Framework: BepInEx 5.x
- Patching: Harmony 2.x
- Target: Nuclear Option (Unity 2021.3.x)
- Architecture: Component-based, extends base game Laser class
COIL/
โโโ build.cmd / build.sh # Build scripts
โโโ QUICKSTART.md # Quick start guide
โโโ PROJECT_SUMMARY.md # Project overview
โโโ NuclearOptionCOILMod/ # Mod source code
โ โโโ *.cs # C# source files
โ โโโ *.csproj # Project file
โ โโโ README.md # User documentation
โ โโโ CHANGELOG.md # Version history
โโโ .kiro/steering/ # Developer documentation
โโโ coil-mod-development.md
โโโ coil-technical-reference.md
โโโ coil-build-test.md
- .NET Framework 4.6+
- BepInEx 5.4.x
- Nuclear Option game files
- Visual Studio or dotnet CLI
Windows:
setx NUCLEAR_OPTION_DIR "path\to\game"
build.cmdLinux/Mac:
export NUCLEAR_OPTION_DIR="path/to/game"
./build.shManual:
cd NuclearOptionCOILMod
dotnet build -c ReleaseOutput: bin/Release/net46/NuclearOptionCOILMod.dll
See .kiro/steering/coil-build-test.md for comprehensive test plan including:
- Installation testing
- Functional testing
- Combat testing
- Edge case testing
- Performance testing
- FPS Impact: <5 FPS drop while firing
- Memory: <10MB additional allocation
- Load Time: <1 second increase
- System Mass: 15 tons (realistic)
- Audio not implemented (silent firing)
- Basic visual effects (no advanced shaders)
- Only works on Darkreach bomber
- No power system integration
- Custom laser firing sounds
- Charging and shutdown audio
- Environmental effects
- Beam distortion shader
- Heat shimmer effects
- Enhanced particles
- Power management
- Thermal system
- Cooling mechanics
- Multi-aircraft support
- Targeting computer UI
- Weather effects
- AI usage
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Update documentation
- Submit a pull request
This mod is provided as-is for Nuclear Option. Not affiliated with Killerfish Games.
- Mod Development: Created for Nuclear Option modding community
- Based on: Real YAL-1 Airborne Laser program
- Game: Nuclear Option by Killerfish Games
- Framework: BepInEx modding framework
- Patching: Harmony library
- Issues: Report bugs via GitHub Issues
- Documentation: See docs in
.kiro/steering/ - Quick Help: Check QUICKSTART.md
Ready to vaporize targets with megawatt-class laser power! โก๐ฅ