A Mod that adds VR support for Ravenfield. Should work with any SteamVR/OpenVR compatible vr headset. i made and tested the mod wiht a quest 3.
- Full head tracking with 6DOF
- Tracked VR controllers with laser pointers
- Two-handed Pavlov-style weapon grip (hold left grip)
- Vehicle controls (car/heli/plane) via analog sticks and triggers
- VR-adapted UI: menus as floating WorldSpace panels, HUD as head-locked overlay
- Laser pointer interaction for all menus and map selection
- Snap turning (right thumbstick)
- Player scale adjustment to match game character height
- Arm IK: the weapon's own first-person arms follow your controllers — the off-hand arm reaches for the off-hand controller, both arms come from body-relative shoulders, and the trigger hand keeps its weapon animations (reload, fire). Active while alive and not ragdolling (VR Settings → "Arm IK"). Tuning keys in VR: F3/F4 free-hand yaw ±5°, F5/F6 free-hand palm roll ±15°, F7/F8 off-hand forward offset ±1 cm, F9 logs rig/status.
- Vehicle HUDs (tank gunner reticle) are drawn as a collimated sight: head-locked at infinity on an overlay camera, so they no longer double in stereo
| Action | Binding |
|---|---|
| Fire | Right Trigger |
| Reload | Right B |
| Use / Enter Vehicle | Right A |
| Open Loadout | Left A |
| Jump | Left Trigger |
| Sprint | Right Grip |
| Two-handed grip | Left Grip |
| Next Weapon | Left B |
| Snap Turn | Right Stick Left/Right |
| Move | Left Stick |
| Pause Menu | Left Stick Click |
| Recenter VR | F11 / Joystick Click (both sticks) |
| Pick up magazine / shell / rocket (manual reload) | Offhand Trigger |
On Left Hand Mode all control bindings are mirrored between left and right hands.
There is a setting to enable manual reloading. When enabled, you physically pick up magazines, shells, and rockets with the offhand trigger to reload your weapon. Some workshop weapons may have problems with manual reloading and will default back to automatic reloading.
- BepInEx 5.4.x for Unity Mono (x64)
- SteamVR installed over Steam
- .NET SDK 6.0+ (for building from source)
The easiest way: download the release zip, extract it into your Ravenfield folder (<Steam>/steamapps/common/Ravenfield/), and double-click install.bat — it installs BepInEx 5.4.23.5 (if missing) and copies every mod file to the right place automatically.
To install manually instead:
- Install BepInEx 5 into your Ravenfield folder (
<Steam>/steamapps/common/Ravenfield/). - Download all files from the Releases tab and place them:
RavenfieldVRMod.dll→BepInEx/plugins/actions.json→BepInEx/plugins/bindings_oculus_touch.json→BepInEx/plugins/bindings_knuckles.json→BepInEx/plugins/bindings_vive_controller.json→BepInEx/plugins/Unity.XR.Management.dll→ravenfield_Data/Managed/Unity.XR.OpenVR.dll→ravenfield_Data/Managed/XRSDKOpenVR.dll→ravenfield_Data/Plugins/x86_64/openvr_api.dll→ravenfield_Data/Plugins/x86_64/UnitySubsystemsManifest.json→ravenfield_Data/UnitySubsystems/XRSDKOpenVR/(create the folders if they don't exist)
- Launch Ravenfield with SteamVR running.
The project expects to live inside the Ravenfield game folder so it can reference game and BepInEx assemblies via relative paths.
steamapps/common/Ravenfield/
├── BepInEx/
├── ravenfield_Data/
│ └── Managed/ ← Unity + game DLLs
└── ravenfield-vr-mod/ ← this repo
└── RavenfieldVRMod.csproj
-
Clone this repo into your Ravenfield install directory:
cd "<Steam>/steamapps/common/Ravenfield" git clone https://github.com/GDani31/ravenfield-vr-mod.git -
Build:
cd ravenfield-vr-mod dotnet build -c ReleaseThe first build automatically downloads and compiles the required VR dependencies (Unity XR Management, OpenVR XR Plugin). Subsequent builds skip this step.
The post-build step automatically copies the DLL to
BepInEx/plugins/. -
Launch Ravenfield.