Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/planbuild support and 1.6.1 release #17

Merged
merged 9 commits into from
Dec 20, 2023
Merged

Conversation

zolantris
Copy link
Owner

@zolantris zolantris commented Dec 20, 2023

In 1.6.0+ this mod supports PlanBuild a popular blueprinting mod.

Support is added via a patch that makes PlanBuild use the Raft localPosition instead of world position which each item
could be moving/swaying and updating as the PlanBuild iterated through the items. This easily breaks the Plan save.

  • Hopefully this logic can be incorporated within PlanBuild directly. There is a config toggle to turn this patch off to
    future proof things.
  • Alternative approaches for this could be doing a detection if the game object is attached to a parent object and
    calculating coordinates of the items after all object positions have been fetched.

- make many methods have a shared baseRoot abstract class
- Add server checks and prevent running many lines of code on client
* add planbuild patch which uses the local positioning and rotaion of items on the boat to prevent boatsway and boat movement from breaking buildplan
* this will probably not fix previous copies of buildplan, but it will fix any new build plans created for boats
…eimraft still without ZDO garbage collecting the boats
@zolantris zolantris merged commit b7b5954 into main Dec 20, 2023
1 check failed
@zolantris zolantris deleted the feat/buildplan-support branch December 20, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant