Saving Quest Progress With Easy Save
Posted: Wed Dec 08, 2021 9:48 pm
Hi Tony,
I wanted to start off by saying that I use the Dialogue System and Quest Machine assets in my game, and I absolutely love them! They are fantastic assets. Thanks for creating them for all of us to use!
I'm at a point now where I want to get a save system working. I have decided to go with the easy save asset. I'm making a game with tasks that the player completes on each level (similar to Untitled Goose Game). The player must complete a certain number of tasks in order to advance to the next level. I'm using Quest Machine. Each level has 1 quest that is given to the player at the start of the level. The quest has about 4 nodes(tasks) that the player must complete in order to advance to the next level. See our previous discussion awhile back here: https://www.pixelcrushers.com/phpbb/vie ... 680#p15680
https://imgur.com/a/wAABFjc Image Link on imgur for task list on single quest
So the question I have now is how can I save it each time one of the nodes or tasks is completed in the single quest? For example, if the first task "get into the garden" was completed...and then the player restarted the level. How could I first save when that the tasks get into the garden was completed? How can I mark that task as completed the next time the player loads the level so now they only need to do the remaining 3 tasks in order to progress?
Also, when a player first starts a new level...how can the save system be notified that there are say 4 tasks left to do that need to be completed in order to progress?
As a general note. I do have it currently set up with just 1 quest per level that lists all the tasks needed to be completed, but if you think for some reason it would be better to have a single quest for each task to complete...I might be able to make that change as well. The only tricky part would be how to notify the game once all the required quests were completed to advance. It was easier to have the tasks all in one quest for that reason (especially since the tasks are pretty straightforward).
Thanks for your help!
I wanted to start off by saying that I use the Dialogue System and Quest Machine assets in my game, and I absolutely love them! They are fantastic assets. Thanks for creating them for all of us to use!
I'm at a point now where I want to get a save system working. I have decided to go with the easy save asset. I'm making a game with tasks that the player completes on each level (similar to Untitled Goose Game). The player must complete a certain number of tasks in order to advance to the next level. I'm using Quest Machine. Each level has 1 quest that is given to the player at the start of the level. The quest has about 4 nodes(tasks) that the player must complete in order to advance to the next level. See our previous discussion awhile back here: https://www.pixelcrushers.com/phpbb/vie ... 680#p15680
https://imgur.com/a/wAABFjc Image Link on imgur for task list on single quest
So the question I have now is how can I save it each time one of the nodes or tasks is completed in the single quest? For example, if the first task "get into the garden" was completed...and then the player restarted the level. How could I first save when that the tasks get into the garden was completed? How can I mark that task as completed the next time the player loads the level so now they only need to do the remaining 3 tasks in order to progress?
Also, when a player first starts a new level...how can the save system be notified that there are say 4 tasks left to do that need to be completed in order to progress?
As a general note. I do have it currently set up with just 1 quest per level that lists all the tasks needed to be completed, but if you think for some reason it would be better to have a single quest for each task to complete...I might be able to make that change as well. The only tricky part would be how to notify the game once all the required quests were completed to advance. It was easier to have the tasks all in one quest for that reason (especially since the tasks are pretty straightforward).
Thanks for your help!