[SOLVED] Ink integration with VN Framework?
[SOLVED] Ink integration with VN Framework?
Hello,
Sorry, new to Dialogue System and kind of stumbling my way through the documentation.
I can get ink integration with dialogue system to work with no problem, but as soon as I introduce the VN framework, I get "Conversation "myinkstory" not found in database". I have carefully gone over the steps with getting ink to work(manually writing in the name for the ink conversation, etc...) and at one point I did get the ink story to play, but as soon as I started editing the Gameplay scene I started getting this error.
What are the steps to get ink to work with dialogue system's VN Framework (from the Extras)?
Thank you.
Sorry, new to Dialogue System and kind of stumbling my way through the documentation.
I can get ink integration with dialogue system to work with no problem, but as soon as I introduce the VN framework, I get "Conversation "myinkstory" not found in database". I have carefully gone over the steps with getting ink to work(manually writing in the name for the ink conversation, etc...) and at one point I did get the ink story to play, but as soon as I started editing the Gameplay scene I started getting this error.
What are the steps to get ink to work with dialogue system's VN Framework (from the Extras)?
Thank you.
Last edited by Eldritch on Tue Dec 11, 2018 4:25 pm, edited 1 time in total.
Re: Ink integration with VN Framework?
Hi,
Inspect the start scene's Visual Novel Menu Canvas GameObject. On the Save Helper component, click the circle next to Conversation so you can type the name of your ink story manually. Then type it into the text field. In the screenshot below, I typed "story":
This should get your Ink conversation to start when you start a new game.
But there's currently an issue with saved games because of the way the Dialogue System runs Ink conversations. I'll try to have a fix by tomorrow so saved games work with the VN framework and Ink together.
Inspect the start scene's Visual Novel Menu Canvas GameObject. On the Save Helper component, click the circle next to Conversation so you can type the name of your ink story manually. Then type it into the text field. In the screenshot below, I typed "story":
This should get your Ink conversation to start when you start a new game.
But there's currently an issue with saved games because of the way the Dialogue System runs Ink conversations. I'll try to have a fix by tomorrow so saved games work with the VN framework and Ink together.
Re: Ink integration with VN Framework?
Thank you!!
Re: Ink integration with VN Framework?
Okay, you'll need to download these updates from the Dialogue System Extras page and import them into your project:
Remember to add a Dialogue System Ink Integration component to your Dialogue Manager, assign your story to it, and enter that story in the Visual Novel Menu Canvas's Conversation field.
- Visual Novel Framework 2.0.4
- Ink Support
Code: Select all
USE_INK
Re: Ink integration with VN Framework?
Yay! It works great. Thank you so much!
Re: Ink integration with VN Framework?
Okay, after further messing around with it, seems there might be a problem:
If I save during a choice menu, then load the scene, the choice menu will disappear and seems to automatically choose the first choice. THEN, proceeding in the game, the next time a choice menu comes up, it is the choice menu that I just saved at but that didn't appear when I reloaded the game. This happens at every subsequent point in the story in which a choice menu is supposed to appear.
Now, if I save normally (before or after a menu), it will continue until the next choice menu, then the subtitles UI will disappear and I will get the error "Exception: choice out of range".
I downloaded the latest versions of both Ink Support and the VN Framework, followed the steps to add to database and Conversation/SaveHelper, and edited Player settings.
If I save during a choice menu, then load the scene, the choice menu will disappear and seems to automatically choose the first choice. THEN, proceeding in the game, the next time a choice menu comes up, it is the choice menu that I just saved at but that didn't appear when I reloaded the game. This happens at every subsequent point in the story in which a choice menu is supposed to appear.
Now, if I save normally (before or after a menu), it will continue until the next choice menu, then the subtitles UI will disappear and I will get the error "Exception: choice out of range".
I downloaded the latest versions of both Ink Support and the VN Framework, followed the steps to add to database and Conversation/SaveHelper, and edited Player settings.
Re: Ink integration with VN Framework?
Thanks for detailing the issue. I'll try to get it fixed by the end of the week. Since the Ink integration works completely differently from all other file format integrations, there are some gotchas like this that I need to work around.
Re: Ink integration with VN Framework?
Okay, I believe everything is fixed. The fix is in the Ink integration package, which you can download from the Dialogue System Extras page or right here: <download>
Re: [SOLVED] Ink integration with VN Framework?
Thank you! It works great. So happy with this tool, thank you again.
Re: [SOLVED] Ink integration with VN Framework?
Glad to help! Happy game-making!