ShipToShoreCam
Automatically zoom out the camera when boarding a ship and zoom back in when leaving a ship. Zoom levels are user-configurable.
模組介紹 作者原文
ShipToShoreCam
==============
Automatically change the game camera's zoom level when entering and exiting a ship. Ever been in the situation where you've zoomed all the way out on a ship to see as much as possible, but then you go ashore and try to fight mobs forgetting to change the camera back to a better zoom level on land? I have. This mod fixes that.
Both zoom levels (enterShipZoom and exitShipZoom) are user-configurable. When you enter a ship, the camera's zoom is changed to the enterShipZoom value and when you exit a ship it goes to the exitShipZoom value. Or use the useZoomLevelBeforeEntry to automatically revert to your pre-entering zoom level.
Code can be found on github. Issues or change/feature requests can be sent via github or to @FixingDeer at the Valheim Modding Discord.
Installation (manual)
To install manually:
- Move ShipToShoreCam.dll from the archive into \BepInEx\plugins.
- Run the game.
Upgrading from 1.0.0
Recommend deleting the ShipToShoreCam.dll from \BepInEx\plugins and fixingdeer.ShipToShoreCam.cfg from \BepInEx\config. It doesn't seem to cause any issues, but it'll be cleaner since some of the variable names have changed and the older ones don't seem to get cleared out of the.cfg file.
Configuration
enableMod - true/false to enable the mod
enterShipZoom - What zoom level to use when you enter a ship
exitShipZoom - What zoom level to use when you exit a ship
useZoomLevelBeforeEntry - true/false to use the zoom level you were at before entering the ship when you exit (overrides the exitShipZoom value)
showDebugMessages - true/false to show debug messages in the BepInEx console
Changelog
1.2.2
- Corrected the github link
1.2.1
- Fixed version being incorrectly reported
1.2.0
- Added the ability to enable/disable the mod via configuration
- Corrected some documentation in readme.md
1.1.1
- Removed limitation on upper bound of zoom level (to allow for customized zoom levels by other mods)
- Fixed an issue with the debug messages not showing the correct zoom levels in certain situations
- Fixed an issue where exiting a ship wouldn't change the zoom properly if both enterShipZoom and exitShipZoom had the same value
1.1.0
- Changed some variable names
- Added option to use pre-entry zoom level automatically when exiting a ship
- Turned off debug messages by default and added the option to turn them on in the configuration
1.0.0
- Initial release
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: