Bullet Magazine
The BulletMagazine is a classic ammo system used in most traditional firearms. It inherits from the base Magazine component and introduces functionality for reloading, both manually and automatically.
Add Component: Glowing Rifts > Modular Weapon > Bullet Magazine
This magazine tracks a finite number of bullets (the clip) and requires a reload when empty. It also exposes events for integrating reload animations, sounds, VFX and more.
✅ Ideal For
- Pistols
- Assault rifles
- SMGs
- Shotguns
⚙️ How It Works
- The weapon checks if the clip holds enough bullets for the barrel’s Bullets Fired.
- When a shot is fired, the clip value is decremented.
- If the clip reaches zero:
- The
On Depletedevent is triggered. - If Auto Reload is enabled, the reload process begins.
- The
- When a reload is triggered, the
On Start ReloadandOn Reload Completeevents fire in sequence.
📐 Inspector Overview

| Field | Description |
|---|---|
| Clip | Current number of bullets available |
| Clip Size | Maximum capacity of the magazine |
| Events > On Depleted | Event triggered when the clip reaches zero |
| Events > On Start Reload | Invoked at the start of a reload sequence |
| Events > On Reload Complete | Called when the reload finishes and the clip is refilled |
| Auto Reload | If enabled, reloads automatically when the clip is empty. A full-auto weapon resumes firing after the reload if the trigger is still held |
| Reload Time | Time in seconds required to complete a reload |
🎮 Integration Tips
- Hook
On Start Reloadto reload animations or sound effects. - Use
On Reload Completeto reset visuals or play reload confirmation sounds. - Combine with HUD elements to show remaining bullets in the clip.
- try to sync the reload time with the animation’s length