[Mod] doorbell [doorbell]
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
[Mod] doorbell [doorbell]
"Doorbell" created by "Miniontoby"
WE HAVE !
I have made a doorbell mod with a doorbell and a delete tool.
Working:
When you push the doorbell there is coming a doorbell_sound only at the person who's hosting the server or only singleplayer.
Recipe:
- = none,
| = delete_tool,
\ = doorbell,
/ = wood,
m_s = mesecons_button:button_off,
w_b = wool:black,
w_w = wool:white,
m_m = group:mesecon_conductor_craftable
d_l = digilines:wire_std_00000000,
Doorbell_locked {
\ | -
}
Doorbell {
w_b w_b w_b
w_b w_w w_b
w_b w_b w_b
}
Delete tool {
\
}
Doorbell 3D {
\ m_s -
}
Doorbell mesecons {
\ m_m -
}
Doorbell digilines{
\ d_l -
}
History:
I have made It when I was just 10 years, and 3 years later and I made the delete tool
I made the delete tool because I couldn't delete the doorbell.
You can use the delete tool for every node and it look like as the nodebreaker in the mod "Pipeworks".
download mod (older releases and newest release check https://content.minetest.net/packages/M ... /doorbell/)
doorbell 1.6
doorbell 1.5
WE HAVE !
I have made a doorbell mod with a doorbell and a delete tool.
Working:
When you push the doorbell there is coming a doorbell_sound only at the person who's hosting the server or only singleplayer.
Recipe:
- = none,
| = delete_tool,
\ = doorbell,
/ = wood,
m_s = mesecons_button:button_off,
w_b = wool:black,
w_w = wool:white,
m_m = group:mesecon_conductor_craftable
d_l = digilines:wire_std_00000000,
Doorbell_locked {
\ | -
}
Doorbell {
w_b w_b w_b
w_b w_w w_b
w_b w_b w_b
}
Delete tool {
\
}
Doorbell 3D {
\ m_s -
}
Doorbell mesecons {
\ m_m -
}
Doorbell digilines{
\ d_l -
}
History:
I have made It when I was just 10 years, and 3 years later and I made the delete tool
I made the delete tool because I couldn't delete the doorbell.
You can use the delete tool for every node and it look like as the nodebreaker in the mod "Pipeworks".
download mod (older releases and newest release check https://content.minetest.net/packages/M ... /doorbell/)
doorbell 1.6
doorbell 1.5
Last edited by Miniontoby on Mon Oct 05, 2020 07:55, edited 16 times in total.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
Can anyone test my mod and give feedback or tips??
- DrFrankenstone
- Member
- Posts: 231
- Joined: Tue May 24, 2016 05:36
- GitHub: treer
- Location: Australia
- Contact:
Re: [Mod] doorbell [doorbell]
You got something working inside Minetest, now its time to polish it.
One approach if you don't know how to do something, is to find a node that behaves similarly to the behaviour you want and see how it works.
In this case, creating a new tool that removes doorbell blocks because they ring on left-click and thus do not break, seems like sidestepping a problem instead of figuring it out. You could look at how the button in mesecons works (like doors, cupboards, chests etc, it activates on a right click), or you could keep it ringing on left-click while also having it breakable with existing tools, by removing the set_node() call and setting groups = {cracky=1}. Ringing on right-click in addition to the left click probably wouldn't be a bad thing either - right click is more conventional, and you could even look into that mesecon button code to see how to make the doorbell button 3D if you wanted.
Note that in creative mode it will still break immediately on a left-click (once you've removed the set_node() call), but when used in a normal game it will behave the way you want - e.g. not breaking on left-click unless you use a pickaxe and even then taking a long time with a pickaxe. Perhaps 10-year old you was testing it in creative mode, and so was unable to stop it breaking on a left-click without adding that call to set_node().
One approach if you don't know how to do something, is to find a node that behaves similarly to the behaviour you want and see how it works.
In this case, creating a new tool that removes doorbell blocks because they ring on left-click and thus do not break, seems like sidestepping a problem instead of figuring it out. You could look at how the button in mesecons works (like doors, cupboards, chests etc, it activates on a right click), or you could keep it ringing on left-click while also having it breakable with existing tools, by removing the set_node() call and setting groups = {cracky=1}. Ringing on right-click in addition to the left click probably wouldn't be a bad thing either - right click is more conventional, and you could even look into that mesecon button code to see how to make the doorbell button 3D if you wanted.
Note that in creative mode it will still break immediately on a left-click (once you've removed the set_node() call), but when used in a normal game it will behave the way you want - e.g. not breaking on left-click unless you use a pickaxe and even then taking a long time with a pickaxe. Perhaps 10-year old you was testing it in creative mode, and so was unable to stop it breaking on a left-click without adding that call to set_node().
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
UPDATE 1.1
I have made 2 more doorbells.
One looks as the mesecons doorbell and the other one is the doorbell with right click.
The doorbell that already was there is now renamed to "doorbell_lock" because you can't delete them by hand (only by the delete tool) and that can you see as 'locked' and it has a lock drawing in the center.
P.S. Thanks "DrFrankenstone" for the idea
I have made 2 more doorbells.
One looks as the mesecons doorbell and the other one is the doorbell with right click.
The doorbell that already was there is now renamed to "doorbell_lock" because you can't delete them by hand (only by the delete tool) and that can you see as 'locked' and it has a lock drawing in the center.
P.S. Thanks "DrFrankenstone" for the idea
Last edited by Miniontoby on Tue May 21, 2019 16:51, edited 1 time in total.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
The mod is now ready to download it from Minetest > content > browse online content > find "doorbell" (> = goto) or "minetest mods" app or from https://content.minetest.net/packages/M ... /doorbell/
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
UPDATE 1.2
I have made a new doorbell.
The newest doorbell is named "doorbell_mesecons" and you need to have "mesecons". It does the doorbell sound when mesecons (that connected is) on is.
I have made a new doorbell.
The newest doorbell is named "doorbell_mesecons" and you need to have "mesecons". It does the doorbell sound when mesecons (that connected is) on is.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
How can I make the mod so that he can skip some doorbells to load (when you hasn't got (exemple: ) "Mesecons" )
Re: [Mod] doorbell [doorbell]
make it so the mesecon doorbell is its own mod, contained inside the main mod as a modpack. Then, set the mesecons mod as a dependency in the mesecon doorbell.
your file folder will be like:
doorbellsmod---
doorbell1
doorbell2
meseconbell
modpack.txt
your file folder will be like:
doorbellsmod---
doorbell1
doorbell2
meseconbell
modpack.txt
Testin' mines since 1989
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
I mean that the script can search that there is the mesecons mod
But your option is for this time a good option
But your option is for this time a good option
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
UPDATE 1.3
I have made a change.
The mod is now looking of there is the mod "mesecons" and when that mod is on, it load the "doorbell_mesecons" and the "3D doorbell"
And the receipes are changed
I have made a change.
The mod is now looking of there is the mod "mesecons" and when that mod is on, it load the "doorbell_mesecons" and the "3D doorbell"
And the receipes are changed
Last edited by Miniontoby on Sun Jun 30, 2019 08:42, edited 1 time in total.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
Does anyone has got a idea how to make a doorbell so that when you right click them (theres is also coming a doorbell sound) there comes a waypoint with the distance from the doorbell until the player who's run the server (I mean the "name = <your name>" name in the "minetest.conf")
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
UPDATE 1.4
I have made a new Doorbell.
The newest doorbell is named "doorbell_digiline" and you need to have "digilines" for it. When you do make a lua controller with button you can do:
"if pin.c == true then
digiline_send("channel","doorbell")
end"
You need for this code the button at port "c" and change the "channel" to the channel you have chosen (when you right click on the doorbell).
I have made a new Doorbell.
The newest doorbell is named "doorbell_digiline" and you need to have "digilines" for it. When you do make a lua controller with button you can do:
"if pin.c == true then
digiline_send("channel","doorbell")
end"
You need for this code the button at port "c" and change the "channel" to the channel you have chosen (when you right click on the doorbell).
- BuckarooBanzay
- Member
- Posts: 437
- Joined: Tue Apr 24, 2018 05:58
- GitHub: BuckarooBanzay
- IRC: BuckarooBanzai
- In-game: BuckarooBanzai
Re: [Mod] doorbell [doorbell]
Any chance you could put that on github/gitlab or another git/vcs service?
Code is much more maintainable if it is properly versioned...
Code is much more maintainable if it is properly versioned...
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
I don't have github and you can download it on https://content.minetest.net/packages/M ... y/doorbell
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
My mod have now more than 400 downloads on content.minetest.net
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
We hit the 500 downloads on content.minetest.net
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
My mod have now more than 600 downloads on content.minetest.net. and I need an new doorbell idea or an other mod idea.
Re: [Mod] doorbell [doorbell]
why dont you put it on gitlab or github?
BTW, i dont think anyone caresa bout every 100 downloads you hit ^^
BTW, i dont think anyone caresa bout every 100 downloads you hit ^^
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
I don't have github and I have no permissions for github and gitlab need to have an file from github.niwla23 wrote:why dont you put it on gitlab or github?
BTW, i dont think anyone caresa bout every 100 downloads you hit ^^
Re: [Mod] doorbell [doorbell]
Are you blocked by work or school, or is it that you don't want an account? If it's the MS thing, you can always open one at notabug or gitlab or lots of other options, though it can make forking more involved.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
I don't like to have an account and I'm 13 years old and my parents don't give me permissions
- PolySaken
- Member
- Posts: 817
- Joined: Thu Nov 09, 2017 05:18
- GitHub: PolySaken-I-Am
- In-game: PolySaken
- Location: Wānaka, Aotearoa
- Contact:
Re: [Mod] doorbell [doorbell]
I you're 13 you don't need your parent's permission to create an account on any website.Miniontoby wrote:I don't like to have an account and I'm 13 years old and my parents don't give me permissions
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] doorbell [doorbell]
You probably shouldn't be going around telling people to break their parent's rules.PolySaken wrote:I you're 13 you don't need your parent's permission to create an account on any website.Miniontoby wrote:I don't like to have an account and I'm 13 years old and my parents don't give me permissions
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- PolySaken
- Member
- Posts: 817
- Joined: Thu Nov 09, 2017 05:18
- GitHub: PolySaken-I-Am
- In-game: PolySaken
- Location: Wānaka, Aotearoa
- Contact:
Re: [Mod] doorbell [doorbell]
The thing is though, that people seem to think their parent's rules are the law. The opposite is in fact true in most cases, since restricting certain things is actually illegal. But this is offtopic.Nathan.S wrote:You probably shouldn't be going around telling people to break their parent's rules.PolySaken wrote:I you're 13 you don't need your parent's permission to create an account on any website.Miniontoby wrote:I don't like to have an account and I'm 13 years old and my parents don't give me permissions
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: [Mod] doorbell [doorbell]
But I need an mod idea, not the idea to put it on github!
Who is online
Users browsing this forum: Astrobe and 11 guests