Book Image

Source SDK Game Development Essentials

By : Brett Joseph Bernier
Book Image

Source SDK Game Development Essentials

By: Brett Joseph Bernier

Overview of this book

Table of Contents (18 chapters)
Source SDK Game Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Trains and Camera Systems

The Half-Life series of games have a strange affinity for trains. There was an entire chapter devoted to them in Half-Life. Half-Life 2 starts you out on one train, almost kills you on another, and the player is on the same train in between Half-Life 2 episodes 1 and 2. The Source SDK contains a powerful set of tools devoted to make objects move. If you want full control over that movement, you'll want to use a train. Half-Life focuses on first-person story development, but it still has moments where the view is taken over by a secondary camera. Combining trains and cameras can make for powerful storytelling cutscenes.

In this chapter, we will learn:

  • Creating and controlling track trains

  • Creating a security system using cameras

  • Combining trains and cameras to make cut scenes

There are some exciting topics to be covered in this chapter, so let's jump in!