How to Create a Questing System in Unity
Zenva
ACCESS the FULL COURSE here: https://academy.zenva.com/product/rpg-academy/?zva_src=youtube-rpg-academy
TRANSCRIPT
Hey guys, my name is Austin Gregory and in this course, I'm gonna teach you how to create a questing system for your Unity games. The system is gonna have quest givers which can be NPCs, they can be items, they can be anything, and they're going to assign a quest to our player, or maybe multiple quests. In my case, my quest giver are just buttons, but yours can be anything you would like. And each quest is going to have a goal you have to complete to complete the quest. Now, this goal can be anything. This goal for treasure hunter is finding an item, a specific item for the quest. Anything you can fire off an event by doing, you can set it up as a goal for the questing system. So for it one, we have a kill goal. Anytime an enemy dies, we check. Do we care about this enemy dying? If we do, then we increment the Vampire Slayer or whatever quest is looking for an enemy to die. In this case, we find an item. We say, is this an item I care about? If it is, then I update the progress for Treasure Hunter. And here we have something that's gonna kill a vampire and something that's gonna find an item.
Now, these two things are gonna allow us to test the system, but obviously you want to place this into your game, which you're gonna be doing later on in the RPG series. So, I'm gonna kill a vampire, or a few vampires here, until I've killed all 10. There we go, I've complete the quest and I've got my reward. Burnt salmon and rusty chains. Now, these are just strings of item names, but later on we're gonna actually hook it up to our inventory system and crafting system so that you can get rewarded with items which you can then use to craft new items with. Pretty cool. And then I want it to do the Treasure Hunter quest, one out of one, and I received a ruby talisman. Again, just an item name, not an item. And that's gonna be it. A really cool system, and it's gonna be very easy to drop into any game that you may have. So, my name is Austin, and I will see you in the first lesson. ... https://www.youtube.com/watch?v=fcust408va0
2792213 Bytes