# Weapon Sockets Setup

## **Getting Started**

* Open your **Weapon Base Static Mesh**
* Go to **Socket Manager**

<div data-with-frame="true"><figure><img src="/files/UTKhhdIzHcnTLaCxQePt" alt=""><figcaption></figcaption></figure></div>

***

## **1. Required Sockets (All Guns)**

### **1.1 Socket\_Magazine**

* Place where the **magazine attaches**
* Optional: add **Magazine mesh as Preview**

<div data-with-frame="true"><figure><img src="/files/HKECwG1j9It5cpk0M2TK" alt=""><figcaption></figcaption></figure></div>

***

### **1.2 Socket\_Silencer\_Attach**

* Place at **muzzle end**
* Used for **silencer attachment**
* Optional: add **Silencer mesh as Preview**

<div data-with-frame="true"><figure><img src="/files/bgAb8dt9TH3VFdkMGXSI" alt=""><figcaption></figcaption></figure></div>

***

### **1.3 Socket\_Ejector**

* Place near **ejection port**
* Used for:
  * **Bullet casing ejection VFX**
* Optional: add **Bullet/Casing mesh as Preview**

> If ejection direction looks wrong in-game → adjust it from\
> **Class Defaults → Additional → Extra Rotation on Ejection VFX**

<div data-with-frame="true"><figure><img src="/files/QdpASg6vSnCZaQOIJ0q1" alt=""><figcaption></figcaption></figure></div>

***

## **2. Shotgun Only**

### **2.1 Socket\_Bullet**

* Use instead of **Socket\_Magazine**
* Place where **shell inserts into the weapon**

<div data-with-frame="true"><figure><img src="/files/9ZBuoCQgIiG7EMZKSq3M" alt=""><figcaption></figcaption></figure></div>

***

## **Important Tips**

* Always verify **position + rotation** using preview meshes
* Keep naming **exact** (case-sensitive)
* Verify Name are same as we set inside weapon blueprint. ( Class Default -> Socket - Customizable , Shotgun - Customizable )

<figure><img src="/files/2tetxKh7HYK6TYxjf3yQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sVgixciROFur7cFUizFh" alt=""><figcaption></figcaption></figure>

***

## **Result**

* Clean attachment placement
* Correct casing ejection
* Proper shell/magazine positioning


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://voxel-vision.gitbook.io/advanced-vr-template/add-your-own-weapon/integrations-4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
