Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News - Blog: Developing procedural dialog in a game about tech support

#1
Blog: Developing procedural dialog in a game about tech support

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/05/blog-developing-procedural-dialog-in-a-game-about-tech-support.png" width="646" height="363" title="" alt="" /></div><div><p><strong><em><small>The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community.<br />The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company.</small></em></strong></p>
<hr/>
<p><span><span><strong>Tech Support: Error Unknown</strong> is a rapid paced puzzle game in the vein of Papers Please. Presented entirely through a computer interface, the player is contacted by customers through a chat dialogue interface where they try to establish what the customer’s problem is and offer solutions relevant to the situation. The genre blends quick execution with detective work to interrogate customers and understand situations properly.</span></span></p>
<p><span><span>Over the course of a game, a player will interact with 200 to 350 different customers, many of which will have similar problems such as their phone not turning on, a broken screen or simply trying to change the wallpaper. Interactions generally involve between 10 to 20 lines of dialogue on the customer’s side.</span></span></p>
<p><span><span>Because of the fast paced nature of the game, I avoided using a text parser in favor of a macro system offering a series of questions and solutions. New options gradually unlock over the course of the game, but every unlocked option is available to the player at all times during a conversation, meaning the customer must be able to account for every comment and react accordingly.</span></span></p>
<p><span><span><img alt="" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/05/blog-developing-procedural-dialog-in-a-game-about-tech-support.png"/></span></span></p>
<p><span><span>Having such a wide range of dialogue options pushed me to create a system that would merge various tricks to make conversations flow naturally and as uniquely as possible. I also purposefully limited the choices available to the player, to ensure that most responses would be applicable to more than problem, even if they’re not always the correct answer. Towards the end of the game, the player access to over 25 replies, to which customers must be able to react in a natural and unique fashion.</span></span></p>
<p><span><span>Dialogue is always presented as the customer reacting to something the player is saying or doing, so the the first step was to write basic dialogue for each of those situations. In some cases, lines are reused for similar situations, like when the player is offering a solution which is inconsequential to the problem. However, even wrong paths often lead to unique dialogue options, like the customer asking why the player wants to track their phone through GPS when all they want is to change the wallpaper.</span></span></p>
<p><span><span>Once all the situations were established, I added multiple lines of dialogue for each case, to avoid having the same replies from happening when the same problem occurs. A customer calling concerning their phone being corrupted might answer “When I tried to start my phone, it gave me a garbled mess.” or “My phone won’t start, and it says something about corruption”. Some customers might dodge giving a specific answer altogether and simply respond “My phone doesn’t work correctly”. This variety also keeps the player on their toes and rather than simply memorizing the solutions to a series of replies.</span></span></p>
<p><span><span>Problems may also be re-contextualized to provide a wider range of replies. If a phone got wet, the customer might explain that they’re clumsy and dropped it in the pool, or that it was raining really hard. In some cases, the customer may not fully understand what the solution presented means, leading down a different solution free for the player.</span></span></p>
<p><span><span>All of the dialogue lines are listed in a Open Office spreadsheet, which I then convert to a JSON file loaded by the game. Statements can have several dozens of replies to choose from as a baseline, ranging from a single sentence to a small monologue, and changed on the fly as the customer becomes more irritated or the player asks the same questions again.</span></span></p>
<p><span><span><img alt="" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/05/blog-developing-procedural-dialog-in-a-game-about-tech-support-1.png"/></span></span></p>
<p><span><span>Once a line is selected, the system determines what variance to add to it. Sentences are broken into chunks which are interchangeable, allowing for different expressions to be used. In the case of “I already told you, I cracked the screen on my phone”, the customer could instead start the sentence with different expressions: “Like I told you”, “I just mentioned it! Once again,” or “Are you even listening? I already said that”.</span></span></p>
<p><span><span>Customers also have individual traits which influences their speech patterns. Emojis might be added to the responses to add some flair, or the customer might use shorthand for quick dialogue, where forget becomes 4get, you’re becomes ur, and so on. Some may even add typoes to their dialogue, with the frequency varying between different customers.</span></span></p>
<p><span><span>All of these variations not only serve to make sentences feel distinct, but also add a lot of personality to the customers themselves. The procedurally generated insults allow for memorable quotes like “you contemptuous piece of trash” or “worthless donkey”. They can even use more common swear words if the option is toggled on.</span></span></p>
<p align="left"> </p>
<p><span><span><img alt="" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/05/blog-developing-procedural-dialog-in-a-game-about-tech-support-2.png"/></span></span></p>
<p><span><span>Tech Support also employs a series of unique characters with their own dedicated dialogue to spice up the conversations. These are split between story characters and specifically crafted customers, who blend in among the procedural characters until a dialogue is established.</span></span></p>
<p><span><span>These characters will always appear on the same days and have the same problems, which allows for more carefully crafted dialogue and requiring less variation. It also allows me to craft a story around these characters which makes them pop more and adds credibility to the dialogue system.</span></span></p>
<p><span><span>Having about 10-15% of conversations be unique characters makes the entire dialogue system feel more fresh,</span></span></p>
<p><span><span><img alt="" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/05/blog-developing-procedural-dialog-in-a-game-about-tech-support-3.png"/></span></span></p>
<p><span><span>A substantial amount of time was spent crafting the dialogue and breaking them down to make them go a longer way. Because the dialogue system and investigation was a pillar of the game’s design, making conversations flow naturally is a priority.</span></span></p>
<p><span><span>Locking the player’s reactions to dialogue macros helped limit the scope of the game but also allows for faster and more intense game play. The pacing also makes it easier for responses which do sound very similar to be mostly ignored as the player becomes doesn’t have time to break down how the reply is made, only focusing on the meaning itself.</span></span></p>
<p><span><span>The rate of a new conversation for every play minute was always going to be a challenge to make every response unique, but by virtue of a few tricks, a few thousand lines of dialogue were pushed to become a lot more.</span></span></p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016