branchrust_reboot/main/vehiclescancel
1,823 Commits over 2,191 Days - 0.03cph!
Vehicle lift and vehicle editing work
Subtractive merge on PlayerLoot distance change. I don't need it anymore, so reverting to the previous code.
Vehicle lift interaction work
Merge from Main -> Vehicles
Players can now push vehicles to right them when flipped, or just give a car a shove in neutral
Removed superfluous RefreshVisibleModels call
Fixed dodgy floating-point precision causing vehicle sockets to not always be found successfully on the client
Can now right-click move engine modules to vehicle sockets
Don't show damage FX on destroyed modules
Add back placeholder destroyed models for the two modules that lost theirs
Remove the two temporary test modules
Merge from Main -> Vehicles
Merge from Main -> Vehicles
Can now repair modules directly from the vehicle garage UI.
Some RepairBench methods are now static so that the garage UI can use the same methods.
Had to remove the module managers from the Rust.Modular namespace because RpcCalls.cs hates namespaces.
Split BaseModuleManager into .Client and .Server subs.
Improved association between item health and module entity health.
Stopped showing entity start health in inspector since it's based on the module.
Fixed module damage FX not showing up properly after damaging.
Collision damage now routes to the appropriate module, not just the chassis
Basic working health sync between physical modules and their items
Move show model/hide model methods
Fixed modules that were missing model settings and rebuilt manifest.
Comments, plus test module update
Fixed toggle buttons being hard to click
Model visibility info edit
Allow restricting model visuals to e.g. "show only if NOT wheels".
Improved visible model refresh methods
Adjust test model textures
Adjusting dual socket test module model
Dual socket test module edit
Can now specify module renderers to show/hide depending on the module's position on a vehicle
Better settings system for module model appearance
Allow custom distance for loot interaction, letting vehicle editing position checks happen, but with a greater distance allowance than usual.
Simple method to slow down reverse speed. Could be improved since it also lowers torque
Refactored some more code into ModuleManagerInventory
Vehicle test map minor edit
Fix centre of mass calculation bugs and issues with moving modules
Fix mount point calculation for rotated vehicles
Refctor some module manager inventory code into a separate class
Remove module manager partial class, merge it into the main one.
Merge from Main -> Vehicles
Beefed up the isDraggable to a more general isUIInteractable. If false, prevents any UI-based interaction with the item. Drags, clicks, etc.
Added isDraggable setting which if false, sets items as non-draggable. Dummy slot fillers are no longer draggable.
Allow moving modules on top of themselves