# Setup Magazine Blueprint

## **1. Create Magazine Blueprint**

* Open **Content Browser**
* Go to:\
  `/Game/AVR_Template/Weapons`

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

* Create **Child Blueprint** of `BP_MagazineMaster`
* Rename it (example):
  * `BP_Magazine_<YourWeaponName>`

<div align="left"><figure><img src="/files/Xr87ut1sZSzVT4jlejdo" alt="" width="533"><figcaption></figcaption></figure></div>

***

## **2. Assign Meshes**

### **2.1 Magazine Mesh**

* Select **Magazine Mesh** (Component)
* In **Details Panel** → set **Static Mesh**
* Use **empty magazine mesh** (no bullets inside)

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

***

### **2.2 Bullet Mesh (Cartridges)**

* Select **Cartridge ISM**
* Set **Static Mesh** → your **bullet mesh**

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

***

## **3. Collision Setup**

### **3.1 Magazine Collision**

* Select **Magazine Collision**
* Place at **top of magazine**

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

***

### **3.2 Pickup Collision**

* Select **Pickup Collision**
* Place around **main body of magazine**
* Purpose:
  * Detects hand grab

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

***

## **Step 4: Grab Component Setup**

* Select **WeaponCurlGrabComponent**
* In **Details Panel → Weapon Category**
  * Set all values to:
    * **Magazine**
    * Your **Weapon Type**

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

***

## **Step 5: Hand Placeholder Setup**

We use:

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

***

**Assign Skeletal Mesh**

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

> If using custom hands → assign your own meshes

***

**Assign Animation**

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

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

***

**Right → Left Setup Trick**

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

→ This avoids manual placement

***

## **Result**

* Magazine can be grabbed
* Correct hand placement & animation
* Proper attachment detection with weapon


---

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