Create Weapon
🔧 Create Your Weapon
Welcome to the core of the Modular Weapon System documentation. This section is your complete guide to creating your own fully functional weapon from scratch.
You’ll learn how to assemble the weapon prefab and configure the weapon
Note
The system is built around flexibility, so whether you’re making a realistic rifle, a sci-fi plasma gun, or a grenade launcher, the tools here will guide you through the process
📚 Step-by-Step Sections
We will use this guide to create the pistol. A simple weapon that shoots in a semi automatic way and reloads when depleted.
Initialization
Creating the weapon prefab and structuring it.Adding Barrels
An overlook on how to use a barrel and what it can doAdding Magazines
A guide on how to make the bullet logic functional in the game, and how to configure itLinkink Together
How to hook up everything together, and set up the expectations of every componentHandling Recoil
Defines the visual kickback and accuracy pattern.