ROCK 1.0 behaviour consumers see
Behaviour of ROCK 1.0 that shapes how a consumer reads and requests. The exact contracts are on each interface page.
Two equipped weapons
The player can equip two weapons, one per hand. They are weapon slots 0 and 1, the native equipment indices.
- Weapon
getWeaponState,getGripandcopyEmitterspublish both slots; a slot's hands are in itsWeaponState(firingHand,supportHand), never implied by the slot. - Hands
getRolesnames, for each physical hand, the weapon slot it holds and whether it is theFiringor aSupportgrip. - Grab hand state reports the hand holding the second weapon as
HoldingwithFiringGrip | NativeWeaponCarry, so it reads as busy. WeaponStatecarries each slot's own ammo counter (loadedRounds,reserveRoundswithAmmoKnown).- WeaponParts serves slot 1's
copyEvidenceDetails,copySources,querySourcePoseandsetDriveTargets/clearDriveTargetsfor the bones its animation graph writes, with one drive owner at a time; slot 1's other WeaponParts calls, physical reload leases and the other per-weapon features returnTargetUnavailable.
Equipping and unequipping
requestInventoryEquipequips into the requested hand and replaces the weapon that hand fires or carries; that weapon returns to the inventory andoutgoingFormIdnames it. A weapon the other hand holds stays equipped. Nothing is dropped loose.unequipWeaponreturns one slot's weapon to the inventory. When slot 0 empties, a slot-1 weapon moves to slot 0 in the same hand on the next frame.- The shoulder gesture returns the weapon in that hand to the inventory, for either slot. ROCK no longer sheathes a weapon at the shoulder.
requestInventoryDrawandgetFiringAimWorldlet a holster mod show a weapon in the hand before ROCK reveals the real one, then ease into the grip.setWarmInventoryWeaponskeeps up to eight inventory firearms ready, so their first draw after a load does not wait on the engine.
Grip zone
ROCK's firing-grip handoff and reattach zone is a quarter sector on each side of the grip, from straight out to straight down the grip. A handling authority lease with FiringGripCylinderZone replaces it with one cylinder per side while the lease holds.
No event streams
ROCK publishes state once per frame and keeps no per-owner event buffers. Poll state and compare its sequence counters; a lost lease shows up as a failed renew. The Grab event callback still reports one-off moments (pull, catch, impact, release) as they happen.
Drawing
ROCK keeps its own hand and weapon visualization but draws nothing for other mods. Debug shapes, indicators and labels go through RPS UI Framework.
Player body colliders
The player's body colliders cover the torso and arms. Leg and foot colliders are removed, so body contacts never report those zones.
Holding and placing objects
A grab always ends with the object in the palm, locked to the hand. A held loose object can be placed as a fixed object through Grab's held placement (an add-on owns the gesture; ROCK validates contact and the whole body set and saves the placement). A dropped item can be watched until it rests, then frozen in place (Collision watchObjectRest).