Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
FirstPersonBow
Client-side: the camera goes first person while you draw a bow, then back to your exact third-person view. Bows only. Works on any server.
| Date uploaded | 2 days ago |
| Version | 1.0.0 |
| Download link | Xaritomi-FirstPersonBow-1.0.0.zip |
| Downloads | 31 |
| Dependency string | Xaritomi-FirstPersonBow-1.0.0 |
This mod requires the following mods to function
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.2360README
FirstPersonBow
A client-side BepInEx 5 plugin for Valheim 1.0.x. While you draw a bow the camera switches to first person, and when the draw ends it goes back to the third-person view you had before.
What it does
- While you draw a bow, the camera uses the game's own first-person position.
- When you release, cancel, swap weapons, die, sit down, open the pause menu or open the inventory, the camera goes back to your third-person view at the same zoom as before.
- Your zoom is never changed. You can still scroll while drawing, and the new zoom applies once you're back in third person.
- Your body is hidden while you're in first person, so it can't block the view.
What it does NOT do
- It only works with bows. Crossbows, spears, staffs and all other weapons keep the normal camera.
- It does not show the bow or your arms in first person. They are hidden along with the body, so you only see the crosshair.
- It does not change aiming. Arrows still go where the crosshair points.
- It does not save anything to the game's settings. Turn it off and you get exactly the vanilla camera.
- It does not change the free-fly camera, or the camera while steering a ship, sitting, or attached to something. Standing on a ship's deck and drawing a bow still goes first person.
- The switch is an instant cut, with no smooth transition.
Client-only
The plugin only affects your own camera and sends nothing over the network. It works on any server, including vanilla dedicated servers, and nobody else needs to install it. It does not load on a dedicated server.
Install
With r2modman or Thunderstore Mod Manager, install it from Thunderstore, or drop FirstPersonBow.dll into your profile's BepInEx/plugins/ folder.
To install by hand:
- Install BepInExPack for Valheim (BepInEx 5).
- Copy
FirstPersonBow.dllintoValheim/BepInEx/plugins/. - Start the game. The config is created at
BepInEx/config/firstpersonbow.cfg.
Config ([General])
| Key | Default | Notes |
|---|---|---|
Enabled |
true |
Switch to first person while drawing a bow. |
Build from source
Source: https://gitlab.com/xaritomi/valheim-first-person-bow
You need the .NET 8 SDK.
git clone https://gitlab.com/xaritomi/valheim-first-person-bow.git
cd valheim-first-person-bow
dotnet build -c Release
The output is bin/Release/net48/FirstPersonBow.dll.
Game, Unity and BepInEx reference assemblies come from NuGet (Digitalroot.Valheim.Common.References, BepInEx.Core, UnityEngine.Modules) and are used only to compile. They are not shipped with the plugin. Game DLLs are copyrighted: never commit them to this repo.
The references target Valheim 1.0.x. A build against the 0.221.x references compiles, but throws MissingMethodException on the live game.
Manual in-game test
- [ ] Draw a bow: the camera switches to first person.
- [ ] Release the arrow: the camera goes back to third person at the same zoom as before.
- [ ] Draw, then cancel the draw (block, or the cancel input): the camera goes back to third person.
- [ ] Shoot at a target or a wall: the arrow lands on the crosshair.
- [ ] Swap to another weapon mid-draw: the camera goes back to third person.
- [ ] Die mid-draw: the camera does not stay in first person. After you respawn, drawing still works.
- [ ] Crossbow, spear and staff: none of them switch to first person.
- [ ] In first person no part of your head, helmet or hair blocks the view. Try with and without a helmet, and look up and down.
- [ ] Zoom out all the way, draw and release: the zoom is the same as before. Do the same zoomed in close.
- [ ] Open the pause menu or the inventory mid-draw: the camera goes back to third person, and your body is visible.
- [ ] Steering or riding on a ship, sitting in a chair, and the free-fly camera all behave as in vanilla.
- [ ] Set
Enabled = false: drawing a bow keeps the normal camera. - [ ] After you log out and back in, it still works.
License
MIT, see LICENSE.
AI disclosure
This mod's code, documentation and icon were written with the help of an AI assistant (Claude), then reviewed and tested in-game by the author.