Giter VIP home page Giter VIP logo

Comments (4)

wubbadukky avatar wubbadukky commented on May 31, 2024 1

I think that would be a great way of handling it @JadenBalogh .

from rpg.

JadenBalogh avatar JadenBalogh commented on May 31, 2024 1

On it!

from rpg.

JadenBalogh avatar JadenBalogh commented on May 31, 2024

I was thinking more about this problem today. What do you think about this solution @wubbadukky?

We make each NPC have a list of dialogue trees, rather than the current single option. You can add as many as you want in the inspector using this list, unique for every NPC. Each dialogue tree is referenced by an index based on its position in the list. Then, in the dialogue graph editor, you would be able to add an optional setting in each node to change the currently active dialogue tree.

So, for example, in the last node of a dialogue tree, you could set it to change the currently active dialogue tree to index 1 instead of index 0. From then on, until this index was changed again, that NPC would play dialogue tree 1 instead of the initial dialogue tree 0. So, the second one could be something like "Why are you still talking to me? Go do your task!" for example.

Would that be a good solution to this problem?

from rpg.

JadenBalogh avatar JadenBalogh commented on May 31, 2024

Added a separate issue for the task of adding/removing specific conversation options based on conditions like alignment thresholds #61.

from rpg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.