Page MenuHomeFeedback Tracker

Add the ability to adjust the weight and volume of items in script
Assigned, NormalPublic


Please add the ability to modify the weight and volume of an item at runtime via script. There are native functions InventoryItemComponent::GetTotalWeight and InventoryItemComponent::GetVolume. Maybe there could be an overrideable function instead with a float return or something?

The use case would be for physical items with some virtual props (like quantity) that increase or decrease their weight/volume of it. e.g. a magazine with very heavy ammo where each bullet could make a difference. Or depending on the animation state a map could take up more volume unfolded than folded.


Operating System
Windows 10 x64

Event Timeline

Arkensor created this task.May 31 2022, 6:55 PM
Kiwi added a subscriber: Kiwi.May 31 2022, 7:02 PM
Geez changed the task status from New to Assigned.Jun 1 2022, 5:38 PM
Arkensor renamed this task from Add the ability to adjust the weight of items in script to Add the ability to adjust the weight and volume of items in script.Jun 17 2022, 4:00 PM
Arkensor updated the task description. (Show Details)
Arkensor added a subscriber: Geez.

@Geez not sure if changes on the FB tracker carry over to JIRA. I added a section to ask about volume as well instead of only weight. Please update the JIRA ticket if needed. Thank you :)