13,104 Commits over 2,800 Days - 0.20cph!
Move all BradleyAPC.Targeting code inside #server, move AlwaysAllowBradleyTargeting check to server-side only
Set up snowmobile fuel and storage. Added a basic CanBeLooted check to BaseVehicle for vehicles to share. Other snowmobile setup. Set all seats to needsVehicleTick = false.
Merge for sleeper_mounting_2 -> Main, but GetMounted() needs fixing for Modular Cars. It's returning the chassis instead of the seat.
Split BaseVehicle back up, with the modified code from the merge
Merge in sleeper_mounting_2
Temporarily reintegrate all parts of BaseVehicle in order to facilitate the upcoming merge
Fixed vehicle sub-entities doubling up on the client side
Fuel and storage sub-ents
Move InitShared out of #SERVER area, and take additional #SERVER flags away from around childVehicles.Clear() - needed on the client as well.
More snowmobile WIP. Compiling now
WIP converting CarPhysics to be more generic, so snowmobiles can use it too. + some snowmobile code.
- Changed some more GetWorldVelocity calls into GetLoalVelocity, so they'll work if parented.
- Moved GetLocalVelocityServer and GetAngularVelocityServer rigidbody-based overrides into BaseVehicle, so we don't have to override with the same method for every new vehicle.
Rename ModularCarPhysics to CarPhysics
Merge VehicleUpdates -> Main, let's try this again
Manifest rebuild to fix "no number for string fuel_storage"
Fix load order issues with vehicle fuel
Merge Main -> VehicleUpdates
Revert the accidental revert of the revert. Subtracts
66868.
Snowmobile WIP code, protobuf setup etc
Revert
66868. Was causing trouble with PrefabAttributes that tried to double-process when already destroyed.
Allow prefab pre-processing to include sub-entities. Fixes nested entities on vehicles not stripping client/server-only components. Need André to review this.
Merge misc_improvements -> Main
Merge IntegrateVehicleSubEnts -> Main
Fix ProjectSettings set to CLIENT
Merge MLRSUpdates -> Main
Fixed cassette recorders not sticking correctly to MLRS moving parts
Fix reversed check in IsWaterlogged for vehicles that can't become waterlogged
Fix VehicleEngineController doing more work than necessary to get the fuel system
Rename HasAnyPassengers to AnyMounted
Update BaseVehicle mount menu check to not check IsMounted
Manifest build, and prefab ID fix
Merge misc_improvements -> snowmobile
Merge MLRSUpdates and IntegrateVehicleSubEnts -> Snowmobile
More vehicle tidy-up. Since every engine uses fuel (so far), put EntityFuelSystem inside VehicleEngineController. EntityFuelSystem can still be used separately if needed (several vehicles do this as they have their own engine implementations).
Merge BaseMountable -> misc_improvements
A general tidy-up for vehicle code to make things easier in the future.
- Split BaseVehicle into BaseVehicle, BaseVehicle.Server, and BaseVehicle.Client.
- Move IsWaterlogged and CanRunEngine checks to VehicleEngineController, so they can be shared by everything with an engine.
- Match EntityFuelSystem and VehicleEngineController to Rust code formatting ('private' written out, spaces inside brackets).
- BaseVehicle IsMounted implementation fix.