1,554 Commits over 397 Days - 0.16cph!
First attempt at spawn near for docking command
Cargo decides what harbor to dock at based on spawn distance
Cargoship now moves around the island anti-clockwise
Re-added cargo notifier to harbor2
Scene2Prefab
Merge harbor tweaks to Aux2
Added should_dock convar to cargoship
Harbor 1 now does additional terrain checks to ensure cargo docking path is clear
Increased required boat depth in costmap to ensure cargo can dock at the appropriate harbor
merge from harbor_tweaks_4_cargoship
Fixed cargo NRE if theres no harbors in the world
Ensured cargo only docks once
Set default dock time to 8 minutes
Set better stopping location on harbor 1
Smooth cargo ship docking rotation
Cargo dock time now uses convar
Debug docking now set as a replicated var
Removed cargo docking from harbor 2
Ensured harbor 1 and 2 now have boat access
Ensured approach nodes list is initialised
Added second harbor to test scene
Added docking path to harbor 2
CargoShip now supports multiple harbor paths registered
Flipped entry path so cargo comes in from the other direction
Added check to ensure container destinations have at least 1 element before passing
Ensure harbor crane isnt null before assinging desination
Added a debug log when leaving
Cargo ship calls OnArrivedAtHarbor then waits
Once finished waiting it rejoins the outer patrol as normal
Cargo Docking~
Cargo does basic docking at a harbor (currently only supports big harbor)
Cargo now selects best node from the outer patrol to start entry from
Cargo now adjusts waypoint distance dynamically when entering docking
Cargo ship now responds to max velocity on harbor entry Base Path
Adjusted a bunch of speed and position values on harbor entry path
Bunch of debug stuff to show patrol tangents and docking point scores
Added boolean to WorldSetup to force ocean patrols to be generated with dev terrains
Sorted test map so boat outer patrol paths can be generated properly
Adjusted cargo path
Notifier component placed harbor
Reran Scene2Prefab
Initial approach logic:
Cargo now calculates tangents of each patrolfar node and compares the angle and distance to find the best scoring point
Debug outputs for this
Scene2Prefab
Added docking path to harbor 1
Test scene init
Sorted clipping terrain in test scene
Properly split terrain from other scenes
Fixed remaining issues with condition display
Now respects updated max condition properly
Rebuilt phrases
Slightly moved some alignment to look right with new text
Conditional bar is no longer shown for listings with full hp
Rewrote conditional checks to take advantage of normalised values
normalise condition fill amount
Changed vendor listings to display 'selling' rather than available
Gave text more room before wrapping to support translations
All client entity binoculars now share the same reference to the rangefinder
This prevents NRE from firing
Added an additional null check just in case
Added icon for broken items
Condition is now displayed if its less than max on the vendor UI
Set references to conditional objects
Ensured proper alignment
Added foundational elements to support available condition
Merged vendor ui emoji support
Fixed issues with emoji placement
Added emoji display support to vendor names
Fixed issue with no listings not expanding properly
Scrollbar just hides rather than disables
Ensured accordions are closed by default
Increase size of vendor name box
Hide scrollbar for single vendors
Ensured vending screen only cancels invoke if the handler hasn't already been destroyed (prevents an error push in editor)