8,836 Commits over 1,735 Days - 0.21cph!
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.
Snowmobile detail colliders
WIP tidying up client-side access to _mounted
Remove unused overrideMountedLookAt
Merge Main -> misc_improvements
Snowmobile wheel setup, and fix model direction
Some snowmobile initial setup
Reduce MLRS rocket world model size and mass to 25% of actual size and mass
Converted all vehicles from spawning sub-entities to simply including them in their base prefab heirarchy. Converted:
- Duo Sub [fuel storage, torpedo storage, item storage]
- Hot Air Balloon [fuel storage, item storage]
- Magnet Crane [fuel storage]
- Minicopter (in earlier commit) [fuel storage]
- MLRS [dashboard storage, rocket storage]
- Modular car chassis [fuel storage]
- RHIB [fuel storage, item storage]
- Rowboat [fuel storage, item storage]
- Scrap Transport Helicopter [fuel storage]
- Solo Sub [fuel storage, torpedo storage, item storage]
- Work Cart [fuel storage]
All fuel-using vehicles also now start with 50 fuel when in editor.
Merge MLRSUpdates -> IntegrateVehicleSubEnts
Fixed extra MLRS rocket storage sub-ent
Add GetEntity to GameObjectRef
Experimental, remove minicopter sub-entity spawning and simply include the fuel sub-ent on the base entity. This is the new standard in the desert base setup and seems to be working reliably, and may allow us to remove a lot of boilerplate spawning code.
Fix client compile for range limit checks
Separate the MLRS rocket explosion and ground effect FX and fire them separately. Ground effect now plays at the hit point rather than directly below the main explosion.
██▌▊▇▌ ▅█▆ █▌▍▉ ▅▍▉█ ▉▋ ▋▌▉ ▅▌▊ ▌▇▅, ▉▉█▇▆ ▉▅▋▇
No-aim areas in the MLRS UI (safe zones etc) now all have their diagonal filler lines at the same scale