ConfigurableWeaponCarry

If you liked this item, please rate it up on Steam Workshop page.

Author: SweetCaptn

Last revision: 21 May, 2023 at 20:19 UTC

File size: 76.8 KB

On Steam Workshop

Description:
What Is This?

A mod that restricts the carrying of weapons on the "back" slots (Shoulder and Melee) unless you have a sling or a backpack equipped. Everything can be tweaked in the configuration file, so you can include any weapons added by other mods, and also set the backpacks that are allowed to carry weapons.

By the default settings, improvised backpacks and courier bags can’t be used to carry weapons. If you wish to change this, you will have to add the corresponding classnames to the Backpacks list.

It already supports many item packs, so make sure to check the list in the discussions.

Settings

The settings will be found inside your server’s profile folder under "ConfigurableWeaponCarry". If you want to take a look at them without downloading the mod, head over to the discussions.

{ "EnableDebug": 1, "AllowWithBackpack": 1, "UseBackpacksList": 1, "Weapons": […], "Backpacks": […] }

Options
  • EnableDebug. Whether to enable debug messages to the log (Unused for now)
  • AllowWithBackpack. Whether to allow backpacks to carry weapons.
  • UseBackpacksList. Whether to use the "Backpacks" list as the only backpacks that can carry weapons. If disabled, any backpack will be able to carry weapons.
  • Backpacks.The backpacks that can carry weapons.
  • Weapons. The weapons that are restricted and can only be carried with slings or backpacks.

Installation

Install as usual, copying the mod into the server folder and including the mod’s folder name in the "-mod" parameter of your server start file. Dont forget to put the key inside the keys folder of the mod into the keys folder of your server.

"-mod=@YourOtherMods;@ConfigurableWeaponCarry;@YourOtherMods"

Compatibility and Issues

Needs more testing. Make sure to report any issues and incompatibilities in the comments section or the discussions.

– Must synchronize configuration between client and server. Will fix today

Planned Features

Include settings to restrict the backpacks that can be used to carry weapons. Done!
– Add own gun and melee slings, you can use Munghard’s or Tactical Flava’s awesome slings for now (or any other slings for that matter, as long as they arent in the "Weapons" list).

Notes

Please bear in mind that I just started modding, so expect my mod(s) to be unpolished (and maybe even contain errors too). I will learn as I go, so report any problems in the comments section and I’ll try to get them fixed as soon as I can.

Credits

This mod is inspired by Mr_Mitch_Rapp’s ZH Immersive Weapon Carry, so a huge thanks to him!

– Mr_Mitch_Rapp
– Zenarchist (for sharing his work and allowing the community to learn from him)

Feel free to unpack, repack or do whatever you want with the mod, as long as you credit its source.

Remember to always look at the change notes. As of now, I won’t be making any important changes to the configuration file.