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

Get Building an RPG with Unreal 4.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.