# Magazine Customization

## **Getting Started**

* Open your **Magazine Blueprint**
* Click **Class Defaults**

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

***

## **1. Basic Setup**

* **Round Mesh** → Set your **bullet mesh**
* **Current Ammo Count** → Set how many rounds the magazine holds

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

***

## **2. Round Placement**

Controls how bullets are arranged inside the magazine.

* Curve
* Curve Strength
* Stacking Width
* Stacking Offset
* Location

→ Adjust these to match your magazine design\
→ Helps achieve realistic or stylized bullet placement

> This ISM Logic is inspired by work from **YARO**

***

## **3. Attach / Detach – Customizable**

* **Detach on Overlap** →\
  Enable to auto-detach current magazine when a new one overlaps
* **Mag Attachment Sound** → Plays when magazine is inserted
* **Mag Ejection Sound** → Plays when magazine is removed

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

***

## **4. 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>

***

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

Now bind this magazine to your weapon:

* Open your **Weapon Blueprint**
* Go to **Class Defaults → Magazine – Customizable**
* Set **Attachable Magazine** → your created magazine Blueprint\
  \&#xNAN;*(e.g. `BP_Magazine_Rifle`)*

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

***

## **Result**

* Fully controllable ammo setup
* Clean magazine swapping behavior
* Customizable visual bullet stacking


---

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