# Setup Silencer Blueprint

#### **1. Create Silencer Blueprint**

* Open **Content Browser**
* Go to:\
  `/Game/AVR_Template/Weapons`
* Create **Child Blueprint** of `BP_SilencerMaster`

<div align="left"><figure><img src="/files/g1OBdYV9EOhOqEMI5sIa" alt="" width="563"><figcaption></figcaption></figure></div>

* Rename it (example):
  * `BP_Silencer_Rifle`

<div align="left"><figure><img src="/files/pEBMvHEMc8UMCpiLQLQT" alt="" width="155"><figcaption></figcaption></figure></div>

***

#### **2. Assign Mesh**

* Select **Silencer Mesh**
* In **Details Panel** → set **Static Mesh**
* Use your **silencer model**

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

***

#### **3. Collision Setup**

### **3.1 Silencer Collision**

* Select **SilencerCollision**
* Place at **tip of silencer**

  <div align="left"><figure><img src="/files/pUJGDlqSyce4FI9F88M2" alt=""><figcaption></figcaption></figure></div>

***

### **3.2 Pickup Collision**

* Select **PickupCollision**
* Place around **main body**
* Purpose:
  * Detect hand grab

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

***

#### **4. Grab Component Setup**

* Select **WeaponCurlGrabComponent**
* In **Details Panel → Weapon Category**
  * Set:
    * **Type** → Silencer
    * **Weapon Type** → Your weapon type

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

***

#### **5. Hand Placeholder Setup**

We use:

* **SM\_LeftHand**
* **SM\_RightHand**

### **5.1 Assign Skeletal Mesh**

* **SM\_LeftHand** → `SKM_Manny_Left`
* **SM\_RightHand** → `SKM_Manny_Right`

> If using custom hands → assign your own meshes

***

### **5.2 Assign Animation**

* In both → set **Anim To Play**
* Use **Silencer Grab animation**

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

***

### **5.3 Right → Left Setup Trick**

* First, correctly position **SM\_RightHand**
* Then for **SM\_LeftHand**:
  * **Invert Location & Rotation**

→ Avoids manual setup

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

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

***

### **6. Sound Effect**

#### **Customizable Settings**

* Click **Class Defaults**
* **Silencer Attachment Sound** → Plays on attach
* **Silencer Ejection Sound** → Plays on detach

<div align="left"><figure><img src="/files/ZKuPxqdArwrfCqUUcDfB" alt="" width="423"><figcaption></figcaption></figure></div>

***

## **7. Inventory – Customizable**

* **Rotation Inside Inventory** → Rotation when placed in inventory
* **Scale inside Inventory** →  Scale when placed in inventory
* Location inside Inventory  → Offset Location when placed in inventory

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

***

### **8. Final Step (Important)**

Bind silencer to your weapon:

* Open your **Weapon Blueprint**
* Go to **Class Defaults → Socket – Customizable**
* **SIlencer Attach Socket → make sure socket name match socket that made inside WeaponBase StaticMesh**

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

<div align="left"><figure><img src="/files/hrpa06Rvz5CN4oNNwoVR" alt="" width="336"><figcaption></figcaption></figure></div>

* Go to **Class Defaults → Silencer – Customizable**
* Set **Attachable Silencer** → your created Blueprint\
  \&#xNAN;*(e.g. `BP_Silencer_Rifle`)*

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

***

#### **Result**

* Silencer can be grabbed
* Attaches/detaches correctly
* Fully integrated with weapon system


---

# 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-silencer/setup-silencer-blueprint.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.
