Unreal Engine 4
Total Page:16
File Type:pdf, Size:1020Kb
Escola Tècnica Superior d’Enginyeria Electrònica i Informàtica La Salle Treball Final de Màster Master in Advanced Videogame Development Alumne Professor Ponent Joan Guillem Castell Ros-Zanet Alun Thomas Evans ACTA DE L'EXAMEN DEL TREBALL FI DE MASTER Reunit el Tribunal qualificador en el dia de la data, l'alumne D. va exposar el seu Treball de Fi de Master, el qual va tractar sobre el tema següent: Acabada l'exposició i contestades per part de l'alumne les objeccions formulades pels Srs. membres del tribunal, aquest valorà l'esmentat Treball amb la qualificació de Barcelona, VOCAL DEL TRIBUNAL VOCAL DEL TRIBUNAL PRESIDENT DEL TRIBUNAL 1 Forsaken, The last Remnant Abstract This project consists in making a souls like game prototype. We get inspired to make that game in three different rpg souls like game, obviously Dark Souls is the main reference of any game of souls like style like his name reflects, then we got inspired by Ashen, and Little Devil Inside, both are some kind of action adventure rpg. From Little Devil mostly we got inspired by the art, and from Ashen the playability taking the best from each game to try make an excellent prototype. Our main idea is release Frosaken beta at itch.io, a free platform to publish games, and if has enough acceptance try to release a finished game in differents platforms like Epic or Steam. The attachments of this project consist in the artificial intelligence of the video game, this was the part I was responsible for developing in the prototype. 2 Resumen Este proyecto consiste en hacer el prototipo de un juego del estilo souls like. Fuimos inspirados para hacer este juego en 3 diferentes rpg soul like, obviamente Dark Souls que es la referencia principal de cualquier juego soul like como su nombre indica, también nos inspiramos en Ashen y Little Devil Inside, los dos son del tipo aventura/acción rpg. De Little Devil Inside mayormente nos inspiramos en la parte artística, y de Ashen en la jugabilidad, intentando coger de cada uno de los 3 la mejor parte para intentar hacer un prototipo excelente. Nuestra idea principal es publicar la beta de Forsaken en itch.io, una plataforma gratuita para publicar videojuegos, y, si tiene suficiente aceptación intentar publicar una versión acabada en plataformas como Epic o Steam. El anexo de este proyecto consiste en la parte de la inteligencia artificial del videojuego, que es la parte en la que yo me he encargado de desarrollar en el prototipo. 3 Forsaken, The last Remnant Resum Aquest projecte consisteix en prototipar un joc de l'estil souls like. Ens inspirem en fer aquest joc en 3 diferents soul like rpg, òbviament, Dark Soul que és la principal referència de qualsevol soul like com el seu nom indica, també es van inspirar per Ashen i Little Devil Inside, tots dos són del estil acció/aventura RPG. De Little Devil Inside ens vam inspirar sobretot per la part artística, i Ashen en la jugabilitat, tractant d'obtenir de cada un dels 3 la millor part per tractar de fer un prototip excel·lent. La nostra idea principal és publicar la beta de Forsaken a itch.io, una plataforma gratuïta per publicar videojocs, i, si te l'acceptació suficient, intentar publicar una versió acabada en plataformes com Epic o Steam. L’annex d’aquest projecte consisteix en la part de la inteligencia artificial del videojoc, que es la part en jo em vaig encarregar de desenvolupar en el prototip. 4 Acronyms AI: artificial intelligence RPG: Role playing game CrowdFunding: crowdfunding is a collective founding of people towards a project or idea by providing irrelevant amounts of money but which together can become very large, usually in exchange for ”prizes” or very varied rewards. PEGI: Pan European Game Information, Age ratings are systems used to ensure that entertainment content. These age ratings provide guidance to consumers, parents in particular, to help them decide whether or not to buy a particular product for a child. The PEGI rating considers the age suitability of a game, not the level of difficulty. UE4: Unreal Engine 4 GDD: Game design document SQ: Sequence RPG: Role Playing Game BT: Behaviour Tree BB: Blackboard 5 Forsaken, The last Remnant Índex Abstract 2 Resumen 3 Resum 4 Acronyms 5 Índex 6 1.- Introduction 9 1.1.- Scope and Goals 9 1.2.- Main features 9 1.3.- Synopsys (Storyline) 10 1.4.- Environment and Context 13 2.- Theoretical framework 14 2.1.- What is an RPG game? 14 2.2.- Most known RPG games 14 2.3.- State of the art 15 2.4.- Tools 17 2.4.1.- Unreal Engine 17 2.4.2.- Maya 17 2.4.3.- Substance Painter 18 2.4.4.- Photoshop 18 3.- Game Design and Mechanics 19 3.1.- Game Script (Story) 19 3.2.- Playability 23 3.2.1.- Keyboard inputs 23 3.2.2.- Controller inputs 24 3.3.- Player mechanics 25 3.3.1.- Character Stats 25 3.3.2.- Talent Tree 26 3.3.4.- Actions 27 6 3.3.5.- Attacks 28 3.4.- Enemy Mechanics 28 3.4.1.- Enemies 28 3.4.2.- Boss 30 3.4.2.1.- Boss Attacks 31 3.4.2.2.- Boss Fight 32 3.5.- Characters 34 3.5.1.- Main Character (Player) 34 3.5.2.- Liza {|laiza|}, your sister 34 3.5.3.- Deity 34 3.5.4.- Ethereals and aberrations 34 3.5.5.- Major Servant 34 3.5.6.- Minor Servant 35 4.- Art 36 4.1.- 2D Art 36 4.1.1.- Concepts 36 4.1.2.- Character design 38 4.2.- 3D Art 43 4.2.1.- First Cell Shading tests 43 4.2.2.- Final Shader 44 5.- Results 48 5.1.- Future Lines 48 6.- Personal Conclusion 49 7.- Bibliography 50 9.- Attachment 1: Behaviour Trees on UE4 51 9.1.- AI Controller 51 9.2.- UE4 AI 51 9.2.1.- Blackboard 51 9.2.2.- Behaviour Tree 51 9.2.3.- Composite Node 52 9.2.4.- Task Node 53 9.2.5.- Decorator Node 53 7 Forsaken, The last Remnant 9.2.6.- Service Node 54 10.- Attachment 2: Forsaken AI 55 10.1.- Enemies 55 10.1.1.- Parent Enemy 55 10.1.1.1.- Enemy Animation 55 10.1.1.2.- Enemy Base Class 55 10.1.1.3.- Enemy Base AI 57 10.1.1.3.1.- AI Controller 57 10.1.2.- Physical Enemy 58 10.1.2.1.- Physical Enemy Class 58 10.1.2.2.- Weapon Class 59 10.1.2.3.- Physical Enemy AI 60 10.1.2.3.1.- AI Controller 60 10.1.2.3.2.- Behaviour Tree 60 10.1.3.- Magic Enemy 63 10.1.3.1.- Magic Enemy Class 63 10.1.3.2.- Magic Spell Class 64 10.1.3.3.- Magic Enemy AI 65 10.1.3.3.1.- AI Controller 65 10.1.3.3.2.- Behaviour Tree 65 10.2.- Boss 68 10.2.1.- Boss Animations 68 10.2.2.- Boss Class 69 10.2.3.- Boss Magic Attacks 74 10.2.3.1.- Explosive Fire Meteorite Class 74 10.2.3.2.- Fire Missiles Crawlers Class 75 10.2.4.- Boss AI 77 10.2.4.1.- AI Controller 77 10.2.4.2.- Behaviour Tree 78 11.- Table of Content 81 8 1.- Introduction 1.1.- Scope and Goals Our purpose is to make a simple but flexible game in where people can develop their own playstyle. We’re aiming for a stylized aesthetics and organic growth in the level in order to stand out in the market. Our main goal is to present a solid action RPG game which is fun to play, and to create a demo gameplay to show the result and its possibilities. Furthermore, we pretend to innovate in a trendy genre (post-apocalyptic RPG) searching for a more unique and personal style, and also give a deep background to the game through the storyline. With that in mind, the project scope will be the following: ● Creating a Game Design document (GDD) ● Develop the graphic style (Cell Shading tests) ● Creating a 10 minutes Demo Gameplay 1.2.- Main features ● Project Title: Forsaken, The Last Remnant ● Genre/Theme: Action RPG / Post-Apocalyptic, Fantastic ● Format: Videogame (Demo) ● Duration: 10 mins (Demo gameplay) ● Logline: You are a young survivor who must scour a post-apocalyptic city for your missing sister before she is consumed by a plague of soul devouring creatures. ● Tagline: Die Hard, PLAY HARDER. 9 Forsaken, The last Remnant ● Target audience: Young adults (PEGI 16), RPG experienced players, either men and women. ● Profile: o The main profile will be killer, being a soul like game it is focused on battles o As secondary profile will be explorer and achiever, because we want they explore all Forsaken world and play all different endings. ● Characters: o Main character (Player) o Sister (Liza. She will appear in Flashbacks) o Deity o Ethereals and Aberrations o Major Servant o Minor Servant ● Style: We aim for a dark and post-apocalyptic PlayStation 2 look (low poly objects, hard edged and with simple shaders and textures) but with great graphics, and we will get it thanks to the Cell Shading options in Unreal Engine and some lighting effects. 1.3.- Synopsys (Storyline) You and your sister Liza, who is badly ill, are spending the night inside an unused subway station. Your sister has developed an increased weakness during the last year. She will die in a few days.