MuzzleScripts2

版本 v1.4.2·更新於 2025-11-15

A collection of scripts for my own mods! Refactored into a single DLL

模組介紹 作者原文

MuzzleScripts2

A collection of scripts for my own mods! Refactored into a single DLL.

Seeing as I cannot update MuzzleScripts due to a lost discord account, this will have to do lmao.

All of my old mods will use MuzzleScripts, all of my new mods will use this. If something old breaks, RIP.

Included:

  • AttachableFlintlockWeapon - Allows for the creation of attachable flintlock weapons. WIP and nonfunctional at the moment.
  • BreakActionPercussionNipple - Allows for the creation of break action firearms that require a percussion cap. Just add onto an existing break action script and fill the appropriate fields.
  • BreakActionSafetySwitch - Allows for the creation of break action firearms with a safety switch. Just add onto an existing break action script and fill the appropriate fields.
  • LeverActionManualHammer - Allows for the creation of lever action firearms with a manually actuated hammer. Just add onto an existing lever action script and fill the appropriate fields.
  • RepeatingFlintlockBarrels - Allows for the creation of flintlock weapons with a moving barrel cluster. Just add onto an existing flintlock weapon script and fill the appropriate fields.
  • SingleActionRevolverRingTrigger - Allows for the creation of single action revolvers with a secondary ring trigger that cocks the hammer and advances the cylinder, while preventing cocking the hammer manually from advancing the cylinder. Just add onto an existing single action revolver script and fill the appropriate fields.
  • UniversalSecondaryFirearmFrame - Allows for the creation of a universal object that can control all attachable weapons that are attached to it from a single place. Features three firing modes.
  • USFFCycleDelaySelector - Separate interactable object that allows the user to cycle between different Cycle Delays for the Universal Secondary Firearm Frame, changing the rate at which the frame cycles between weapons.
  • WeaponDegredationSystem - Allows for the creation of firearms that fall apart after a specified number of shots with special interaction options for Bolt Action firearms and Pump Action firearms.

Included is a.zip file with the editor DLL for mod makers.

  • LaserWeapon suite - Allows for the creation of Laser Weapons similar to Anton's Laser Pistol, but without the hardcoding. Includes Modular variant.
  • RevolverSecondaryBarrel suite - Allows for the creation of a Revolver with a secondary single shot barrel.

Changelog

  • 1.4.2 - Fixed an error where Laser Weapons that do not use heatsinks will repeatedly engage and disengage.
  • 1.4.1 - Added a Laser Type Indicator to the LaserWeapon Suite.
  • 1.4.0 - Added LaserWeapon script suite, including a Modular Workshop compatible variant and an Energy Level Indicator. Additionally, added RevolverSecondaryBarrel script suite.
  • 1.3.0 - Added Weapon Degredation System script.
  • 1.2.0 - Updated Universal UniversalSecondaryFirearmFrame script to enable more flexibility. Specifically, the RapidCycle fire mode was separated into a secondary optional toggle switch. Additionally, a separate script for an interactable cycle delay switch was added.
  • 1.1.0 - Updated UniversalSecondaryFirearmFrame script to have more adaptable system for firing modes, as well as a mode that rapidly cycles through and fires each attached weapon while the trigger is held.
  • 1.0.0 - Initial release.

Support My Work:

If you so wish, you can support my modding work by buying me a coffee!

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_H3VRnrgill28-HookGenPatcher_H3VRnrgill28-SodaliteMuzzle-MuzzleScriptscityrobo-OpenScripts2

檔案與校驗

檔案名稱
MuzzleScripts2-1.4.2.zip
檔案大小
241.1 KiB