branchrust_reboot/main/vehiclescancel
1,452 Commits over 792 Days - 0.08cph!
Fix for "Lift occupant gets confused if a previous occupant is still in range when a new occupant is snapped."
Merge from Main -> Vehicles
Adjusted layer settings on the static and deployed vehicle lifts
Cap max explosion force a bit lower
Remove Model.cs components from modular car chassis and modules. Fixes issues with satchel charge etc parenting (getting attached to inactive objects in heirarchy, or attached to moving parts like steering wheel) since now everything simply falls back to attaching to the base transform. If we end up needing the model scripts in the future, we can potentially add a bool flag instead that simply saves the base transform as the only "bone".
Subtractive merge of #
49711.
Merge just to get that missing meta file
Merge from Main->Vehicles
Extra null checks for player.lookingAtCollider
Enable even output split on the 2module fuel tank
Fix crash when removing seating
DudTimedExplosive now looks all the way up the entity hierarchy to see if it was on a moving object, instead of just at the immediate entity. Fixes dud explosives on sub-entities from staying stuck on and messing with physics.
█▇▊▌▆▇ ▍▉█▍▌▆▇▉███ ▇▋█▉▊█▆▌ ▄▉▅▄▋ █▊▊ ▅▆▌█▇▇▅▄▅▌ ▇█▊▍ ▇▆▋▉▄▍▊▊▋▌▇. ▍'▆ ▋▋▉▊█ ▅▉▆▆ ▊▍▄▄▉ █▇▋ ▅▋▆▄▆▍, ▆▅█▋▍ ██▍▅█ ▅▇▇ ▊▆▍▇▄▊▄▉▋█, ▄▇▆ ▆▄ ▋▉▋▅▉ ▋▆█ ▄█▊▋▌▊▌▊▍▆▄▋▉▆█▅█▅ (█▉▋▇▇ ▊▆█▆▉▊▍▋▊█ ▋▌▍▇) ▍▆▌▌▌▅ ▅▅ ▉█▉▄▉▋█▇ ▊▋▊▄▍▉▇█▆▍▍ ██▇▌ ▇▉▋ █▌ ▉▊▌▆▆, █▊▄▋█ ▄▆▇ ▆▋▍▆▌█ █▍▇▉ ▌▅▊▋▅ ▉▅▉ ▌▆ ▉▋▄ ▍█▌▉▌ ▇▋▌ ▌▋▄ ▅▊▌▅▋▇ ▄▍▅▄ ▍▅▉▋ ▉█ ▉▍ ▆▍▌ █▊▄▌▄▌.
Model.cs now ignores inactive GameObjects in FindClosestBone. Fixes satchel charges etc sometimes sticking to inactive GameObjects and endnig up being invisible. Needs code review.
The wheel collider kick prevention on listen server was messing with vehicles tumbling in the air. Removing it since it was a listen server only fix anyway.
Adjust max explosion force
Adjust armoured cockpit window colliders.
Added rigidbody explosion forces to vehicles when receiving explosive damage, with an upward bias (Helk request).
ModularCarAudio - Avoid divide by zero if max speed is zero.
New centre of mass icon, and centre of mass changes to better support upcoming explosion forces. More realistic positioning, using anti-roll to counteract the higher COM.
Subtractive merge from collider conditionals removal commit. Unfortunately the compound collider bug does seem to still be around.
Support modules with liquid containers in the vehicle lift preview.
Merge from Main->Vehicles
When using the vehicle lift, show a small loot panel for a selected vehicle module if that module itself has internal storage. Allows for more easily emptying modules to allow them to be moved or removed.
Add HasComponent extension methods for Component and GameObject
Code review: doClippingCheck
Code review: Remove garbage gen in TryGetItem
Code review: Changes to var
Merge from Main->Vehicles
Code review: Refactored EngineStatTypes away
Remove condition object types as the compound collider bug (causes by collider gameobject enable/disable) seems to be fixed.
Fix unnecessary double-set for car car between Seating and Engine
Code review: Add HasComponentInChildrenIncludeDisabled, use it in ConditionalObject, avoid garbage gen.
Code review: Add distance checks to RPCs
Fix sliding windows not sliding
Merge vehicle module refactor -> Vehicles
Merge from Main->Vehicles
Code review: Change shader property strings to IDs.
Code review: Combine MaterialPropertyBlocks and make static.
Reduce garbage gen in RefreshLODSets a little
Code review: Remove unused vars.
Merge from Main -> Vehicles
Adjust storage drop point locations
Exhaust was backfiring too much, adjust values at good engine health
Raise ride height on vehicle lift
Fix repel trigger height on 2module
▍▍▄ ▄▉▊ ▄▅█▇▅ ▅▍▆▇▊▇▍▆ ▄▊▌▇▄▊ ▅▇▍ ▌█ ▋▆▇▋ ▅▋▍▅▄ ▉▌ ▄▍▄█▆▉ ▄▅▇▊▌▉, ▅▍▄▉▍ ██ ▆▅▇ ▍▊▌▌ ▅▄▊▊▆ ▌▋ ▆▊▍▇▊▇.