ConfigurableWeaponCarry
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.
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. 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.
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"
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
– 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).
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.
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)