branchrust_reboot/main/naval_update/boat_buildingcancel
487 Commits over 183 Days - 0.11cph!
Fix compile error in SocketMod_Anchor
First pass of distributing health back to blocks when converting a damaged boat to edit mode.
Disable RendererBatch for any doors or windows added to boats.
Anchor can't be deployed where the anchor point can't see the sea/netting.
Added SocketMod_Anchor, checks for LOS to sea/netting.
Remove a bunch of anchor debug logs.
Move a bunch of sockets that weren't getting checked correctly before, fixes a bunch of issues.
Move boat related socket scripts to a Boats subfolder now there's a few of em
Add SocketMod_BoatBuildingEntityLimit, limits number of entities of specified type to the specified count.
Limit steering wheel deployment to one.
Can't push anchored boats...
Boats can now be pushed by players. Initial checks/limitations. More to do later.
Reset steering when no players are aboard, to stop abandoned boats spinning.
Merge from naval_update, take PlayerBoat.Server from source cus plastic is fucked
Merge from refactor_creation
No need to cache saild wind blocked status if not lowered
Remove disabled gameobject from new UI
Merge from ui_improvements
Fixed issue with BoatBuildingBlock parent trigger when loading from a save in edit mode.
merge from boat_construction_skin
Split BoatBuildingStation into partials.
Added TriggerPlayer.
Prevent anchor being deployable on finished boats
Fixed "clear area" menu option showing in isolation incorrectly, leading to easily destroying your own boat.
Fix steering wheel rotation not being correct visually when entering network range.
Much faster powering down of boats when no players are on board (~2 secs).
Now correctly powers off engines too.
Let's not server cull the collision for hull.triangle...
Setup floor.frame.triangle prefabs, sockets, added to boat planner.
Setup floor.wood prefabs, sockets, added to boat planner.
Steering wheel changes for always smooth wheel turning visuals and to fix a couple of bugs.
converted ladder hatch prefabs to use convex box colliders only
added modular boat floor frame and floor.triangle frame prefabs
Boats can't be edited if recently damaged
Floor.triangle health 100->25
Floor health 200->50
hull square health 200->75
hull triangle health 100->25
wall.doorway health 200->50
wall.low.barrier health 100->25
wall.low.cannon health 100->25
wall.low health 100->25
wall.window 200->50
wall health 200->50
hull_square and hull_triangle cleanup.
Add profiling to CacheParts
Applied ServerCull to all boat building blocks where required to strip a bunch of gameobjects server side
Remove unncessary vehicle seats/mount point spawning
GetPlayerBoats can now see boats clientside.
Destroy all windows and doors when a boat is destroyed and starts to sink
Also show block health if damaged or player is holding hammer