BONELAB
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
1.3K
Size
37KB

Weapon Sling

A physical weapon sling for BONELAB. The strap is a real rope you can grab with both hands, stretch, and hang on your shoulder, and your gun hangs from it and swings.

Early version (0.1.0). Please report problems with the exact lines from MelonLoader/Latest.log that start with [Sling].

Features

  • Physical strap. It sags when slack, pulls tight when stretched and turns red when stretched hard.
  • Two-handed grab. Squeeze Grip with an empty hand next to the strap to hold that point. Hold two different points with two hands to stretch it.
  • The gun hangs from the strap. While you hold the strap, the gun is carried by it and swings on it.
  • Shoulder carry. Bring the hand holding the strap to your shoulder and the sling attaches. You get a popup: Sling attached.
  • Take it off. Grab the strap at your shoulder and yank it away. You get a popup: Sling removed.
  • BoneMenu settings. Strap length, stiffness, damping, grab radius, shoulder position and more. Changes apply instantly and are saved.

How to use

  1. Pick up a gun (or any item), then open BoneMenu > Sling > Attach strap to last held item. A strap appears on it.
  2. Grab the strap with an empty hand (Grip). Hold it with one or both hands.
  3. Bring the strap to your shoulder to put it on. Yank it away from your shoulder to take it off.
  4. Other buttons in the menu: remove the strap from the item, take the strap off the shoulder, remove all straps.

Up to 4 straps at a time. Straps are removed when the level changes.

Requirements

  • BONELAB on PC (Quest is not supported).
  • MelonLoader and BoneLib (installed automatically by mod managers).

Multiplayer (Fusion)

The gun's position is synced by Fusion, so other players see it hanging and swinging. The strap itself is drawn only for players who have this mod, and its forces are applied on your own client.

Known limitations

  • The strap does not pull on you or your hands, only on the gun.
  • The strap does not collide with the world.
  • The attach points on the gun are picked automatically from its model, so the strap may sit oddly on some items.

Settings

Everything is in BoneMenu > Sling, and saved in UserData/MelonPreferences.cfg under [Sling]. If the grip button is not detected on your setup, check the log for the line Grip input: and set GripMethod in the config.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.