littleDialogue.lua (v1.1) - bye bye default text boxes!

Share and discuss custom LunaLua code and content packs for SMBX2.
KurttheKing98YT
Bit
Bit
Posts: 66
Joined: Tue Mar 15, 2022 4:55 pm
Flair: Minecraft Legend/SMBX Creator/Nerd
Pronouns: He/Him
Contact:

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby KurttheKing98YT » Mon Jul 11, 2022 6:16 pm

MrDoubleA wrote:
Mon Jul 11, 2022 5:42 pm
KurttheKing98 wrote:
Sun Jul 10, 2022 6:31 pm
I have a quick question. So, it seems as if the Little Dialogue Folder/Script has to be in the Episode Folder, and not simply the Level Folder. I'm probably just doing something wrong (because I'm still terrible at scripting) but if you know how to make it work by having the LD Folder and Script in the Level Folder, let me know. Thanks! :D
I've tested it in both the episode and level folder. Sharing any error/debug messages you get, as well as your luna.lua file, would be very useful.

Here's the Error Message I get when trying to enter a level with it in the level folder (I also wrote local littleDialogue = require("littleDialogue") inside my level's Lunalua File) :

Image

Any ideas? :?:

KurttheKing98YT
Bit
Bit
Posts: 66
Joined: Tue Mar 15, 2022 4:55 pm
Flair: Minecraft Legend/SMBX Creator/Nerd
Pronouns: He/Him
Contact:

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby KurttheKing98YT » Tue Jul 12, 2022 7:51 pm

KurttheKing98YT wrote:
Mon Jul 11, 2022 6:16 pm
MrDoubleA wrote:
Mon Jul 11, 2022 5:42 pm
KurttheKing98 wrote:
Sun Jul 10, 2022 6:31 pm
I have a quick question. So, it seems as if the Little Dialogue Folder/Script has to be in the Episode Folder, and not simply the Level Folder. I'm probably just doing something wrong (because I'm still terrible at scripting) but if you know how to make it work by having the LD Folder and Script in the Level Folder, let me know. Thanks! :D
I've tested it in both the episode and level folder. Sharing any error/debug messages you get, as well as your luna.lua file, would be very useful.

Here's the Error Message I get when trying to enter a level with it in the level folder (I also wrote local littleDialogue = require("littleDialogue") inside my level's Lunalua File) :

Image

Any ideas? :?:

OK so I'm not sure exactly what the problem was, but upon copying the exact script and folder from the Example Level and using that instead, it just decided to work for some reason XD

Image

I'm gonna go figure out what I did differently. Cya!

FLOOFYBULL
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Thu Apr 22, 2021 5:12 pm
Pronouns: he

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby FLOOFYBULL » Sat Jul 16, 2022 4:10 pm

Good stuff (As always)! But how do you change the text box that comes from events?

deice
Buster Beetle
Buster Beetle
Posts: 442
Joined: Fri Jul 23, 2021 7:35 am

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby deice » Sat Jul 16, 2022 4:23 pm

FLOOFYBULL wrote:
Sat Jul 16, 2022 4:10 pm
Good stuff (As always)! But how do you change the text box that comes from events?
default settings are near the bottom of the library file

BroccoliRampage
Fighter Fly
Fighter Fly
Posts: 47
Joined: Fri Jan 31, 2020 7:39 pm
Flair: Moop!

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby BroccoliRampage » Sun Oct 16, 2022 12:50 am

Any idea why the <page> tag won't work with this and is there an alternative tag that could possibly be used instead?

MrDoubleA
Flurry
Flurry
Posts: 351
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?
Pronouns: he/him

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby MrDoubleA » Wed Oct 26, 2022 4:06 pm

BroccoliRampage wrote:
Sun Oct 16, 2022 12:50 am
Any idea why the <page> tag won't work with this and is there an alternative tag that could possibly be used instead?
It seems to work for everyone else, so it'd be appreciated if you could share what you're doing.

1Sonichedgehog
Goomba
Goomba
Posts: 1
Joined: Fri Dec 30, 2022 1:54 pm
Pronouns: he/him

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby 1Sonichedgehog » Fri Dec 30, 2022 2:16 pm

Hello guys! so I've been using littledialogue for a while and its great! but i wanted to do something different, is it possible to add a question.... in a question?... let me explain, so usually in littleDialogue a question is there to end off a sentence but i want it to keep on going! like after the player clicks the question and the text plays instead of ending another question comes and a so on.

PikaChris
Monty Mole
Monty Mole
Posts: 131
Joined: Mon Jan 06, 2014 9:51 pm
Flair: Moon Lord's Servant
Contact:

Re: littleDialogue.lua (v1.1) - bye bye default text boxes!

Postby PikaChris » Wed Jan 25, 2023 2:05 pm

If you ever plan on updating this script, might I throw you some ideas to make it more flexible.

PRONOUNS: This would compliment <characterNames> very well, especially when there are creators trying to make story driven episodes. It could work similarly to charnames where each pronoun is designated to each specific character. Not to mention, this can also be customized for if you have custom characters for your episode (assuming it's possible to do within littledialogue's code).

HIDE HUD: Pretty simple, a feature that hides the hud by either fading it out, sliding it upwards offscreen, or simply make it invisible instantly upon talking to an NPC. The HUD only comes back after the dialogue is finished.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest