Chapter 2. Building Custom Weapons

Now that we have everything installed, let's start working on one of the most important things that a first-person shooter game needs—the weapons. Often, it is the weapons of the games that become characters in their own right and tweaking them to be "just right" is something that many will try to do.

This project will be split into a number of tasks. It will be a simple step-by-step process from the beginning to the end. Here is the outline of our tasks:

  • Importing new models/sound effects
  • Replacing the default weapon
  • Creating a new weapon template
  • Customizing weapon position/behavior
  • Recoil/Muzzle Flash
  • Changing firerate
  • Creating new ammo type
  • Creating new ammo pickup
  • Customize sound effects
  • Determining behavior

Prerequisites ...

Get Building an FPS Game with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.