Arma 3
265 ratings
BackpackOnChest - Redux
4
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
150.731 KB
Jan 23, 2021 @ 8:31pm
May 7 @ 2:59pm
5 Change Notes ( view )

Subscribe to download
BackpackOnChest - Redux

In 1 collection by mjc4wilton
The Shlappening Mod Collection
21 items
Description
BackpackOnChest - Redux
An official rewrite and continuation of the original BackpackOnChest mod by DerZade. This mod allows you to have a backpack on your chest and on your back at the same time, with movement penalties. Great for parachutes!

Improvements from the original
  • Optimizations.
  • Support for variables associated with the backpack (for items such as the ACE Gunbag or TFAR backpack radios).
  • Transition to an easier development platform with the support of CBA and ACE macros.
  • Various other improvements.

Links
Contribute to the project on Github[github.com]
View documentation on the Github Wiki[github.com]

FAQ:
Can I pack this mod into my unit's modpack?
Go ahead. If your unit's mod is published on the workshop / elsewhere other than say a FTP or HTTP repository for sync, all I ask is that you leave a link back to this workshop page or the github repository but its completely optional since this mod is licensed under the MIT license.
140 Comments
Ace Jun 30 @ 3:37pm 
We've been having some collision issues with people being inside of vehicles and the vehicles freaking out and being sent to space when people are wearing two bags. I haven't been able to troubleshoot this further but you may want to double-check wherever ArmA handles collision.

Alternatively, this might be a conflict between Backpacks on chests and the walkable moving objects mod. It's hard to say without more concrete reproduction steps. If anyone else is having this problem, let us know.
vnthony_ka Jun 30 @ 9:28am 
Does this have AI support?
mjc4wilton  [author] Jun 9 @ 6:55pm 
It is known. I have an update planned to roll-back some recent changes which made this behavior worse and handle some things I was trying to do with it differently.
Kalle Jun 8 @ 10:24am 
When switching the backpack to chest and back it resets the radiochannels with ACRE. Is this a known bug?
mwpowelllde May 9 @ 12:01am 
Good to know and thank you.
Mar 18 @ 2:17pm 
Thanks for the help.

I just needed to write in a patch to prevent people from using the "Alternative Running" sprint mod while carrying a bag on their chest since they were able to circumvent the force-walk restriction by just doing the modded sprint (The mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2198339170)

I just had to change the path to the XEH_preinit.sqf to my own and included this in the beginning to patch the exploit, code below worked as needed as a simple workaround

if (!isNil {player getVariable ["bocr_main_chestpack", nil]}) exitWith {
systemChat "You are unable to sprint with a bag on your chest.";
};
[+| CL rautamiekka Mar 18 @ 9:52am 
@mjc4wilton

I almost had it, wasn't totally sure about `_main_` being there, and couldn't be arsed to boot the game to try.

I'd recommend using `isNil` directly as of 'Arma 3' v2.18:
_unit isNil "bocr_main_chestpack"

instead of

isNil {_unit getVariable ["bocr_main_chestpack", nil]}
Mar 17 @ 4:49pm 
Thank you! 👍
mjc4wilton  [author] Mar 17 @ 3:17pm 
the macro actually expands to bocr_main_chestpack. Easiest way to check if a player has a chestpack is to run

if (isNil {_unit getVariable ["bocr_main_chestpack", nil]}) then {
systemChat "Unit does not have a backpack on their chest";
};
[+| CL rautamiekka Mar 17 @ 11:50am 
@Ↄ

`_unit getVariable "bocr_chestpack"` (98% certainty), as defined on line 52 in the `/addons/main/functions/fnc_addChestpack.sqf` file, showing what the var contains.

^ GitHub link: https://github.com/mjc4wilton/BackpackOnChestRedux/blob/master/addons/main/functions/fnc_addChestpack.sqf#L52