Database, Quests, Inventory and Saves
Posted: Sun Apr 24, 2022 10:11 am
Hello. Not so long ago I bought Dialogue System for Unity, and now I'm trying to integrate it into my game. I have a few problems that I hope you can help me with.
The structure of my game is this: There is a main stage with all the necessary managers, UI, and the player. As needed, new locations are loaded onto this scene using the Additive method. On the same scene, there is a Dialogue System Controller with a Database assigned.
1. There are quite a lot of NPCs in my game, each of which has dialogues and quests. Should I use one Database for everything?
2. Let's say I want to mark a quest as completed when the player enters a new location (and I don't want to use the Dialogue System Trigger). Is it possible to set the state of the quest through a script?
3. In my save system, I need to store player parameters, quest status, inventory, and more. Moreover, the game will only "auto-save" after fulfilling any conditions, talking with a specific NPC or completing a cutscene. Is it possible to implement all this with this asset? Or would it be better to write your own system?
4. Can I call any custom script from the conversations?
5. I want to make my own journal system to keep track of the status of quests and display inventory. How to get a list of all quests and items from database? And can I add/remove an item via code?
Sorry for being a little messy, but I'd really appreciate your help!
The structure of my game is this: There is a main stage with all the necessary managers, UI, and the player. As needed, new locations are loaded onto this scene using the Additive method. On the same scene, there is a Dialogue System Controller with a Database assigned.
1. There are quite a lot of NPCs in my game, each of which has dialogues and quests. Should I use one Database for everything?
2. Let's say I want to mark a quest as completed when the player enters a new location (and I don't want to use the Dialogue System Trigger). Is it possible to set the state of the quest through a script?
3. In my save system, I need to store player parameters, quest status, inventory, and more. Moreover, the game will only "auto-save" after fulfilling any conditions, talking with a specific NPC or completing a cutscene. Is it possible to implement all this with this asset? Or would it be better to write your own system?
4. Can I call any custom script from the conversations?
5. I want to make my own journal system to keep track of the status of quests and display inventory. How to get a list of all quests and items from database? And can I add/remove an item via code?
Sorry for being a little messy, but I'd really appreciate your help!