Book Image

Building an FPS Game with Unity

5 (1)
Book Image

Building an FPS Game with Unity

5 (1)

Overview of this book

Table of Contents (18 chapters)
Building an FPS Game with Unity
Credits
Foreword
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Placing healthpacks/ammo


Other tools in a level designer's toolbox are ammo/health pack pickups. These are often used as rewards for a player who's exploring a layout as well as providing an incentive to travel to certain places, sometimes at risk.

  1. From the Assets tab, go to the UFPS/Base/Content/Prefabs/Pickups/Powerups folder. Once here, you'll see a number of powerups that can be placed in the world as follows:

    • PickupHealth: This will increase a player's health and will also respawn

    • PickupHealthLoot: This will increase a player's health by a little bit and it will not respawn

    • PickupSlomo: This will slow down enemies with a bullet-time effect for time-based gameplay.

    • PickupSpeed: With this, players will be able to travel much faster than they normally can when there is a need for speed.

    Note

    A tutorial to create your own custom health and ammo pickups can be found at https://www.youtube.com/watch?v=BEHimn5UeF0.

  2. Drag and drop some pickups along the way to the other room to lead the player toward...