Okkim-Bag_Of_Scripts icon

Bag Of Scripts

Another code library, yay!

By Okkim
Last updated 9 months ago
Total downloads 50827
Total rating 1 
Categories Libraries
Dependency string Okkim-Bag_Of_Scripts-1.3.4
Dependants 17 other packages depend on this package

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

1.3.3:

  • Added support for open bolt receivers in ContinuousFiringSound

1.3.4:

  • Fixed a bug with fade outs in ContinuousFiringSound