Tutorial&Showcase: Questing System - Progression (Part 2)
Welcome back to the continuation of the Questing system!
To simplify the progress since last time, much work has been put into refactoring the code to allow for quest regression. This means that when a player does something that would cause quest progress to be undone, the system will act upon it. Such as the below example where the player picks up the items they need, gets the next quest part, and then drops the previous item causing them to have to complete the first objective again.
As you can see in the video, the player picks up a mushroom completes the quest, and then picks up raw beef as part of the next quest. The next thing is he drops the mushroom which makes it go back to him requiring mushrooms again and gains no progress on his following quest until it is done.
This can be useful in scenarios where an NPC would request an item but the player gets rid of it before handing it over.
As before we will now move over to a more technical explanation of what was made for those interested in creating something similar.
The quest data has been reworked for larger expandability before it had a simple "goal" set that would allow for a single quest to be done, whereas now it has an objectives list that contains sub-objectives for different stages of the quest. There have also been a few added text boxes to assist with what the player has displayed to them.
Comparison of scriptable objects holding the data of a quest.
One other key part of the rework is the "Track Until Next Objective Is Complete". When on it will allow for regression of quests, if off you can drop items freely without worry.
The implementation of this was to make it so that the game would first check if you got still have the requirements before checking if you did any progress towards the next objective. If the objective was regressed then it will go back to it and progress can no longer be made on the following quest.
If you're thinking" what about having multiple objectives at the same time?" That has also been implemented along with this, allowing for you to perhaps have to kill an enemy, find some documents of theirs and talking to someone all at once before going onto the next part of the quest which might be to report to someone.
This concludes the second part of our quest system, we hope this helps for inspiration on your own future quest system. If you have any further questions, feel free to ask in the comments!
Get Tenril
Tenril
Put an end to the conflict of the two races of Tenril.
Status | On hold |
Publisher | |
Authors | HeavensGates, JacquesAV, LapizLazuli, Tessa |
Genre | Role Playing, Action, Adventure |
Tags | 3D, Atmospheric, Fantasy, Singleplayer, Story Rich, Third Person, Unity |
Languages | English |
More posts
- Xipilian Social CeremoniesMar 02, 2024
- Skill Tree: Swapping spells, Pyromancy tree path and much more!Feb 17, 2024
- Forging Your Destiny - Crafting System Part 3Feb 10, 2024
- Forging Your Destiny - Crafting System Part 2.5Feb 04, 2024
- Lunaegan Social CeremoniesJan 20, 2024
- Skill tree: Menu creation and Biomancy pathJan 06, 2024
- Forging Your Destiny - Crafting System Part 2Dec 23, 2023
- Social Structure; Xipilian CityDec 09, 2023
- Conclusion of the In-Game Menu Rework (Inventory, Stats and Settings)Nov 25, 2023
Leave a comment
Log in with itch.io to leave a comment.