[Mod] Chat Bubbles [chat_bubbles]

Post Reply
User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

[Mod] Chat Bubbles [chat_bubbles]

by jordan4ibanez » Post

Chat Bubbles

This is a small mod which adds chat bubbles into the game.

Github

Download

Image


License: WTFPL

Code: Select all

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.
Attachments
screenshot_20161111_195029.png
screenshot_20161111_195029.png (275.24 KiB) Viewed 879 times
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Chat Bubbles [chat_bubbles]

by Desour » Post

interesting
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] Chat Bubbles [chat_bubbles]

by ExeterDad » Post

Really? I have to check this out!

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Chat Bubbles [chat_bubbles]

by mahmutelmas06 » Post

Why we didnt have this feature before :D

+1 love it
My Mods:

Beverage

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: [Mod] Chat Bubbles [chat_bubbles]

by firefox » Post

wooooot =(0.0)=

how long are the bubbles visible?
what is the maximum text to fit inside?
can the bubbles change size depending on the amount of text?
✨🏳️‍🌈♣️✨

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] Chat Bubbles [chat_bubbles]

by D00Med » Post

Nice!
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

IKRadulov
Member
Posts: 19
Joined: Thu Nov 10, 2016 11:02

Re: [Mod] Chat Bubbles [chat_bubbles]

by IKRadulov » Post

@firefox By the look of the code the bubble extends based on the text that is written and it stays 5 secs

User avatar
AccidentallyRhine
Member
Posts: 252
Joined: Sun Aug 02, 2015 05:43

Re: [Mod] Chat Bubbles [chat_bubbles]

by AccidentallyRhine » Post

Does this disable normal chat or run along side of it?

IKRadulov
Member
Posts: 19
Joined: Thu Nov 10, 2016 11:02

Re: [Mod] Chat Bubbles [chat_bubbles]

by IKRadulov » Post

To get less work for the developer . @AnxiousInfusion No ! :D

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Chat Bubbles [chat_bubbles]

by Desour » Post

@IKRadulov: no to disable normal chat or to run along side of it?
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
octacian
Member
Posts: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: [Mod] Chat Bubbles [chat_bubbles]

by octacian » Post

Awesome! Now, question: can the default chat be disabled? On second thought, yes it can >_<

Just return true (or maybe it's false, I forgot) inside register_on_chat_message.

Second question: Is there any chance that you will change the license from WTFPL to something like MIT, or GPL? I really like what you've done here, but I personally won't use mods licensed under WTFPL. Much less fork them and make my own version, which is what I'd like to do here.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
TailsTheFoxDoes MT
Member
Posts: 415
Joined: Mon Jan 18, 2016 20:50
In-game: TailsTheFox
Location: Mobius

Re: [Mod] Chat Bubbles [chat_bubbles]

by TailsTheFoxDoes MT » Post

Does it work on OTHER multiplayer servers?
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [Mod] Chat Bubbles [chat_bubbles]

by jordan4ibanez » Post

endev15 wrote:Second question: Is there any chance that you will change the license from WTFPL to something like MIT, or GPL? I really like what you've done here, but I personally won't use mods licensed under WTFPL. Much less fork them and make my own version, which is what I'd like to do here.
I am not sure where you are coming from here. When I use wtfpl it's allowed to be copied, modified, and redistributed under a different license and change it infinitely from the original version without you having to tell me what you did. You can do whatever you'd like with it, and it's the closest thing I can do next to public domain.
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [Mod] Chat Bubbles [chat_bubbles]

by Milan* » Post

This is just cool, will be part of the Illuna Universe.
Thanks for this!

User avatar
octacian
Member
Posts: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: [Mod] Chat Bubbles [chat_bubbles]

by octacian » Post

jordan4ibanez wrote:I am not sure where you are coming from here. When I use wtfpl it's allowed to be copied, modified, and redistributed under a different license and change it infinitely from the original version without you having to tell me what you did. You can do whatever you'd like with it, and it's the closest thing I can do next to public domain.
Yep, IK that now. Wuzzy and I recently had quite the discussion about that... It was, interesting. But hey, now I know.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [Mod] Chat Bubbles [chat_bubbles]

by jordan4ibanez » Post

Milan* wrote:This is just cool, will be part of the Illuna Universe.
Thanks for this!
You're welcome! Maybe one day I will repair it to allow giant paragraphs, but for now I am preoccupied
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
AccidentallyRhine
Member
Posts: 252
Joined: Sun Aug 02, 2015 05:43

Re: [Mod] Chat Bubbles [chat_bubbles]

by AccidentallyRhine » Post

This should require shout privilege.

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Chat Bubbles [chat_bubbles]

by Chem871 » Post

How did I miss this?? I'm downloading now!
What is SCP-055?

User avatar
sorcerykid
Member
Posts: 1847
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: [Mod] Chat Bubbles [chat_bubbles]

by sorcerykid » Post

I was just wondering the same thing. This is so cool, why am I just finding it now? I'm very tempted to install this on my server. I have to wonder if this will make conversations easier, at least within close proximity to other players.

EDIT: I just discovered that chat bubbles make use of texture mapping onto entities, rather than actual text rendered by the client. So I imagine there might be some performance penalties to this implementation :-/

User avatar
pampogokiraly
Member
Posts: 293
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [Mod] Chat Bubbles [chat_bubbles]

by pampogokiraly » Post

This mod looks cool. But it doasent works with the latest version of minetest :(
The bubble appears inside the player |: /
(I have turned off all mod to test it)

EDIT: Fixed it myself. Here is how you can fix it for yourself:
Line 6, before:

Code: Select all

		text:set_attach(minetest.get_player_by_name(name), "", {x=0,y=15,z=0},{x=0,y=0,z=0})
Line 6, after:

Code: Select all

		text:set_attach(minetest.get_player_by_name(name), "", {x=0,y=22,z=0},{x=0,y=0,z=0})
All praise the Bacon God! The one and only god in MineTest

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests