Skip to content

Feat/landvehicles rewrite v2 - #320

Closed
zolantris wants to merge 26 commits into
mainfrom
feat/landvehicles-rewrite-v2
Closed

zolantris wants to merge 26 commits into
mainfrom
feat/landvehicles-rewrite-v2

Conversation

@zolantris

@zolantris zolantris commented Sep 14, 2026 •

Copy link
Copy Markdown
Owner

Older code changes. This got mixed with some Xeno code I was testing. I removed that but there might be merge conflicts related to this removal especially since Unity files are needed for the shared code.

note for windows users

Git must be configured with case sensitivity otherwise deltas will be ignored and it wont detect unity tree changes. Had to repeatedly run git rm -r --cached "src/ValheimRAFT.Unity" to allow seeing the delta of a reverted commit.

Workaround is likely this git config --global core.ignorecase false and then maybe this if needed git submodule foreach --recursive git config core.ignorecase false

…nc issues when it's reference by removing references with build flags
…s requires a mass prefab shift. And should be done when bounds are recentered
- Add support for static reset of variables retained so vehicles do not pollute other world sessions
- Add support for Vehicle piece ZDO persistence when the vehicle is
  rendered. This allows skipping looping per frame to update zdo
  positioning across all clients. This can now be done when zones change to drastically improve FPS.
- Add a better remove iterator updator for RemoveZdo called on
  VehiclePiecesController for large vehicles with many zdos.
- add vehicle boundary chunk of 2x2 4x4 8x8 16x16
…one unloads. Prevents swivels on a vehicle from unmounting their components
…h caused a place piece error. Need to do this in another change set. Something broke badly
@zolantris
zolantris marked this pull request as draft September 14, 2026 18:02
@zolantris zolantris closed this Sep 23, 2026
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