Grenade Rifle

The Grenade Rifle is a DualWeapon: the primary trigger fires a raycast rifle, the secondary fires explosive grenades.

Find it in Glowing Rifts/Modular Weapon System/Weapons/GrenadeRifle.prefab. Try it in the Blueprint Demo.

🧱 How It’s Built

PartComponent
RootDualWeapon with built-in input
Primary barrelRaycastBarrel
Secondary barrelProjectileBarrel + FiringMode, firing ExplosiveBullet (ExplosiveAmmo)
MagazineBulletMagazine (primary). Set a Secondary Magazine to limit grenades
FeedbackRecoil, muzzle flashes, sounds

Tip

ExplosiveAmmo hurts every hitbox in its radius when it lands.