derzade / backpackonchest Goto Github PK
View Code? Open in Web Editor NEWBackpackOnChest is a mod, which adds the functionality of carrying an extra backpack on your chest.
BackpackOnChest is a mod, which adds the functionality of carrying an extra backpack on your chest.
Instead of checking if the config file is present BIS_fnc_itemType
can be used.
steps to repo.
Set freq to something other than the original.
But backpack on cheast
Put backpack on back
freq is now the original.
tested with various tfar enabled backpacks.
Reported by Bagellord on the Steam Workshop:
Hey - noticed an odd issue the other night. I had a mission where we started off in freefall, and used the mission editor module to put the backpacks on chest then added a parachute using the module. Everything was fine and dandy when we got to the ground - ditched our reserve chutes and put the backpacks on our backs, but when we got into a vehicle and then back out, it thought the pack was on front again and forced us to walk slow. Had to switch backpack to chest, then back off again. This occurred even if you didn't have have a pack when you got into a vehicle.
Corresponding Video:
https://www.youtube.com/watch?v=BGF1vUYMr1o
Throw a warning in the RPT if the function, to which was directed does not exist.
wie sollte es sich verhalten
Ich packe mein Backpack on Chest, respawne und kann dann mein Backpack wieder auf den Rücken packen.
wie verhält es sich im Moment
Ich packe mein Backpack on Chest, respawne und mein Backpack on Chest ist weg.
Rahmenbedingungen
Normaler Schlachtbetrieb, wiederholbar.
(4.) Schritte zur Reproduktion
Backpack on Chest,
ein zweiten Rucksack anziehen,
Respawnen,
Rucksack on Chest weg.
(5.) Mögliche Lösung
Beim Respawn checken ob ein Backpack on Chest ist, wenn ja dann zwischenspeichern
und dann beim spawnen dem Soldaten wieder geben.
I used to be able to swap backpacks whilst swimming ( as shown here ) but this option is no longer available.
Steps to recreate. Placed rifleman, a backpack and parachute in editor. In single player - pick up backpack, using ace self action place backpack on chest, pick up parachute. Swap option is available.
Move into shallow water... swap option still available.
Move into deeper water... only self action available for equipment is attach item. the swap action is no longer there.
[By the way - thank you for your work!]
Add a removeMagFromChestpack function.
<German>Rucksack auf den Bauck</German>
Instead of checking if the config file is present BIS_fnc_itemType
can be used.
Keeping the Settings of TFAR Backpack Radios after putting it on your chest and back
Allow the BackpackOnChest ACE-Actions while player is in a vehicle.
Mods: @ace, @cba_a3, @backpackOnChest
Mission:
Vanilla unit: with an empty backpack
Weapons crate containing a pistol
Bug:
Launch mission, go to the crate and place the pistol in the backpack
Select "put back pack on chest"
There is a script error and the backpack is duplicated
17:54:21 Error in expression <0;
if (isClass (configFile>>"CfgWeapons">> _item >> "ItemInfo")) then {
_itemMas>
17:54:21 Error position: <>> _item >> "ItemInfo")) then {
_itemMas>
17:54:21 Error >>: Type Array, expected String
17:54:21 File zade_boc\functions\commands\fn_canAddItemToChestpack.sqf..., line 24
Custom button in arsenal is not hidden, when pressing RMB to hide UI.
http://i.imgur.com/gOhFV8n.png
Requested by Crielaard in the BI Forums:
Hi Zade. We use your mod ever since it exists. But what we now start to notice is that backpack put in backpacks are not being saved. I've been dashing through your code but since you know it like the back of your hand I figured it would be easier to just tell you here.
On a next update, can you check if you can fix this issue.This code snippet could help you in the right direction:
(unitBackpack myguy) addBackpackCargoGlobal ["myextrabackpack_classname",1];Obvious question:
Why are you putting a backpack in a backpack!?
Answer:
Simple, When parachuting into the AO you take a large backpack with all your junk. You want to use a smaller pack to take what you need for an assault and leave you large backpack in your harbour area.
pls
BOC throws an error when units without a backpack are synced with the module http://i.imgur.com/n5K4LR4.png
Every unit after the one causing the error will not be processed anymore
please catch the error for enhanced usability
Player is able to sprint with a chestpack after picking up a box (ace sets forceWalk) and releasing it again (ace resets forceWalk).
Reported by [VTR]KiDo on the Steam Workshop
Take backpack.
Put pistol/rifle/launcher in it and try to swap.
Error will pop up and second backpack appears.
12:35:55 Error >>: Type Array, expected String
12:35:55 File \zade_boc\functions\commands\fn_canAddItemToChestpack.sqf [zade_..., line 24
12:35:55 Error in expression <0;
if (isClass (configFile>>"CfgWeapons">> _item >> "ItemInfo")) then {
_itemMas>
12:35:55 Error position: <>> _item >> "ItemInfo")) then {
itemMas>
12:35:55 File \zade_boc\functions\commands\fn_canAddItemToChestpack.sqf [zade..., line 24
Secondary muzzle mags now return []
even if no mags exist. So it should be handled as regular mags.
P.S. There is also new command introduced in 1.94
https://community.bistudio.com/wiki/addWeaponWithAttachmentsCargoGlobal
I got a lot of requests for a non ace version, which I probably will never do, but making the BOC functions work without ACE should be pretty easy. Then someone motivated enough can make a mod which just adds actions (or any other form for the user to use BOC) and use BOC as a dependency.
In order to make this possible the following things have to happen:
forceWalk
as a fallback for all occurrences of ace_common_fnc_statusEffect_set
fn_canAddItemToChestpack
has multiple occurrences of getNumber
:
Disable the ACE Self actions, when map is open.
Static Weapon Ammo isn't handled at the moment. That means, that you can make a empty static weapon full again, by putting it on your chest an back.
Just a reminder to think about it :D
When dying with BackpackonChest and respawning, there`s no BackpackonChest after respawn (OK) but in ACE3 Menu you can "Switch Backpacks" and then suddenly the Backpack which was on Chest before death reappears.... sometimes the invisible Backpack after respawn prevents from running too!
Gun in Gunbag gets deleted when putting the Gunbag on Chest.
I was sent French Translation by norx_aengell in the BI Forums.
In the swap action the backpack of a unit is just removed instead of letting the unit drop the backpack.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.