L4zerShark_Team-ValheimRAFTAnchorFix icon

ValheimRAFTAnchorFix

Keeps your anchored ship where you parked it, even after leaving and returning, reconnecting, or reloading the world. Stops drifting while still allowing the ship to bob with the waves. Requires ValheimRAFT 5.0.7.

Last updated 10 hours ago
Total downloads 40
Total rating 1 
Categories Mods Tweaks Server-side Client-side Utility Deep North Update
Dependency string L4zerShark_Team-ValheimRAFTAnchorFix-1.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351
ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2
zolantris-ValheimRAFT-5.0.7 icon
zolantris-ValheimRAFT

ValheimRAFT - supports valheim 1.0.0 Deep North. A vehicles mod for valheim. Build a ship, build a land vehicle. Explore valheim!

Preferred version: 5.0.7

README

ValheimRAFT Anchor Fix

Keep your anchored ship where you parked it, even after a reload.

This addon keeps your anchored ValheimRAFT ship in the same spot when you leave and return, reconnect, or reload the world. It stops the ship from drifting or shifting to a different location, while still allowing it to bob up and down with the waves by default. It also holds the ship's facing direction so it cannot turn into your dock.

How it works

  • Remembers the parked pose in the ship's saved network data.
  • Preserves the saved anchor state while the ship's pieces load.
  • Keeps helm anchor commands from getting lost while control transfers to your client, and lets completed anchor animations report their final state.
  • Preserves the anchor's correct raised position when loading the ship, so reconnecting does not make reeling take progressively longer.
  • Prevents horizontal drift and rotation while anchored. ValheimRAFT's normal buoyancy controls wave bobbing.
  • Clears the parked pose when you raise the anchor. Sailing resumes through ValheimRAFT's normal movement code.
  • Suspends the hold during hauling, creative mode and vehicle teleporting, then records the new position when the ship is anchored again.
  • Leaves land vehicles and vehicles attached to a parent vehicle under ValheimRAFT's control.

Existing anchored ships are adopted at their currently saved position. The addon cannot recover a position lost before it was installed. It does not automatically park a ship whose anchor is raised.

Installation

Install ValheimRAFT 5.0.7, Jotunn 2.30.2 and this addon on every player client and the server. Use matching addon versions. For a local game, install them in your client profile.

For manual installation, extract the ZIP into the profile folder so ValheimRAFTAnchorFix.dll is under BepInEx/plugins/ValheimRAFTAnchorFix/.

Supports the standard ValheimRAFT 5.0.7 build. The addon stays inactive on other builds. Updating RAFT may require an addon update.

Configuration

The first launch creates BepInEx/config/com.l4zershark.valheimraftanchorfix.cfg:

[Anchor]
HorizontalLock = true
VerticalLock = false
Setting Default Effect
HorizontalLock true Keeps the ship at its parked X/Z position.
VerticalLock false Enable to hold the ship at a fixed height and stop vertical bobbing.

Rotation stays locked. The server synchronizes these settings to clients; only server admins can change them in multiplayer. Restart after editing the file, or use a configuration manager that reloads the configuration.

Enabling a lock while anchored captures that axis at its current position. Updating from 1.0.x retains the saved horizontal position without restoring the former fixed height.

Behavior

With the default settings, anchored ships can move up and down but cannot drift horizontally or rotate. Wave movement still follows ValheimRAFT's buoyancy and damping settings. Raise the anchor before deliberately moving the ship. ValheimRAFT's optional release-on-speed-change setting is supported.

Raise the anchor before removing the addon to clear its parked pose. Removing the addon returns movement control to ValheimRAFT.

Credits

ValheimRAFT was originally created by Sarcen and is maintained and expanded by zolantris and contributors. This independent addon is by L4zerShark_Team. L4zerShark is also credited by the ValheimRAFT project for code and support for Valheim 1.0.0+.

See the ValheimRAFT contributor and asset credits.