Skip to main content

ROCK runtime and integration

Download ROCK on Nexus Mods · GitHub release · Source code · User guide · Changelog

ROCK adds physical hands to Fallout 4 VR: object grabbing and distant pulls, hand and weapon collision, weapon handling with a weapon in each hand, shoulder stashing, grenades and physical aid items. This page describes ROCK 1.0.4.

Requirements​

  • Fallout 4 VR 1.2.72.0, F4SEVR and the VR Address Library for F4SEVR.
  • FRIK 0.79.1 or newer, with FRIK API 2.3. ROCK refuses an older FRIK API.
  • RPS UI Framework 2.0.2 or newer. ROCK's setup wizard, grab indicators and ammo counters draw through it; without it they are not shown.
  • Recommended: Mods Config FO4 VR, the in-game menu with ROCK's settings page; without it, edit ROCK.toml by hand.
  • Recommended: RobCo PALM 2.0.2 or newer, the wheel menu.
  • Optional: PAPER for reload and cycling animations, SCISSORS for NPC interactions, Wall Climbing, and ROCK Interactive Objects for doors, buttons and levers.
  • Recommended: Buffout 4 NG and VR for engine fixes and a crash logger, and Asciim0v's Faster Loadscreens for faster loading.
  • ROCK has a 70 FPS baseline. Below it, collisions respond later.
warning

Do not use High FPS Physics Fix with ROCK. It is incompatible with ROCK and tanks the frame rate. Remove it and use Faster Loadscreens for faster loading instead.

ROCK.dll goes in Data/F4SE/Plugins. The download also holds SteamVR bindings (steamvr_bindings/) for Index, Vive and Steam Frame controllers; they are installed into SteamVR, not the game.

ROCK 1.0.4, RPS UI Framework 2.0.2, RobCo PALM 2.0.2, PAPER 2.0.2 and the ROCK add-ons are released together: update them together. RobCo PALM 2.0.1 and older cannot hand you a grenade with ROCK 1.0.4, and RPS UI Framework 2.0.1 and older still list ROCK settings pages that no longer work.

First start​

A setup wizard opens by itself 10 seconds into your first game with ROCK, sets up your controllers and the main choices, and can be reopened from ROCK's page in Mods Config FO4 VR or from the ROCK tab of RobCo PALM's Config. Index controllers and Vive wands get ROCK's SteamVR binding through it. See Controls and setup for every page of the wizard, the default controls and how to remap them.

What ROCK does​

  • A weapon in each hand. Any combination, firearms or melee. Each weapon has its own trigger, reload, scope and collision, and the Pip-Boy marks which hand holds each (R / L). An equip from the inventory, the Pip-Boy or a holster mod goes into the hand that chose it and keeps the other hand's weapon. Which hand holds each weapon is saved with your game.
  • Grab and drop from the world. A weapon equips as soon as your hand settles on its grip and drops with your hand's motion when you let go (AutoEquip, WeaponReleaseMode). Trigger equip is still available.
  • Weapon handling. Grips taken from each weapon's animations, two-handed support, recoil on the firing hand that drops with a support grip, weapon-mounted scopes, bipods, shoulder holstering, and blade inversion: the trigger flips a one-handed melee weapon between up and down.
  • Grabbing. HIGGS style (palm) or Alyx style (fingers) grabbing, immediate or flick pulls for far grabs, authored grab poses for 3,383 objects with similar poses for objects from other mods, and pinch grabs for small objects. You hold what you touched, where you touched it. Pulled objects follow your hand while you move and are caught even at low FPS.
  • Collision. Hands and held weapons collide with the world, props and each other, with impact sounds. Dropped weapons keep their full collision until they rest; a gun dropped with its bolt or slide open stays open.
  • Physical items. Grenades you arm with the trigger, cook and throw; stimpaks and Med-X injected against your body; food and drink at your mouth; stashing an object over your shoulder.
  • Ammo counters. One per held weapon, at that weapon's hand, in three styles: Minimal, Immersive and Vanilla. Since 1.0.4 they name the weapon's ammunition (".38", "10mm", "Fusion Cell") beside the reserve rounds.
  • Holotapes. Since 1.0.4, pull the trigger of the hand holding a holotape to play it: it goes into your inventory and starts at once.
  • Gunstock mode and FRIK offsets. For controllers in a VR gunstock, two-handed guns aim along the line from the shooting hand to the support hand. ROCK can also use FRIK's weapon offsets instead of its own grip: the ones you saved in FRIK's weapon adjustment and, with FRIK Built-in Offsets, the ones FRIK ships with. While FRIK's weapon adjustment is open, ROCK hands the weapon to FRIK. This needs FRIK 0.80.2 or newer; both options are off by default.
  • Prompts. Quick loot and activate prompts can sit on the hand that points at the object, or at the object itself.
  • Controls. Every button and action can be moved; see Controls and setup. The right stick click opens RobCo PALM, or the game's Favorites menu without PALM, and works the bipod while your weapon touches a surface.

NPC interactions are not part of ROCK: NPC collision, blade penetration, NPC pushing and corpse interaction are in SCISSORS, which builds on ROCK. Rocky mode is removed.

Updating from 0.92​

  • Settings carry over. On its first start ROCK 1.0 moves every option you changed in ROCK.ini and ROCK_Developer.ini into ROCK.toml and ROCK_Developer.toml, then deletes the old INI files. Options left at their old defaults take the 1.0 defaults. ROCK.log lists the settings that no longer exist. bLeftHandedMode becomes DefaultHand = "left" in [FiringHand].
  • Mods built for ROCK 0.92 or earlier use provider API 1, which ROCK 1.0 does not serve. ROCK names each one in ROCK.log and the game keeps running without their ROCK features. Update or remove them.
  • The original SCISSORS mod does not work with ROCK 1.0; remove it. The new SCISSORS replaces it under the same name.

Configuration​

ROCK reads two TOML files under the user's Documents folder:

My Games/Fallout4VR/Mods_Config/ROCK/ROCK.toml
My Games/Fallout4VR/Mods_Config/ROCK/ROCK_Developer.toml
  • In game: Mods Config FO4 VR. Hold both thumbsticks pressed in to open it, then pick ROCK. Changes show as you make them, except the Controls page, Immersive Scopes and Immersive Grenades, which apply when you Save; Discard undoes them. Its pages are listed in Controls and setup. Since 1.0.4 ROCK has no pages in RPS UI Framework's menu, only a ROCK tab there with the Setup wizard button.
  • In the file: options are grouped into tables such as [Grabbing], [WeaponHandling] or [ControllerInput.Left], with typed values (true, whole and decimal numbers, "text", and tables such as { pos = [0.0, 7.0, -7.0] } for offsets). The help for each option is on the ## lines above it.

ROCK.toml is created from the compiled defaults when it is missing. On each start ROCK adds options the file lacks, refreshes the ## help lines and moves options it no longer reads to a commented block at the end; your own # notes above an option are kept. ROCK_Developer.toml is optional and holds only developer overrides; Show Developer Pages on ROCK's front page in Mods Config shows the Developer page that edits it. Both files reload while the game runs.

A file with a syntax error is left untouched: ROCK logs the file, line and column to ROCK.log and keeps the values it last read until the file is fixed. Other mods never read or write ROCK's settings: the Configuration interface of ROCK 1.0 to 1.0.3 is retired, and ROCK 1.0.4 refuses it and logs the mod that asks.

Hand, body and weapon collision, the interaction haptics, grabbing on the grip button and the suppression of native V.A.N.S. are always on and have no switch.

Compatibility​

  • Virtual Holsters: works, except with a weapon in each hand; a patch is coming.
  • Heisenberg: incompatible for now; a patch is coming.
  • Virtual Reloads: incompatible.
  • True Scopes: compatible. Choose "Game's scopes" in the setup wizard (EnableImmersiveScopes = false).
  • Bullet Time VATS VR: use Bullet Time VATS VR - F4SEVR Remake, which ROCK is compatible with. The original Bullet Time VATS VR is not compatible.
  • Inventory 3D Fixes: patched, no issues.
  • The vanilla Favorites menu (used when PALM is not installed) has had less testing than the rest of ROCK.

Known issues​

  • A few modded weapons have animations that are broken in VR, so the hands hold them wrong. This is specific to the weapon and cannot be fixed on ROCK's side.

For mod authors​

ROCK publishes provider API 2: 12 interfaces discovered through ROCKAPI_QueryInterfaceV1, with headers in ROCK's own include/ROCK/, taken from ROCK's repository at the release tag. ROCK 1.0.3 added Collision, Grab and Input 2.1: surface triangles near a point, grabbing a chosen inventory item into a named hand, and the reference each wand points at. ROCK 1.0.4 adds Grab 2.2 (stashing a held item, and which body parts a held object touches), Weapon 2.1 (a mod that owns a weapon's ammunition takes its ammo counter) and WeaponParts 2.1 (a loose mod shows the model of the object mod it came from), and retires the Configuration interface. Mods built for an earlier minor keep working. Nothing is linked and the RPS SDK is no longer used. Mods built for ROCK 0.92 (provider API 1) are refused and logged in ROCK.log, and their ROCK features stay off until rebuilt; see migrating from provider API 1. Start with the API index and the runtime contract.