Alan Liu
Digital Audio Wasteland
Introduction
Digital Audio Wasteland is a capstone project I participated in during my senior year of my bachelor degree. Digital Audio Wasteland is a comedic first person exploration game that encourages players to explore the wasteland, collect the sound from surroundings and mix them into music.
In this game, I worked on making NPCs dialog and the mission. I made a base function that could store the dialog of NPCs and remember the player’s answers, and have different reactions even when the player restarts the conversation. Also I implemented the mission of one NPC.
NPC Dialog
I created a blueprint component for controlling the NPC dialog. The function would store the conversation progress and pass the dialog and options to the dialog widget. Then it would add the player’s option and make the dialog and the option index as a map, so that it would be easier to search for the options mapping to the specific question. Also the SetDialogBranch function could create a new dialog tree for the NPC in order to react differently based on the player’s options.




And here is an example of the dialog from NPC IRW1N



The dialog function could add, remove, reset etc. the conbersation progress.
