branchrust_reboot/main/harbor_tweaks_4_cargoshipcancel
304 Commits over 122 Days - 0.10cph!
Adjusted cargo ship docking position at harbor_1 so that the swing bridge can close
Fixed the second static crane not swinging out of the way when the ship departs
Fixed spawn.cargoshipdockingtest not working if more than one harbor is in the world
Made the docking test map smaller again
Make cargo ship door LODs dynamic
Extended crane arm cylinder length
tweaked grounds at harbor_1 for bridge pos
Fixed egress working if it was in the process of actually entering or leaving harbor
Fixed harbor 1 to work with new path
Harbor_2: extended dock ladders and volumes
lowered surface around swivel bridge by 1.25m on both harbor ground meshes
touched up terrain accordingly
Refactored all of the movement code
Remade harbor 2 path to work with new movement
Improved cargo docking movement code to handle tighter situations
Prevents clipping on harbor geometry
Moves on rails with more deterministic movement overall
adding swing bridge ramp model for harbor 2
removed static ramps and base from the prefab to be in the structure folder
fixed normals on the ramp, added lod and collision to the base
Add a climbable net to the static cranes if the Reserved1 flag is set to true
Enabled on the shore side crane
S2P harbor_1
Fixed some bugs
Added proper ground colliders in harbor_1 and deleted temp ones
Moved a container spawn point to the other side of the road in harbor_2 so the move won't require the crane to clip through the cargo bridge (hopefully)
Full S2P of both harbors with HLOD
Use the highest point out of all of the spawn points as the "ceiling" of a set of container moves - fixes containers clipping through other containers on the cargo ship during movement when being placed lower than the top layer of containers.
Fix containers getting spawned too high if a cargo ship docked at the same port multiple times while a server was up
Add a crush trigger to the bottom of the harbor containers when descending
Fixed a case where harbor cranes would spawn and have slightly different arm angles between client and server, leading to flyhack kicks due to differing collider positions
Adjusted container crane movement so that the ship mast doesn't clip with the hanging container
spawn.cargoshipdockingtest no longer needs a parameter if only one harbor is present on the map
Fixed bridge spawn curves on both harbors by implementing a new UseToggleMode option on the proximity manager
When this new mode is enabled you can use a constant curve mode and the entity will move over time to match the desired point, this allows the bridge to continue to move even when the cargo ship has come to a rest
Fixed swing bridge not marked dynamic LOD
Fixed new cranes missing metal bullet impact fx
Fixed misaligned harbor drop points
Fixed swing bridge not swinging on harbor_1
Fixed ramps on both sides of the swing bridge swinging with the bridge
S2P both harbors
Added a collider to the arm piece that grabs containers on the crane
Fix container dressing prop LODs not marked as dynamic
Ensured trigger is set properly on one of the harbor 1 cranes - prevents flyhack kick
Added a more accessible harbor 2 cargo path
fixed ramp/bridge mesh overlapping when rotating
Fixed incorrect terrain height in harbor 1
Replaced old cranes in harbor_2
Replaced old portacabin meshes in both harbors
Added doors to all portacabins in harbor_2
Fixed missing ladder trigger in harbor_2
Moved one of the light switches to the rooftop in harbor_1
Harbor_1 / moved broken loot spawnpoints to the new island
Scene2prefab
disabled snow effects on train tracks as it doesn't play well with biome tint and procedural railroad connections
Added snow setup to roads prefabs
Added snow material setup to compatible structures prefabs
Moved some mesh decals from Structures to Mesh Decals
Added snow material setup to static vehicles
Multiple harbor_1 bugfixes
Added more zipline points to make it easier to access the cargoship from the rooftop
Slightly expanded dock grounds to make it easier to access side doors from the island
Scene2prefab
Fixed issue preventing harbor 2 from being considered as a docking point
Prevent cargo from trying to leave the map mid dock. Now waits until docking has finished before leaving.
Fixed bug causing cargo to freeze when swapping between standard points and approach points.
Bowpoint used for steering throughout
Cargo ship side doors / Fixed intersecting geometry / Moved some interior props to compensate for geometry changes / set the door slightly deeper to prevent intersecting with the frame
Prevented cargo from waiting twice
Improved reliability of throttle - cache old speed and use it if unsure of next waypoint speed
Fixed isues causing follow to zero rotation on approach