134,410 Commits over 4,444 Days - 1.26cph!
Exclude some more mountable parameters from the BaseVehicle inspector
Merge Main->Submarine. Also fixed "salt water" ui appearing + don't allow player to drink the sea water while mounted in a submarine.
Landing effects can show when mounting something from the water due to the following scenario:
- Player is moved to the new mounted position via a ForcePositionTo RPC from the server.
- ClientInput sees that they're now grounded and changes IsGrounded to true.
- FootstepEffects' Update tick sees the grounded change and plays DoLandingEffect().
- Separately, Client gets a Load with the updated mount data and sets isMounted to true, too late to stop the landing effect.
ForcePositionTo is called after SendNetworkUpdate on the server, but sometimes arrives before.
I couldn't work out an elegant fix for this. Instead I've added a RecentlyTeleported bool that goes true for one second after teleporting, and set FootstepEffects to not show a landing effect if RecentlyTeleported is true, which covers the gap between being teleported and being mounted.
Speed up writing to sv.files.db
phrases and codegen check
fixed 'notes' alignment on contacts panel
making sure the fur meshes are in LOD0 only
fix for disappearing lods on stag ragdoll
Reduced junk pile scientist range
Fixed junk pile scientists charging the player incorrectly.
More accurate vision distance. Reduced boar and stag vision ranges.
Increase tunnel dweller vision range
Added missing shader to graphics settings
small tweaks to wolf material
small tweaks to boar material
countryside bunker entrance - 3 extra dressing variations
Very WIP video exporting tools (extracted from old movie maker branch)
change swimming default to true
Don't show landing effect if player is mounted. Fixes water splash effect sometimes showing when mounting a submarine
Simplify climb/dive further
Improve sub climb/dive movement, remove the jerkiness
More reliable check to see if a mugshot is loaded before displaying on the UI
Some mugshot rotation improvements
Automatically delete mugshots from sv.files.db
FileStorage cache is now backed by a MruDictionary instead of Dictionary (LMK if this breaks stuff in any demos)
Don't allow buoyancyScale to go right to zero, as Buoyancy.cs puts the rigidbody immediately to sleep if you do! Solves some weird behaviour
Added coloured directional hose materials
Default colour radial menu option is now coloured green when using hose tool
Fix subs surfacing way too fast when driver dismounts
Adjust player colliders when mounted in the subs, to match them up with player bounds and make sure they can't be shot through sub walls
Auto-refresh mugshots once in a while
fix for nametags not being lit by time of day
cleaned up contacts UI
Pooling fixes
Don't render mugshots if the player isn't visible