branchrust_reboot/main/vehiclescancel
1,903 Commits over 2,191 Days - 0.04cph!
Don't destroy vehicle anymore at 0 health
Don't destroy vehicle anymore at 0 health
Switch vehicle model to the destroyed model when at zero health
Switch vehicle model to the destroyed model when at zero health
Add placeholder destroyed models to modules
Add placeholder destroyed models to modules
Added collision damage for modular vehicles
Added collision damage for modular vehicles
Added collision FX to base vehicle. Modules become part of the compound collider so they automatically pass collision info down as well.
Added collision FX to base vehicle. Modules become part of the compound collider so they automatically pass collision info down as well.
Fix BaseVehicle extra bracket
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
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.