9,474 Commits over 1,858 Days - 0.21cph!
Fix BaseVehicle extra bracket
Merge from Main -> Vehicles
Merge from Main -> Vehicles
- █▍▊ ▋▍▍▌▋█ ▌▆▇▍▋▉ ▉▅▌ ▍▊▉▅▋██▄▊▄ ▇▆▊▋ ▉▊▆▋. ▋▇▉'█ ▇▉▋▄▍▄▌ ▋▇▉▊▉▉▍▌▇▅ ▆▇▌▆▌█▆, ▅█▌ ▇█▌▌▋▇ ▉▇▄█▋▉ █▆ ▍▋▋ ▉▄▆▊▋▍▊ █▄▊▅█▅█. ▌█▆ █▆ ▉▋▌▆▍ ▉▌▍█▊▌ ▉▇▅▊▊ ▅▆▆ ▉▉▅█ ▊▊ █▌▍▍▍▅▆ ▌▊▆▄ ▋▋▇▄▍▄▅▋▆▄ ▋▇█▋▋▅ ▍▍▋ ▇▇▆▊ █▋▍'▄ ▉▉▉▋▋. ▌▉▍▇ ▍▆ ▉▉▍▊▇▉▊█ █▅▆ ▍▆ ▌▌▌▋█ ▅▌▇▄▍.
- ▊▆▊▆▄█▍▌ ▇▆▋▇▆▇ ▊▌ ▄▌▆ █▌▇▉▇▍▌
- █▇▍ ▌▉▉▇▊▋ ▍▋▉▌▌▊ ▊▋█ ▆▉▆▌▆▉▇▄▊▍ ▇▅▄▇ ▉▋▊▅. ▊▍▍'█ ▍▍▉▋█▇▅ ▌▇▊▍▊▊▆▄▊▅ ▇▉█▍█▇▉, ▌█▄ ▄▆▉▍▋▉ ▌▉▆▇▉▄ ▍▍ ▌▉▋ ▆▇▊▆▋▄▍ ▆█▉▉▉▊▍. ▌▄▆ ▄▊ ▋▊▅▅▌ ▊▋▇▊▆▉ ▉▄▌▉▇ ▉▋▌ ▇▅▊▋ ▆▄ ▇▄▊▇▊▄▋ ▌▅▌▄ ▄▆▌▊▍▋▇▍▌▍ █▊▄▊▇▇ █▋█ ▅▍▌▄ █▉▅'▍ ▍▆▌▋▌. ▄▉▆▆ ▌▅ ▇█▆▋█▄▍▇ ▉▋▇ ▋▆ ▄▋▊▄▅ ▅▇▄▌▋.
- ▇▋▍▆▉▊▉▇ ▄█▆█▍▌ ▆█ ▄▉▆ ▉▅▉█▉▊▅
Split StandardVehicleModule into three, with .Client/.Server separate
Split StandardVehicleModule into three, with .Client/.Server separate
If chassis is destroyed, remaining modules don't naturally show their killed FX because they're not killed directly. Tell them to all show their FX.
If chassis is destroyed, remaining modules don't naturally show their killed FX because they're not killed directly. Tell them to all show their FX.
Reduced base chassis health
Reduced base chassis health
Remove mountables when seating is destroyed
Remove mountables when seating is destroyed
- Implemented destruction FX support for chassis and modules.
- Fixed Client/Server compile issues.
- Moved serverGibs from BaseVehicle to BaseHelicopterVehicle where it should have been.
- Implemented destruction FX support for chassis and modules.
- Fixed Client/Server compile issues.
- Moved serverGibs from BaseVehicle to BaseHelicopterVehicle where it should have been.
Testing module destruction. Added support for damage FX + added placeholder-ish damage FX on engine modules. Note: OnHealthChanged is now called on client as well as server - existing usages have been updated with isServer checks.
Testing module destruction. Added support for damage FX + added placeholder-ish damage FX on engine modules. Note: OnHealthChanged is now called on client as well as server - existing usages have been updated with isServer checks.
Fuel now used per engine instead of per vehicle. Also use less fuel at idle, more with increasing throttle.
Fuel now used per engine instead of per vehicle. Also use less fuel at idle, more with increasing throttle.
Cherry-pick Bill's boat fix
Cherry-pick Bill's boat fix
Merge from Main->Vehicles
Merge from Main->Vehicles
Cherry Pick merge to main. Fixes discrepancy between client/server interaction caused by having a rigidbody on the server and not on the client. Now getting entity from the hit collider instead of the hit transform. This change is probably OK, but could potentially break something if anything relies on the base rigidbody object being returned on the server.
Cherry Pick merge to main. Fixes discrepancy between client/server interaction caused by having a rigidbody on the server and not on the client. Now getting entity from the hit collider instead of the hit transform. This change is probably OK, but could potentially break something if anything relies on the base rigidbody object being returned on the server.
Wheel rotation rate now adjusts differently when wheel is not grounded
Wheel rotation rate now adjusts differently when wheel is not grounded
REVERTED averageVelocity removal from #
39748. Native velocity methods weren't accurate/smooth enough
REVERTED averageVelocity removal from #
39748. Native velocity methods weren't accurate/smooth enough
Modified tire friction and steer values
Modified tire friction and steer values
From code review: Don't reuse ProtoBuf class. Protocol++. Plus formatting.
From code review: Don't reuse ProtoBuf class. Protocol++. Plus formatting.
From code review: Don't reuse MaxThrust Vector (+ some reformatting)
From code review: Don't reuse MaxThrust Vector (+ some reformatting)
From code review: Change driver input sets to be a ListDictionary, and use method getters instead of properties.
From code review: Change driver input sets to be a ListDictionary, and use method getters instead of properties.
From code review: LateUpdate fully enclosed by #if CLIENT
From code review: LateUpdate fully enclosed by #if CLIENT
- From code review: Replace AverageVelocity with native velocity system.
- From code review: Remove more cases of inited. isSpawned is a good substitute.
- Remove [RequireComponent(typeof(Rigidbody))] as it prevented removal on the client.
- From code review: Replace AverageVelocity with native velocity system.
- From code review: Remove more cases of inited. isSpawned is a good substitute.
- Remove [RequireComponent(typeof(Rigidbody))] as it prevented removal on the client.
From code review: Reformat serialized fields (see new Basecamp comment also)
From code review: Reformat serialized fields (see new Basecamp comment also)
Save rigidbody info, so data can be entered on the RB, but can still be used on the client which removes it.
Save rigidbody info, so data can be entered on the RB, but can still be used on the client which removes it.
From code review: Removed and replaced TransformPointToLocal/InverseTransformPointToLocal.
From code review: ModuleManager does now need to still be a MonoBehaviour since it uses a couple of Unity methods, but made that clearer.
Additional: Refactored ModuleManager classes a bit. Now TBase can be a BaseEntity which removes any need for casting.
From code review: Removed and replaced TransformPointToLocal/InverseTransformPointToLocal.
From code review: ModuleManager does now need to still be a MonoBehaviour since it uses a couple of Unity methods, but made that clearer.
Additional: Refactored ModuleManager classes a bit. Now TBase can be a BaseEntity which removes any need for casting.
Fix for random modular spawner double-adding modules. Simplifies module parenting as well.