1,542 Commits over 1,705 Days - 0.04cph!
Don't allow firing torpedoes at all if the sub isn't in the water
Improved torpedo projectile behaviour, handle edge case environments. Some refactoring.
Fix subs getting kicked back by the colliders on torpedoes
Timed explosive prjectiles can now supply a different explosion for when underwater. Hooked it up for torpedoes.
Add effect recycle to explosion_underwater_surface
Hooked up torpedo explosion effects. Told the main effect not to loop.
Added Hidden/TerrainEngine/Splatmap/Diffuse-AddPass to always included shaders list
Mark driver as hostile when firing a torpedo
Added extra world colliders for the duo sub feet, so it sits on land more nicely
Don't allow subs to descend when out of fuel, but do still allow them to rise
Add audio for the ammo flag flipping state
Fixed helicopters bouncing from ground hit damage
Added nice bounce easing for the duo sub ammo flag
Torpedo ammo flag is no working, though it could do with a bouncy animation
- If a trigger is disabled, early exit in OnTriggerEnter. OnTriggerEnter still fires on disabled scripts because Unity.
- Remove unused SkipOnTriggerEnter method.
Disable duo sub pontoon parent triggers since they make it hard to climb on from the water
Disable parent triggers on the sub if they go underwater.
Merge FixSubmarineStability->Main. Hopefully this should vastly improve submarine stability and control on real servers.
- Bring back ArtificialHeight override for the subs, was getting bouncing again with the new system + less raycasts this way
- If ArtificialHeight is set, now skipping GetBuoyancyWaterInfo
Surface much more slowly after the five minute timeout
Don't have subs surface immediately after dismount. Wait five minutes.
Made player corpse ragdolls less buoyant
Reduced the deepUnderwater buoyancy raycast to 5m (performance, shouldn't need more)
Fix updating buoyancy on client
Merge moonpool_buoyancy_fix->main
▌▍█▍▉██ ▊▆▅██▋▇ ▉▍▉▄ ▅▇▌ ▋▇█ ▅▉▊▌ ▍▆▊
▋▇▄▉▊▊▉ ▊▄▇▍▌▇▇ ▅▋▊▋▄▉▊ ▆▄ ▋▍▆ ▌▉█
Stop window film water drops always playing when the player first mounts a sub
Adjust colliders to match Tom's updated pontoons
Only play windscreen water drops when moving
Extra checks for accessing torpedo container
Fixed MixerSnapshotManager constantly throwing NREs at the main menu due to no AmbienceManager instance
Cherry-pick submarine buoyancy fix, save215->Main
Fixed disconnect on dying when not inside any triggers. Sorry Staging players.
Made TriggerHurt an IServerComponent like the other hurt trigger types, since it's only used on the server side
▆▋ █ ▇▅▌▊▇▄ ▉▋ ▄█▌▄▌█ ▅▋▊▄▆ ▋█▊▅▄▅ ▆ ▉▌▆▉ ▌▆█▋▍▄▋ (▌.▋. ▊▍▅█▍▌ ▅▋▌▆), ▇▅▆▍▄▄ ▊▍▋▉ ▅█▋▉ █▉▉▊▄█▅▍▌▇▊ - ▌▇▆▅ ▅▍ ▉▋ ▊▌█▊'▆ █▋▇▄ ▍▆ ▊▅▅ ▉▄▇▇ ▉▊▇▅█▆▍ ▇▆▊█▋▊
Don't serialize lastDealtDamageTime
█▌█▋▅▄▊ ▇▉▊ ▆▅▊▊▋▉▅ ▅▅▊▄ ▌▉▄▇▊▅▆▅▌ ▌▋▇▌▌ ▇▊▌▆▇▊▆▍ ▇▄▋▄▉▍▌:
- ██▊▆▇▊▇█ ██▌▇▆▊▌ ▉▋▋▌█▌▇▍▋ ▄▋▌▆▍ ▉▊▊▇▇█▇.
- ▅▅▉▅▄ ▆▇▋▉▆▄▇▉▉ ▍▆ ▊█▍▄▉▌ ▆▊▌▄█▌▋ ▆▄▌▆██▊.
- ▆▊▇▊ ▍▅ ▆▋▊ █▋█▊█▍▌▇▇ ▌▆ ▌▍▇▍▋▉▍ ▇▅▅▅, ▄▄▇▄▄▅▆ ▅▇▉█▍-▇▇▍▆▇ ▆▆█▌▊.
- ▅▋▇▇█▍█ ▆▍▉▉▇▊█▇▇▍▋▅▆█▋▇▍▍▉▋ ▇▉▄▍▊▆ █▍ ▉▋▋▊▇▋▅▊ (▌█▍▊▉ ▍▄ ▆█▇▊▅). █▇▇'▇ ▌▅▄▊▌ ▊▌▅ ▆█▌▊▆ ▄▌ █▆ ▄▉▉▍▍▆█ ▉▌ █▇▉▆▉▅▇▇▌ ▅▊▉▋▆ ▉▌█▅▄▇▄.
Merge getWaveData_fix -> Main
For connect exceptions, show only the exception message in the console, not the whole stack
Turned the exception from a failed 'connect' console command into a warning. It now shows up in the UI and as a warning in the console, instead of in the UI and as red exception text on the main menu.
Fixed a graphics.uiscale value of 0.8 hiding the search text on the crafting screen when at 1080p
Add a couple of additional null checks to modular vehicle conditional refreshes
Speed up dance floor and sound light