Okkim-Bag_Of_Scripts icon

Bag Of Scripts

Another code library, yay!

By Okkim
Last updated 2 months ago
Total downloads 15685
Total rating 0 
Categories Libraries
Dependency string Okkim-Bag_Of_Scripts-1.3.2
Dependants 7 other mods depend on this mod

This mod requires the following mods to function

nrgill28-Sodalite-1.4.0 icon
nrgill28-Sodalite

Modding API and tools for H3VR code plugins

Preferred version: 1.4.0
nrgill28-HookGenPatcher_H3VR-1.2.3 icon
nrgill28-HookGenPatcher_H3VR

Generates MonoMod HookGen MMHOOK files during the bepinex preloader phase.

Preferred version: 1.2.3

README

Bag of Scripts is a code library made for my mods, released as standalone so it can be easily updated to accommodate future mods (and other modders!).

Changelog

1.0.0:

  • Main release
  • Added PistolBrace, PistolBraceToggle scripts; used to make toggleable pistol braces for one-handed shooting
  • Added ToggleAnimation; simple interaction plays an object's animation back or forth, used as-is in other mods or with PistolBrace

1.1.0:

  • Added PlaySoundOnLoadState; plays a sound either when the gun runs completely dry on ammo, or when the specified magazine is fully loaded
    • Only fill in the magazine or the firearm, not both!

1.2.0:

  • Added NambuSear; allows you to fire the gun by clicking on a simple interaction zone, or by hitting a physics collider
  • Added DropSlideOnMagRelease; causes the slide (or bolt) to release from its locked state when releasing a magazine

1.2.1:

  • Removed debug messages from NambuSear
  • Fixed DropSlideOnMagRelease applying to other guns

1.2.2:

  • ACTUALLY removed debug messages from NambuSear

1.2.3:

  • Included an editor version of the .dll for Meatkit

1.3.0:

  • Added PermanentlyAttachedWeapon; prevents a specified attachable weapon from being detached
  • Added ContinuousFiringSound; allows for a continuously firing sound when firing closed bolt weapons (support for open bolts and pistols coming later)

1.3.1:

  • Removed debug messages from ContinuousFiringSound

1.3.2:

  • Fixed a bug with underbarrel weapons in ContinuousFiringSound

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-12-14 1.3.2 6361 Version 1.3.2 Install
2022-12-13 1.3.1 395 Version 1.3.1 Install
2022-12-12 1.3.0 301 Version 1.3.0 Install
2022-11-6 1.2.3 2838 Version 1.2.3 Install
2022-10-20 1.2.2 4037 Version 1.2.2 Install
2022-10-20 1.2.1 24 Version 1.2.1 Install
2022-10-3 1.2.0 568 Version 1.2.0 Install
2022-9-24 1.1.0 482 Version 1.1.0 Install
2022-9-1 1.0.0 679 Version 1.0.0 Install