Skip to content

Mursisru/HoldToLaunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer: Mursisru

Hold To Launch

Nuclear Option BepInEx 5 Version License: MIT


Critical warnings

Important

BepInEx 5 (x64) required - install BepInEx before this mod.

Note

Multiplayer safe - client-side gate only; no custom Cmd* / Rpc*; release still goes through vanilla WeaponManager.Fire.

MP-safe QoL mod for Nuclear Option: requires holding Fire before missile/bomb release. Guns can be limited to realistic burst length. Client-side gate only — no custom network RPCs, no server authority changes.

Plugin GUID: com.at747.holdtolaunch
Version: 1.0.0

Table of contents

Features

  • Hold-to-release for missiles and bombs — default hold 0.9 s before vanilla WeaponManager.Fire proceeds.
  • OUT OF ARC geometry — extended hold up to 1.3 s (configurable) when solution is marginal.
  • Denied states never releaseSafetyIsOn, not Ready, SalvoInProgress, remoteSim, etc.
  • Gun burst limiter — optional auto-cut after 1.0 s continuous trigger (configurable).
  • Multiplayer safe — mod sends no custom Cmd* / Rpc*; launch still occurs only through vanilla Pilot.Fire → WeaponManager.Fire.

Requirements


Install

Important

BepInEx 5 (x64) required — install BepInEx before this mod.

  1. Download HoldToLaunch_Engine.dll from Releases or build Release.

  2. Copy to:

    Nuclear Option\BepInEx\plugins\HoldToLaunch_Engine.dll
    
  3. Config: BepInEx\config\com.at747.holdtolaunch.cfg (created on first run).


Configuration

Key Default Description
DefaultHoldSeconds 0.9 Hold time for valid launch solution
OutOfArcHoldSeconds 1.3 Hold time when OUT OF ARC
GunBurstSeconds 1.0 Max continuous gun fire per trigger pull (0 = off)

Edit via Configuration Manager or the .cfg file while the game is closed.


Validation checklist (SP/MP)

  1. Select missile or bomb station; keep gun excluded if testing missiles only.
  2. Hold Fire:
    • valid solution → release only after DefaultHoldSeconds (default 0.9 s);
    • OUT OF ARC → release only after OutOfArcHoldSeconds (default 1.3 s).
  3. Denied launch states (SafetyIsOn, not Ready, SalvoInProgress, remoteSim) must never release.
  4. Guns: hold trigger continuously → fire stops after GunBurstSeconds; release and press again → next burst starts.
  5. Multiplayer: confirm no custom network messages; launch still via vanilla weapon pipeline only.

Build

msbuild HoldToLaunch_Engine\HoldToLaunch_Engine.csproj /p:Configuration=Release

Output: HoldToLaunch_Engine\bin\Release\HoldToLaunch_Engine.dll


License

MIT — see LICENSE.


Keywords

nuclear-option, bepinex, harmony, mod, hold-to-launch, qol, multiplayer-safe, csharp, unity

About

BepInEx mod for Nuclear Option: hold Fire before missile/bomb release; MP-safe client-side gate.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages