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

Meshing your levels


In the game industry, there is often a role known as a mesher; this is a person whose role is to fill levels with meshes, or additional details, to make the level even nicer. Generally, these additions do not affect the gameplay, or are not meant to. At times, designers and meshers will argue about whether certain things should be added to the scene due to realism or gameplay. However, since you're doing it all, there's no issue this time!

  1. From the Project tab, open up the UFPS/Base/Content/Prefabs/Props folder. This folder contains a large number of objects that we can play with in our level.

  2. Move your camera into the warehouse of the scene and drag-and-drop a Crate prefab object on top of one of the shelves.

    If you play the game now and go to the crate, you'll find that it's already created in such a way that, if you shoot it, the crate will be destroyed!

    Tip

    The object can also be picked up and moved—perfect for use in simple puzzles.

  3. Now duplicate this box, doing small...