Giter Club home page Giter Club logo

Comments (4)

Drillur avatar Drillur commented on July 3, 2024

I got it to work, and it is really ugly and inconvenient to write compared to the way I tried the first time. Yes, this is the only way to do it. If it has a reply, it must not be randomized. So, lines without replies go in their own section, and then each line with a reply must also be in its own section.

~ COAL_RANDOM
%6 => c0
% => c1
% => c2

~ c0
% COAL: Dig, dig!
% COAL: Glad to help!
% COAL: Is this lump yours? [wait=1]Just kidding!
% COAL: I hope my posture is good.
% COAL: I sure am grateful for this shovel.
% COAL: Why is this stuff purple?
=> COAL_RANDOM

~ c1
COAL: If you didn't get enough, go ahead and take some more!
% CONCRETE: Gracias, amigo.
% JOULES: Thank you.
% COPPER_ORE: Well, shoot, there, boss, don't mind if I do!
=> COAL_RANDOM

~ c2
COAL: I always liked playing support.
% => c3
% => c4
% => c5
=> COAL_RANDOM

~ c3
TARBALLS: Support as in... buffer or healer?
COAL: Healer.
=> COAL_RANDOM

~ c4
IRON_ORE: ADC for life.
=> COAL_RANDOM

~ c5
IRON: I like to tank!
=> COAL_RANDOM

Including aesthetic spacing, this doubled the amount of lines.

Also, regular lines and section jumps cannot be grouped together in a random pool. They are grouped separately. See:

image

Test3 is never reached.

from godot_dialogue_manager.

nathanhoad avatar nathanhoad commented on July 3, 2024

I'm not really sure what you're trying to do but if you want to have separate groups of random lines then you can add an empty line between each group.

from godot_dialogue_manager.

Drillur avatar Drillur commented on July 3, 2024

The first screenshot is the most relevant to what I'm trying to do: Get randomized dialogue with no input from the player. The player won't be able to reply to anything. I also was trying to get randomized replies to certain lines, like at line 8--if Coal says the line on line 8, then 1 of those 3 characters below him would have a reply.

But there can be no reply like that to a random line.

from godot_dialogue_manager.

nathanhoad avatar nathanhoad commented on July 3, 2024

If you unindent all of those lines and then add empty lines between the grouped random lines it should do what you want.

from godot_dialogue_manager.

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.