CSW Crates spawned through scroll wheel cannot be carried #47

Closed
opened 2024-04-27 19:24:53 -05:00 by Ajdj100 · 2 comments
Owner

"Item is too heavy to carry" message is shown when trying to carry the CSW crate spawned by the scroll wheel on the arsenal, but the composition boxes can be carried fine.

"Item is too heavy to carry" message is shown when trying to carry the CSW crate spawned by the scroll wheel on the arsenal, but the composition boxes can be carried fine.
Owner

Framework does currently does 2 parts:

  • Forcibly defines max carry weight to 1800 kgs and max drag weight to 2400 kgs
  • any boxes created via the framework are set to ignore carry weight to make them always carryable via ignoreWeightCarry fn_createBox.sqf#165

The latter is wrong as the variable to bypass carry restriction is titled ace_dragging_ignoreweightcarry not ace_ignoreweightcarry.
This can be corrected.

With regards to the composition boxes being carriable, the likely cause for that is the composition has not yet updated to the latest provided box contents, to which the framework's has, which likely puts it over the 1800 limit.

Framework does currently does 2 parts: - Forcibly defines max carry weight to [1800 kgs](https://gitea.iceberg-gaming.com/17th-Ranger-Battalion-ORG/MissionTemplate/src/commit/3c0124070e36356531ac4f9252f50b1453682c77/framework/init/functions/fn_setDefaults.sqf#L11) and max drag weight to [2400 kgs](https://gitea.iceberg-gaming.com/17th-Ranger-Battalion-ORG/MissionTemplate/src/commit/3c0124070e36356531ac4f9252f50b1453682c77/framework/init/functions/fn_setDefaults.sqf#L10) - any boxes created via the framework are set to ignore carry weight to make them always carryable via ignoreWeightCarry [fn_createBox.sqf#165](https://gitea.iceberg-gaming.com/17th-Ranger-Battalion-ORG/MissionTemplate/src/commit/8e10819b92eb883f25d28e0335d4d9b57d83c24b/framework/resupply/functions/fn_createBox.sqf#L165) The latter is wrong as the variable to bypass carry restriction is titled `ace_dragging_ignoreweightcarry` not `ace_ignoreweightcarry`. This can be corrected. With regards to the composition boxes being carriable, the likely cause for that is the composition has not yet updated to the latest provided box contents, to which the framework's has, which likely puts it over the 1800 limit.
hizumi added reference develop 2024-05-20 18:01:19 -05:00
hizumi added the Kind/Bug
Reviewed
Confirmed
Priority
Low
labels 2024-05-20 18:01:43 -05:00
hizumi self-assigned this 2024-05-20 18:01:48 -05:00
hizumi referenced this issue from a commit 2024-05-26 16:38:37 -05:00
Owner

fixed in db7bdf1ecd

fixed in db7bdf1ecdbb34cd34738a5e4599afa1f1993fe8
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 17th-Ranger-Battalion-ORG/MissionTemplate#47