
Building an RPG with Unity 2018
By :

Just like any other technical project that might have patterns defined, an RPG can also utilize similar patterns that have been documented by Whitson John Kirk III in his book titled Design Patterns for Successful Role-Playing Games.
Note: Whitson was inspired by the book Design Patterns: Elements of Reusable Object-Oriented Software. His objective was to see if any special patterns existed in existing RPGs, and he approached this by examining specific patterns in successful games in the genre to detect and identify them.
In this section, we will be looking at some of the design patterns that have been identified, and that can be utilized for your own games.
Anytime you start a new project, regardless of what type, you need to have some clear idea of what exactly it is that you are trying to accomplish. This is even truer for designing a game. Since designing a game has many different components to it, you will need to identify what your game is going to be about. Some questions to start the thinking process are as follows:
These are all important questions that will affect the design of your game. As you read this chapter and the book in general, keep a pen and paper handy so that you can write down all ideas that flash into your mind. This way, you can keep track of all your thoughts, and if you need to expand on them you can do so at a later time.
Every discipline has its own terminology. The following is a list of terminology that is used in RPG games. It is a good idea to take a moment and study them, to expand your vocabulary or to refresh your memory:
To get a better understanding about the relationships between the attributes and characteristics, we have put together a visual help explain it:
The intent of a contest tree is to provide a mechanical means to create rising tension within a game. This is also known as Escalating Conflict.
Contest trees are high-level conflict resolution systems made up of many levels of contests arranged in a hierarchical fashion. The way they work is that lower-level contests feed into the higher-level contests and hence affect the outcome of the higher-level contests.
In other words, the higher-level contest could be to kill the big boss, but before you get to the big boss, there could be other mini battles that you will have to complete, and the outcome of the mini-battles will drive the outcome of the big battle. A simple example would be the amount of experience points you have gained before reaching the main boss.
Since the higher-level contests are somehow related to the lower-level contests, players do pay attention to the outcome of the lower-level contests; therefore, tensions arise concerning the eventual success or failure of a higher-level contest as a lower-level contest succeeds or fails.
It is best to use a contest tree when you want to create a sense of rising tension in your game. This can be achieved by applying different mechanics as the player progresses through the levels. Creating suspense in a cRPG is very simple, as you have a lot of control over the way levels and game play are designed. Since we have the ability to create our 3D worlds as we like, it would be easy to incorporate suspense into the game.
A few key points for creating tension in your game are as follows:
Damage
and Remaining Hit Points
are the only gauges used as an input into a conflict resolution, then the mechanics can only resolve issues dealing with Damage
and Hit Points
. To design a flexible contest tree, you will need to consider both the inputs as well as the outputs.The Last Man Standing conflict system provides a generalized contest tree to resolve which side attains victory in battle.
The Last Man Standing is also one of the most traditional forms of generalized contest trees. The basic idea behind the pattern is to identify who the winner is by the simple fact of who manages to destroy the opponent. He who does is the winner. This is also one of the simplest ways to implement a contest tree.
It is used when there is a strong emphasis on tactical combat. Keep in mind that you are not obliged to use one pattern or the other. You can very well combine several patterns together, and you should, to make it more interesting. For instance, if your game has a great emphasis on combat, but you want to also introduce some negotiation into the conflict resolution, you can very much do so. Again, it all depends on you and your game design.
Something to keep in mind: if the only way to resolve a high-level contest is through battle, then players will focus their efforts on being the best they possibly can at winning battles. In other words, if a game only provides a single tool to resolve disputes, then you can be assured that players will become very adept and focused at using that tool.
A Negotiated Contest provides a mechanical means to resolve disputes where the set of inputs and possible outcomes is negotiated by the player and non-player characters specifically for the conflict.
Designing and developing a Negotiated Contest mechanism is pretty complex. In order for the pattern to work properly, you will need to consider all of the inputs and outputs of the negotiations. The challenge of developing such a system is not so much the actual technical implementation, but the database that you will have to create and retain, based on the available selection by the player and the outcome of each input.
The implementation of the mechanics can be as simple as a few options and outcomes, and as complex as a variety of options and their eventual outcomes down the line. The important point is that you will have to introduce a negotiation mechanism after a conflict has been introduced, but before any action has been taken! The outcome is obviously what a win/lose concerns with, based on the negotiation before the conflict.
Note: The Negotiated Contest pattern requires that players be allowed to negotiate the effects of success and failure before the conflict is mechanically resolved.
Use the Negotiates Contest pattern when your design goals include one of more of the following:
For computer role-playing games, the negotiated contest will have some restrictions, as we cannot afford to create an AI system to be open-ended. But we can design a simpler means to provide the player a sense of some control on the negotiations, as part of the game play.
Negotiation can be a great mechanics for exchanging information, and good with non-player characters in your role-playing game. There are three parts to a Negotiation pattern, as follows:
Here are some questions to consider when designing a Negotiation system:
Change the font size
Change margin width
Change background colour