branchrust_reboot/main/backpackscancel
111 Commits over 123 Days - 0.04cph!
▄█▆ █▆▍▆▅▄▊▉▅ ▍█▊ ▇▌█▇▍▊▅▆ ▆▊▍▋▆▆▆▍▋ ▋▇▆▋▄▋ ▍▇▄▄ ▌█▌▅ █▅ ▉▋▍▌▆▉█▌ ▆▄▌▆▆▍ ▍▌▊ ▋▇▊▅▌▆▄█
Fix compile error of editor holster tool
▆▍▍ ▉▋▆▆█▅▅ ▊▍ ▆▍▅▌ ▍▉█▋█▉▋▉ █▊▄█▅█ █▉█▋ ▊▉▍▍ ▅▄▋▋▍▄█ █▅▌▇▉ ▅▉▌▍█▋▆▇ ▄▄▅▌ ▆▊ ▋▅█▉
Prevent right clicking character model to rotate it while backpack is open
Add editor tool to save the current rotation of the holstered weapon to it's backpack offset (to the entity, you still have to coipy paste it to the prefab)
Rotate bows to face backwards when holstered on backpack
Rotate jackhammer holster to make air canister face backwards instead of sideways
Rotate HMLMG holster so ammo container faces backwards instead of sideways
Fix salvaged melee tools not having backpack holster position set
Fix diving AK not assigned to left side of backpack
Tweak offset of smallbackpack (-0.01 Z) , bolt & hmlmg to reduce floating holstered weapons
Merge from main -> backpacks
Fix hover looting items into a full inventory with partial slots not putting the remainder into the open backpack
AKA: 500 stone in main inventory (full), right click 1k stone, 500 -> main inventory, 500 -> open backpack
Merge from main -> backpacks
Prioritize the main inventory when hover looting items out of a container with a backpack open
Once your inventory is full, then overflow to the backpack
Fix picking up an empty backpack swapping backpacks instead of going into your main inventory
Change pickup delay of backpacks from 1.5s -> 3.5s
Reverted pickup icon for backpacks from a backpack sprite to normal open sprite
Fix trying to equip backpack when right clicking inside another backpack
Fix not swapping backpack when picking up off the ground (broke after fixing right click swapping items)
Merge from main -> backpacks
Block equipping a backpack inside a safezone when the backpack you are wearing has items inside it
This prevents the backpack being accidently dropped inside a safezone when equipping an empty one
Allow backpacks to be stolen by other players inside safezone (default behavior of dropped items)
Should be safe because backpacks also stay on corpses when you die inside a safezone (please don't die above one)
Merge "fixed" large backpack wearable
Fix crafted backpack replacing equipped backpack / going into backpack slot
Change delay when picking up backpack from 0.5s -> 1.5s
Can configure pickup delay in ItemModContainer
Change icon of "looting box" to backpack when looking at backpack on the ground
Recalcualte bones for large backpack wearable
Reserialize small backpack worldmodel
Merge from main -> backpacks
Merge from main -> backpacks
Fixed backpacks not facing player when they are dropped
Revert import size of large backpack from 85% -> 100% as the skinned mesh is fixed properly
Rotate large backpack world model to standing upright instead of laying on the ground (also modify buoyancy points to match new rotation)
Increase collider size of large backpack to prevent it tipping over when dropped on flat ground
Decrease collider size of small backpack to match the new model
Merge large backpack smaller scale -> backpacks
Fix right clicking item from inside a backpack on the ground not going into your worn backpack when it is open
Fix player model blocking certain inventory slots & having glow overlay when hovering over player model when backpack is open
Fixed right clicking empty backpack inside a backpack trying to wear it instead of moving it into your main inventory
Appear to have fixed NRE when wearing backpack while another backpack is equipped
Show amount of items in backpack as `3/12` via amount text
Make amount text smaller front when an item is worn (14 font size normally, 12 when worn) to account for smaller inventory slots
Reduce large backpack from 30 -> 28 slots to fit the inventory UI better
Scale large backpack mesh 15% smaller (until it's fixed properly)
Scale large backpack dropped model by 15% as well
Fix large backpack worldmodel box collider too big
Improve LODs of large backpack to be less noticable
Add `scaleForceWithMass` option to allow buoyancy to ignore mass (because backpack weight in world changes as items are added to it)
Dropped backpacks ignore mass for buoyancy
Add buoyancy points to backpacks & tweak so they float
Add support for dropped items to float (by adding buoyancy scripts to world model)
Despawn time of empty small backpack = 20min
Despawn time of empty large backpack = 40min
Backpacks will add up the despawn time of each item inside it
Added convar `itemdespawn_container_max_multiplier` to control max despawn time of backpacks (defaults to 2 hours)
Fix pooling error by removing HolsterSlot bone
Merge large backpack art -> backpacks
Merge placeholder backpack art
Show weapons on back on the side of backpacks
Merge from main -> backpacks
Fix backpack inventory panel visible by default (should be hidden)
Fix loot panel for backpack dropped in world showing `Loot` instead of `Small Backpack`
Don't drop the backpack off a player when they die in safezone
Block stealing other player's backpacks inside safezone
Also block looting other's backpacks inside safezone
Fixed dropped items not always recording the steam id of the player that dropped them