4,148 Commits over 1,219 Days - 0.14cph!
Merge global_networked_bases/proper_disable_command
Add `InstancingConfigComponent` to root level of component
Add option via the config to disable instancing on a prefab
Disable instancing on `junkpile_i` as it uses a cliff child prefab that supports instancing
Also disable instancing on portal prefab
Merge from global_networked_bases -> main
Disable instancing on deployables it was unintentionally left on
Enable instancing & global networking on large furnace
Add button in editor to list every prefab with instanced rendering enabled
Remove instancing from metal shopfront due to glass not working & incase it murders performance if I fix it
Fix wooden shopfront door
Fix all door prefabs
- external gates
- cell door
- garage door
- square + triangle ladder hatch
- fence door
- double doors
Remove `StripEmptyChildren` from garage door & ladder hatch to fix codelocks
Standardize `IsInstancingEnabled` and `IsInstancingDisabled` based on convars
Merge from global_networked_bases -> main
Remove instanced rendering from sleeping bag
Added `OnKilled()` hook to BaseNetworkable so it broadcasts deleted building blocks outside of network range & doesn't send them when you reconnect
Merge from global_networked_bases -> main
Change `LogError` to `LogWarning` when calling Initialize twice
Remove `StripEmptyChildren` component from doors: was causing NRE when trying to attach codelock / keylock
Change shadow material from `watersplash-1` to `shadows`
Merge from global_networked_bases -> main
Some ints not reset when disconnecting from server
Missed clearing recycledCells list
Fixed some Dictionarys not cleared when disconnecting
Ensure initialization and destroy are called only once (to avoid nativearray dispose errors)
Fix `print_global_entities` not actually printing the output
Fix error / crash when reconnecting to server
Missing whitespace at end of .meta?
Renamed `StripChildren` to `StripEmptyChildren` to clear up function of component
Fix empty children stripping to ensure normal stripping runs before empty gameobject stripping
Fix GlobalNetworkHandler not picking up all entities when first loaded into an existing save
Merge from main -> global_networked_bases
Update global_networked_bases/2021
Mark if mesh is the highest LOD
Don't scale highest LOD by FOV or quality setting (to ensure all prefabs cull at the same distance regardless of your settings)
Add `supportsComputeShaders` to client performance analytics
Fix menu slider for "building distance" not having correct translate phrase
Fix GPU culling data not being updated when visibility of mesh is changed (to hide windmills & sam site placeholders inside network range)
Added `global_networked_bases` convar to disable networking of global building blocks server side
Log time taken to send all global entities to players
Merge from main -> global_networked_bases
▍▋█▍▄▉▇ `▍▆▇▅▇▄▋` ▆▇▆▄▅▍▋
Show loot panel when backpacks other than your equipped one are selected
Don't allow moving items into backpacks by drag & drop items onto them
▍▉▋█▉▆▍ █▊▉▋▍▊▌▉ ▆█▄▉▌▍ ▊▋▇██ █▅▉ ▋▅ ▇▌▆▄▊ ▉▍▌▌▉▋'▇ ▊█▇██▇▅▆▊ ▋▋▆▆ ▌█▍▄▌▌▌▍█▇ ▄▇▋▌▊█
Don't network contents of backpacks, only network the backpack (so it can be shown on other players)
Cycle the inventory when a backpack is added & removed (so backpacks update like clothing when added to sleepers)
Prevent items being added to backpacks when in normal inventory
Show a different icon when the backpack is empty vs has items in it
Fix normal items having a "Hold E" to pickup off the ground
Remove `IsBackpackWithItems()` and ensure volume system produces same results
Assign "itemVolumeWhenFilled" of backpack to "2"
Add "containerVolume" and "itemVolume" to represent how only empty backpacks can go into normal inventories
Item default volume 1
Container default volume 1
Only right click into your own backpack when it is open: don't right click into the backpack of the player you are looting
Don't prioritize right clicking items to backpack when it is full
Fixed players being unlootable again
Add backpack container when looting
Support moving backpack to corpse when dying (default it pops off you)
Update player lootpanel with backpack slot