160,231 Commits over 4,566 Days - 1.46cph!
Merge from livestock_animals
Sharks now flee from players with animal repellant buff
Merge from livestock_animals
Bulls and rams will no longer flee from players with the animal repellant effect active
They will also not charge
Bee swarms won't chase players with the animal repellant buff (Croc pie)
Can still take damage if you walk through them though
RendererLOD stats now show float values in the text entry, but the slider will still round to an integer
Local server instance handler for Mac (only required some minor directory changes and disabling visual console convar)
Updated ignore file
merge from planner_blockedby_fix
Fixed building plan saying "Cannot build in this area" instead of "Blocked by X" for blockers in plain sight
merge from ramp_placement_fix
Improved ramp placement, aiming at the center of a foundation just works
Fix NetWrite.SendImmediate() not using the writeLock (pre-existing issue)
Cherrypick
162857 (Fixed LeanTween rare OOB error)
▋▍▅▆▌▄▆▌█▌ █▄▊▍▉▉▊██ █▇▆▉▆ ▋▍ ▄▊▅ ▊▋█▇▅▅▍▊▉▌▊▆▅ ▇▌▋▇▊█▍ ▉▋ ▉█▆▇▉▇▌ █▍▍ ▉▋▋▄▄▋ █▌ ▊▍▄▉▌▆▅▌▊▉█▆▊▊▉▍▆▍▄▋▊▉▋▄▍▊▊▇▊▋▊▊▆▊▇▊▊▍▊▄▅▋▋▆▄▊▇▍▆▌▌▄▊▋▆▅▅▄▊▅▊▌▆▌▍▌▄▍▇▌▆▇▇▄▉▌▋▉▍▇▇▊▅▋
Take the idea of batching position packets and instead apply it to all types of packets
- queue up packets per frame
- send them out after invokes finish
- packets are batched on the network thread so no change to the main thread
- new packet type to indicate if it's a batch of small packets
- ConVar to control batching at runtime
- client can handle both batched & unbatched packets
- batches are sent as "immediate" so they bypass raknet's internal buffering since we are now basically doing the buffering RakNet was doing
Shears balance - files missing from cs:169063 (fixes branch compile error)
- new ItemModShearTool on shears.item: 25% more wool than a knife
- shears.item: durability 200 (2x the knife)
- shears.entity: damage 4 slash + 4 stab (half the knife)
- Sheep.cs: applies the shear tool wool bonus, other blades unchanged
Added:
- Assets/Scripts/Item/ItemDef2/ItemModShearTool.cs (+ .meta)
Store bundles show as owned when you own everything in them
merge from store_bundle_owned
Fixing camera bone position for viewmodel
▇ █▉▆▋▉▉▅▆▉ ▍▌▉▌▌▋▉ ▆▌ ▋▍▄▇▉▍▋ ██▍▅█▍▊ ▌█▆▅ ▆█▆▊▋█ ▄▊▍▅█▅▆ ▉█▆▊▅▆▄ ▄▇ ▄▄▄▆▄▅▄▅▊█▊▊▇ ▋▊▅▅▊▇ ▌▍▉▄ ▆▊ ▊▍▊▄▋▅ ▅▄ ▌█▅▉ ▉▇▍▉▌█▍ ▉▊▆▊ ▉▉▍▉ ▋▅ ██▄▋▉█ ▅▇▄▍▆█ ▉█▇ ▉▉▊▆▇▇ ▅▅ ▄▋▄▇▆▅▉▋▉▇ ▍█▍ ▅▌▍▍▋▅▋
- Net LODs use 16m position cells for all ranges instead of cached group lists
- Set network lods to be off by default
- Profiling
- Code cleanup
merge from scrap_king_buildingskin_dlc
Fixed roof overhangs collider info using OnlyBlockBuildingBlock instead of OnlyBlockDeployables
Fixed entity spawning renderers after it was parented not setting them as dynamic (plants)
Fixes plants growing on boats disappearing after sailing
merge from plants_dynamicculling_fix
▉ ▋▋▅▄▋ ▍▉▅▉ ▍▇▇▅▍▅▉▌▇▊▇▄▋▊▇▄
▍ ▆▆▄ ▋ ▇▋▄▉ ▋▆▇▍ ▉█▄█▋▆ ▋▊▌▌▌▌▌▅▄ ▌▆▉▉▋ ▇▋▉▋▍▌▄ ▄▉▍▄▍▇▄ █ ▅▄▇▉▅▍▋ ▄▇▇▆▍▆▋ ▆▇ ▅▋▊▊▌▍▆█ ▍▅▊▅▍▌▍ █▌▋▍▋ ▍▄█▋▉▊▅█ ▋▍▌▇ ▆▊ ▌▆▋█▊ ▅▌▌▉ ▍▆▉▅▉ █▋▄▉▋▉ █▅▇▌▄▅▋ ▌▋▄▇▇
Shears balance
- 25% more wool than a knife (12-13 per sheep instead of 10, before Yield gene) via new ItemModShearTool on the shears item
- 200% durability of the knife
- 50% damage of the knife - accidental hits or using on a lamb hurts the animal less
- other blades shear exactly as before
- added Shears_TakeMoreWoolThanAKnife test
Fix adding a state jumping to a random level in the FSM.
Add support for success/fail transitions rather than just ignoring them.
Merge from grenade_drop_animations
Setup nicer drop predictions for all grenade types
Fix crashes related to recent changes, including saves
Minor cleanup
Allow m_hGoalEnt in SetSaveValue
Try to account for info_ladder_dismount inside ground
Fixed VPC spitting debug files into release config on Linux
Allow m_hPhysicsEnt in SetSaveValue
* hEnemy is replaced by NPC:SetEnemy
Fixed RRP particle lighting and shadow flicker
Added shadow strength to 3P shader
merge demo_export_fix to main
▍▉▅▅▇▆█▉▋▆▇█▅▊▇▊▌▉ ▉▌▊ ▆▄▌▉▄▇▋█▋▄▉▉ ▋▋
merge from mirrored_stairs
merge from scrap_king_buildingskin_dlc
▋▉▅▍▌▉▍▉█▉ ▍▊▆█ ▇█▊▇▇ ▍▇▋▇▇▊