Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split talk script files #38

Open
giusdp opened this issue Dec 13, 2023 · 0 comments
Open

Split talk script files #38

giusdp opened this issue Dec 13, 2023 · 0 comments

Comments

@giusdp
Copy link
Owner

giusdp commented Dec 13, 2023

Right now there is one asset file used to create a dialogue graph. It contains both the actors vector and the script actions vector.
The actions also contain the data needed to create the actual graph (ids and next ids), together with other data (the kind of action, actor, text...).

We could instead take a different approach and split this asset file into 3 assets.

  • Actors asset file that acts as a DB of the characters in a game

  • A file with just the dialogue lines without graph metadata.

    • It can be useful to build dialogue graphs procedurally. If we have just the pool of dialogue lines we can pick them and make a graph at runtime.
    • The dialogue lines should have some metadata so they can be grouped together, especially important to indicate which lines are player choices.
    • It is also useful to build graphs with just 1 node that can be added to game items as their description.
  • The graph file that operates just with the ids and puts together actors id, dialogue ids to form a node and connect them together.

    • The non-talk actions (such as Join and Leave) can be used here to indicate when an actor enters/exits the conversation.
@giusdp giusdp added this to the v0.4.0 milestone Dec 13, 2023
@giusdp giusdp modified the milestones: v0.4.0, v0.5.0 Jan 2, 2024
@giusdp giusdp removed this from the v0.5.0 milestone Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant