Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Fixed deck and hull pieces could warp to a wrong location when loading the ship
Changed snap position of hulls when only one rib is placed
Version 0.4.0
Added new deck pieces, allowing for bigger ships
Improved overall mesh generation to allow for the more complex shapes
Increased health and damage resistance of ship pieces
Fixed positional damage
Fixed onboard trigger size not increasing
Version 0.3.1
Fixed for Valheim 0.218.15 (Ashlands)
Version 0.3.0
Reworked visual hull generation to create smoother curves
Changed steer and rudder speed to change depending on ship size
Version 0.2.0
Changed the ship hull colliders to be flat instead of curved, so there's more space to walk on and prevent physics issues
Changed the weight approximation for the ship, bigger ships are now heavier
Changed steer and rudder speed to be more sluggish
Version 0.1.2
Fixed error on shutdown with Gizmo
Fixed ValheimRaft incompatibility
Version 0.1.1
Fixed Gizmo (by ComfyMods) incompatibility
Fixed Sailing (by Smoothbrain) incompatibility
Fixed some cases where ships could float in the air
Fixed rudder animation was not updating
Decreased ship steer rotation force
Version 0.1.0
Release
Custom Ships
About
Build and customize ships out of a variety of different ship pieces.
Features
Ships of varying sizes and shapes can be constructed
Hull pieces snap and scale to existing placement, allowing for smooth curves with few base pieces
Decoration like colored shields can be attached to personalize ships
Multiple sails can be placed to increase ship speed, with diminishing returns
Crates and barrels can be placed for storage
Caveats
snappoints are encouraged to be used, otherwise some behaviour doesn't work properly
only a ship with one rudder can be steered, as it determinants the ships forward direction
placing a rudder can sometimes turn the ship into a different direction
Planned Features
The mod has gone through different implementation iterations already and is now at a good state to be released. The most important pieces have been added to build a ship, the next big update will likely bring more decoration and a second deck to build on.
Compatibility
The ships behave mostly like regular vanilla ship and only update their stats at runtime. The pieces are specifically made for the ship and don't allow vanilla or modded pieces, decreasing the possibility of unwanted interactions. Therefore most other ship related mods should be compatible too, please let me know if there is a conflict somewhere.
PlanBuild is not fully compatible, ships build with it have no behavior or physics.
Manual Installation
This mod requires BepInEx and Jötunn. Extract all files to BepInEx/plugins/CustomShips
The mod must be installed on the server and all client. It is ensured that all players have the mod installed with the same mod version, otherwise no connection is possible.