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.

pistol

  1. Initialization
    Creating the weapon prefab and structuring it.

  2. Adding Barrels
    An overlook on how to use a barrel and what it can do

  3. Adding Magazines
    A guide on how to make the bullet logic functional in the game, and how to configure it

  4. Linkink Together
    How to hook up everything together, and set up the expectations of every component

  5. Handling Recoil
    Defines the visual kickback and accuracy pattern.