Skip to content

3a - Socket core on XRI (slots, containers, drop zone) + PlayMode test - #429

Merged
JaXt0r merged 4 commits into
engine/hvr-replacementfrom
engine/hvr-replacement-3a
Oct 24, 2026
Merged

JaXt0r merged 4 commits into
engine/hvr-replacementfrom
engine/hvr-replacement-3a

Conversation

@JaXt0r

@JaXt0r JaXt0r commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Merge order: 1a → 1b → 1c → 1d → 2a → 2b → 3a → 3b → 3c, all into engine/hvr-replacement (no stacking). Each branch still contains the commits of the earlier steps, so after the earlier PR is merged the diff of this one shrinks to its own step. Plan: Docs/HVR-replacement/.

Description

Phase 3a: socket core on the Xri backend (needs 2b).

  • Backend-neutral VrSocketSlot (re-parents the item's VobLoader, rotates by category, scales to fit, restores on removal, hover feedback), VrSocketContainer (TryPlace/TryFindFree/SetSilent) and VrContainerDropZone.
  • XriSocketBridge (XRSocketInteractor) accepts items only, without letting XRI move the grabbable child.
  • New VR Socket Slot.prefab with own ring mesh and Valid/Invalid materials; socket sounds now live on VrInteractable.
  • IVrSocketContainer.TryAdd became TryPlace(item, silent); VRBackpack updated.
  • New PlayMode test VrSocketSlotTest (3 tests, no Gothic install needed).

To test

  • - Hvr: backpack and chests behave as before (the interface rename touches them).
  • - Run PlayMode test VrSocketSlotTest: 3/3 pass.
  • - Compile with GOTHIC_HVR_INSTALLED removed (3a itself didn't check; 3b did).
  • Slots are mainly exercised via 3b/3c; not tested here: invalid ring on a full slot.

Test on (delete if irrelevant)

  • irrelevant (editor test) / PCVR

🤖 Generated with Claude Code

JaXt0r and others added 4 commits October 22, 2026 21:22
…(re-parents the item's VobLoader, rotates by item category, scales it to fit and centers it, kinematic while inside, restores everything on removal, socket sounds, placed/removed events), VrSocketContainer (TryFindFree/TryPlace/SetSilent), ring hover feedback (valid/invalid material, grows while hovered) and VrContainerDropZone; XriSocketBridge takes only items a hand holds or just released, without XRI moving the grabbable child; "VR Socket Slot.prefab" with own ring mesh and materials; PlayMode test for the VobLoader hierarchy (HVR phase 3a). Not used by the backpack, holsters, chests or loot yet (3b/3c). No player-visible change on the default Hvr backend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ugs.md instead of tickets, linked from the README.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@JaXt0r
JaXt0r merged commit 9916a23 into engine/hvr-replacement Oct 24, 2026
@JaXt0r
JaXt0r deleted the engine/hvr-replacement-3a branch October 24, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant