ProjectileTweaks
A lightweight gameplay mod that lets you customize how firing projectiles works. Allows customization of bows, crossbows, spears, bombs, and staffs. Uses Jotunn to sync configurations if the mod is in
模組介紹 作者原文
ProjectileTweaks
A lightweight gameplay mod that lets you customize how firing projectiles works. Allows customization of bows, crossbows, and staffs. Uses Jotunn to sync configurations if the mod is installed on the server.
Server-Side Info: This mod works as a purely client side mod but can optionally be installed on the server to enforce custom configuration settings.
Version 1.6.0 Update Notice!
Configuration settings have changed somewhat in this version. If you experience issues please delete your config file and let the mod regenerate it.
Description
ProjectileTweaks is intended to be a lightweight and open-source mod that provides an alternative to BetterArchery and BowPlugin. Some of ProjectileTweaks features also overlap with MagicPlugin but the two are fully compatible so you can still enjoy the extra features from MagicPlugin.
Tweaks are applied separately for bows, crossbows, spears, and staffs.
Bows, Crossbows, & Spears
For bows, crossbows, and Spears you can customize:
- Spread of the projectiles (this is referred to as accuracy in BowPlugin)
- Velocity of projectiles
- Launch angle of arrows and bolts
- Position that projectiles spawn relative to the player when they are fired by changing the horizontal and vertical offsets
The default configuration adjusts bows and spears to launch projectiles at the same angle as crossbows. The spawn locations of arrows and spears are also tweaked to improve the alignment of arrow trajectory with the aiming crosshairs, so that arrows and spears fired with zero spread launch in alignment with the crosshair rather than being slightly offset towards the players left side.
Staffs
For staffs you can customize:
- Spread of projectiles
- Velocity of projectiles
- Position that projectiles spawn relative to the player when they are fired by changing the horizontal and vertical offsets
The default configuration adjusts the spawn position of projectiles fired from staffs so that if spread is set to zero the projectile is aligned with the aiming crosshair.
Ammo Counter
This mod adds an ammo counter to weapon icons in the hotkey bar and allows you to customize the appearance of the counter.
Configuration
A config file BepInEx/config/Searica.Valheim.ProjectileTweaks.cfg is created after running the game once with this mod. You can adjust the config values by editing this file using a text editor or in-game using the Configuration Manager. The mod has a built-in file watcher so either method will work and changes will be reflected in-game as you change the settings.
Bow Tweaks
These settings control features relating to bows.
Setting
Server Sync
Description
Draw Speed Multiplier
Yes
Multiplier for draw speed of bows. Set to 2 to draw twice as fast. Does not affect Vanilla scaling with skill level.
Acceptable values: (0.5, 2)
Default value: 1
Spread Multiplier
Yes
Multiplies the min and max projectile spread, so if you set it to zero your arrows will have zero spread.
Acceptable values: (0, 2)
Default value: 1
Velocity Multiplier
Yes
Multiplies velocity of arrows.
Acceptable values: (0.1, 2)
Default value: 1
Launch Angle
Yes
Changes the launch angle for arrows. Vanilla default for bows is 0. Negative values angle upwards, and positive values angle downwards.
Acceptable values: (-5, 5)
Default value: -1
Horizontal Offset
Yes
Offsets the location that arrows are launched from when firing them. Positive shifts it to your characters right. Negative shifts it to your characters left.
Acceptable values: (-0.75, 0.75)
Default value: 0.2
Vertical Offset
Yes
Offsets the location that arrows are launched from when firing them. Positive shifts it upwards. Negative shifts it downwards.
Acceptable values: (-0.75, 0.75)
Default value: 0.2
Bomb Tweaks
These settings control features relating to bows.
Setting
Server Sync
Description
Spread Multiplier
Yes
Multiplies the min and max projectile spread, so if you set it to zero your a
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: