O'Reilly logo

UnrealScript Game Programming Cookbook by Dave Voyles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Crafting Pickups

In this chapter, we will be covering the following recipes:

  • Creating our first pickup
  • Creating a base for our pickup to spawn from
  • Animating our pickup
  • Altering what our pickup does
  • Allowing vehicles to use a pickup

Introduction

Artificial intelligence can cover a variety of things in UDK, so we won't delve too far down that path, at least not in this chapter. Here, we'll briefly cover it, and how the AI interacts with pickups throughout the game, specifically what attracts them to certain pickups. Furthermore, we'll dive into creating our own pickups and how they interact with our pawn's inventory.

So with that, let's talk about AI.

Understanding AI

The main class that handles player actions in UDK is the PlayerController class. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required