O'Reilly logo

Building an RPG with Unreal 4.x by Alan R. Stagner, Steve Santello

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 9. Equipment

In the previous chapter, we covered how to create useable items, populate them in a store controlled by an NPC, allow the player to buy items from the store, and use those items from their inventory. In this chapter, we will continue from where we left off by offering the player weapons and armor to equip themselves with.

We will cover the following topics in this chapter:

  • The weapons Data Table
  • Setting the weapon and equipment screen variables
  • Creating the weapon button
  • Revisiting the equipment screen
  • Setting the equipment screen Text Blocks
  • Correcting character stats when equipping

The weapons Data Table

Now that we have a decent framework for item creation, it will be very easy to create equipment. Since the Items Data Table reads ...

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