Create a creative, serious build team.
Re: Create a creative, serious buid team.
In my Minetest mod, I have created a custom block represented by an OBJ file that is a right-angled triangle with the same dimensions as slabs. I want this custom block to behave in the same way as slabs when placed.
In other words, I want the block to be positioned either at the top or the bottom of the target block, depending on the placement position, just like the default slabs in Minetest Game. I also want the placement behavior to be consistent when targeting the top or bottom of a block.
Could you please provide more information about the specific code , because I'm unsure about?
THANKS
In other words, I want the block to be positioned either at the top or the bottom of the target block, depending on the placement position, just like the default slabs in Minetest Game. I also want the placement behavior to be consistent when targeting the top or bottom of a block.
Could you please provide more information about the specific code , because I'm unsure about?
THANKS
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
- Blockhead
- Member
- Posts: 1673
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: Create a creative, serious buid team.
You should get used to looking through source code for the games and mods to learn how they do things. In this case, the source code of the slab's on_place lives here. That is the code that sets the rotation when it is placed. You can copy it verbatim as long as you obey its licence (LGPL 2.1, see license.txt in the same directory).
I wonder if you wouldn't be better off just using a library for shapes though, like moreblocks (mainstream), or flux's fork; or ShadMOrdre's lib_shapes.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: Create a creative, serious buid team.
@Blockhead, Thanks for the +1.
My gal mod is also a good place to start, as it has numerous blocks for building, and the nodebox shapes library is built in, and it also include shapes not found in lib_shapes.
Shad
My gal mod is also a good place to start, as it has numerous blocks for building, and the nodebox shapes library is built in, and it also include shapes not found in lib_shapes.
Shad
Re: Create a creative, serious buid team.
I would like to create esacliers and slabsBlockhead wrote: ↑Thu Jun 08, 2023 16:39
You should get used to looking through source code for the games and mods to learn how they do things. In this case, the source code of the slab's on_place lives here. That is the code that sets the rotation when it is placed. You can copy it verbatim as long as you obey its licence (LGPL 2.1, see license.txt in the same directory).
I wonder if you wouldn't be better off just using a library for shapes though, like moreblocks (mainstream), or flux's fork; or ShadMOrdre's lib_shapes.
I don't really understand the code.
But I tried several things, here is my code:
Spoiler
dofile(minetest.get_modpath("stairs") .. "/init.lua")
-- Enregistrement des marches et des dalles
stairs.register_stair({
"marble",
"ephese:marble",
{cracky = 2},
{"ephese_marble.png"},
"Marble Stair",
"Marble Slab",
default.node_sound_stone_defaults(),
false
})
stairs.register_stair({
"ephese:ivor",
"ivor",
{choppy = 2, oddly_breakable_by_hand = 2},
{"ephese_ivoire.png"},
"Ivor Stair",
"Ivor Slab",
default.node_sound_wood_defaults(),
false
})
stairs.register_stair({
"ephese:blue_mosaic",
"blue_mosaic",
{cracky = 2},
{"ephese_blue_mosaic.png"},
"Blue Mosaic Stair",
"Blue Mosaic Slab",
default.node_sound_stone_defaults(),
false
})
stairs.register_stair({
"ephese:red_mosaic",
"red_mosaic",
{cracky = 2},
{"ephese_red_mosaic.png"},
"Red Mosaic Stair",
"Red Mosaic Slab",
default.node_sound_stone_defaults(),
false
})
And here is the error message
ModError: Failed to load and run script from C:\Minetest\minetest-5.7.0-win64\bin\..\mods\000\init.lua:
....0-win64\bin\..\games\minetest_game\mods\stairs/init.lua:87: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
....0-win64\bin\..\games\minetest_game\mods\stairs/init.lua:87: in function 'register_stair'
C:\Minetest\minetest-5.7.0-win64\bin\..\mods\000\init.lua:4: in main chunk
Voir « debug.txt » pour plus d'informations.
-- Enregistrement des marches et des dalles
stairs.register_stair({
"marble",
"ephese:marble",
{cracky = 2},
{"ephese_marble.png"},
"Marble Stair",
"Marble Slab",
default.node_sound_stone_defaults(),
false
})
stairs.register_stair({
"ephese:ivor",
"ivor",
{choppy = 2, oddly_breakable_by_hand = 2},
{"ephese_ivoire.png"},
"Ivor Stair",
"Ivor Slab",
default.node_sound_wood_defaults(),
false
})
stairs.register_stair({
"ephese:blue_mosaic",
"blue_mosaic",
{cracky = 2},
{"ephese_blue_mosaic.png"},
"Blue Mosaic Stair",
"Blue Mosaic Slab",
default.node_sound_stone_defaults(),
false
})
stairs.register_stair({
"ephese:red_mosaic",
"red_mosaic",
{cracky = 2},
{"ephese_red_mosaic.png"},
"Red Mosaic Stair",
"Red Mosaic Slab",
default.node_sound_stone_defaults(),
false
})
And here is the error message
ModError: Failed to load and run script from C:\Minetest\minetest-5.7.0-win64\bin\..\mods\000\init.lua:
....0-win64\bin\..\games\minetest_game\mods\stairs/init.lua:87: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
....0-win64\bin\..\games\minetest_game\mods\stairs/init.lua:87: in function 'register_stair'
C:\Minetest\minetest-5.7.0-win64\bin\..\mods\000\init.lua:4: in main chunk
Voir « debug.txt » pour plus d'informations.
Sorry to bother you, I don't understand anything.
Last edited by Horka on Thu Oct 26, 2023 14:16, edited 1 time in total.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
Otherwise someone would be interested in making mods ?
I can give textures and 3d file, and all the necessary information,
except the code XD
Not necessarily for this first project, but if you are interested join the discord/matrix
I can give textures and 3d file, and all the necessary information,
except the code XD
Not necessarily for this first project, but if you are interested join the discord/matrix
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
Okay, thank you, I got it. Sorry for these stupid questions, I will inform myself next time.
In the end, it's quite simple. Thanks to ChatGPT for explaining so well, lol 🤣.
My mod is finished. It should be released in the next few days.
The project is progressing slowly but surely.
In the end, it's quite simple. Thanks to ChatGPT for explaining so well, lol 🤣.
My mod is finished. It should be released in the next few days.
The project is progressing slowly but surely.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
You're always allowed to ask. I'm not familiar with the subject so I can't help, but maybe others will help if you write your questions here.
Re: Create a creative, serious buid team.
Yes I know I can. But the most knowledgeable people prefer to answer questions that don't have a simple and logical answer (for them). I ended up figuring it out on my own. But that's okay, the main thing is: The ephesus mod is coming... 😄
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
Now I will look at how a server works.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
My mod is here:
https://content.minetest.net/packages/C ... r/ephesus/
https://content.minetest.net/packages/C ... r/ephesus/
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
I want to say that the project will move slower this summer but it is still advancing.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
I am in the process of locating the large locations of the map which is 10000 m2 (I'm not sure, in any case it's very big) so it takes me time. Before launching a server.
In addition I changed the icon which is better now, it combines the letters MBT:
In addition I changed the icon which is better now, it combines the letters MBT:
Spoiler
Last edited by Horka on Thu Oct 26, 2023 14:17, edited 1 time in total.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
Hi,
is there anything else you want done so we can get started?
is there anything else you want done so we can get started?
Re: Create a creative, serious buid team.
Unfortunately without a server we can not do much and as I know nothing about it I look at how to do it. I figured out how to set it up but I don't understand everything yet. The server map is ready. It just remains to put it in place.
In addition I was on vacation, so I will be able to do it in the coming weeks. If you want to help me, you can advise me mods, or others for the projects or give me useful links to set up the server because minetest wiki is not very understandable (and I have not done anything like that) on this subject. Here is the map of 10000m2!! for the curious
I did them with WorldPainter.
I will keep you posted.
Also if you don't know everything about the mod I created ephesus join matrix
Ephesus: https://content.minetest.net/packages/C ... r/ephesus/
Last edited by Horka on Thu Oct 26, 2023 14:18, edited 1 time in total.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
In addition I have problems with this to import some monuments...
viewtopic.php?f=6&t=10641
viewtopic.php?f=6&t=10641
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
OK, if you have problems with the server, do not hesitate. I can't help you much, but I can help you a little.
Re: Create a creative, serious buid team.
Here's a tutorial for setting up a server: https://www.youtube.com/watch?v=64dYAFkGjWU
Or the Minetest Wiki: https://wiki.minetest.net/Setting_up_a_server/Debian
What system and, if you're using Linux, what distribution do you use?
Or the Minetest Wiki: https://wiki.minetest.net/Setting_up_a_server/Debian
What system and, if you're using Linux, what distribution do you use?
- SuperStarSonic
- Member
- Posts: 160
- Joined: Fri Oct 14, 2022 20:30
- GitHub: Python-Sargent
- In-game: SuperStarSonic
- Location: Earth (may be out of date)
Re: Create a creative, serious buid team.
Hello, team, I am interested in this project and just spent 30 minutes catching up, in fact I'm not sure why I didn't see this topic in the forums this whole time. But anyways, I wanted to ask you a question:
How do you join the team if you have access to neither Matrix or Discord?
How do you join the team if you have access to neither Matrix or Discord?
Re: Create a creative, serious buid team.
Hi,
Great that you want to get involved!
If you don't have access to Discord or Matrix, you can read about it here on the forum. Almost everything is written in the forum as well.
I suggest you create a Matrix account. The easiest way to do this is to go to https://app.element.io/. You don't need to install anything, Element (the Matrix client) can be used entirely online. For your information, Matrix does not track anyone and is recommended by many privacy advocates.
Hope this helps.
Regards,
Tuxilio
Great that you want to get involved!
If you don't have access to Discord or Matrix, you can read about it here on the forum. Almost everything is written in the forum as well.
I suggest you create a Matrix account. The easiest way to do this is to go to https://app.element.io/. You don't need to install anything, Element (the Matrix client) can be used entirely online. For your information, Matrix does not track anyone and is recommended by many privacy advocates.
Hope this helps.
Regards,
Tuxilio
Re: Create a creative, serious buid team.
Here's the link to the public Matrix Space: https://matrix.to/#/#M.B.T:matrix.org
And to the Matrix homepage: https://matrix.org/
And to the Matrix homepage: https://matrix.org/
Re: Create a creative, serious buid team.
Tuxilio wrote: ↑Tue Aug 29, 2023 08:37Here's a tutorial for setting up a server: https://www.youtube.com/watch?v=64dYAFkGjWU
Or the Minetest Wiki: https://wiki.minetest.net/Setting_up_a_server/Debian
What system and, if you're using Linux, what distribution do you use?
I'm using Windows 64.
I would also like to thank you for your help and contribution.
Thank you ver much Tuxilio.
Last edited by Horka on Tue Aug 29, 2023 16:32, edited 1 time in total.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
Re: Create a creative, serious buid team.
Hi SuperStarSonic.SuperStarSonic wrote: ↑Tue Aug 29, 2023 14:27Hello, team, I am interested in this project and just spent 30 minutes catching up, in fact I'm not sure why I didn't see this topic in the forums this whole time. But anyways, I wanted to ask you a question:
How do you join the team if you have access to neither Matrix or Discord?
It's great more and more people are interested in this project !
For now I mainly use Matrix because most people prefer it to discord (even if for the moment there is not much to say, as long as the server is not in place).
If you want to participate there is no other way for now than to use them.
Keep me posted. (I recommend the matrix)
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
- SuperStarSonic
- Member
- Posts: 160
- Joined: Fri Oct 14, 2022 20:30
- GitHub: Python-Sargent
- In-game: SuperStarSonic
- Location: Earth (may be out of date)
Re: Create a creative, serious buid team.
I am unable to do so for various reasons. Thanks for the help though.Tuxilio wrote: ↑Tue Aug 29, 2023 14:53Hi,
Great that you want to get involved!
If you don't have access to Discord or Matrix, you can read about it here on the forum. Almost everything is written in the forum as well.
I suggest you create a Matrix account. The easiest way to do this is to go to https://app.element.io/. You don't need to install anything, Element (the Matrix client) can be used entirely online. For your information, Matrix does not track anyone and is recommended by many privacy advocates.
Hope this helps.
Regards,
Tuxilio
Re: Create a creative, serious buid team.
Ok in this case I would post the advance here too while waiting for the server. Anyway there is not much more on matrix/discord.SuperStarSonic wrote: ↑Tue Aug 29, 2023 16:57
I am unable to do so for various reasons. Thanks for the help though.
Sorry if the translation is bad.
https://content.minetest.net/packages/C ... es_1024px/
https://content.minetest.net/packages/C ... es_1024px/
-
- Member
- Posts: 4282
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: Create a creative, serious buid team.
Building is always good and a lot of fun.
I think you don't need your own server. There are so many good servers out there with more than enough room for new builds - even very big ones! That is, as long as you don't want to use WorldEdit. That's usually a problem on public servers. But WE usually isn't needed.
It doesn't even matter that much in the end if it's a creative or survival server. Even on survival servers most players have...enough...of most materials and are willing to help if they see that something impressive is beeing built.
I think you don't need your own server. There are so many good servers out there with more than enough room for new builds - even very big ones! That is, as long as you don't want to use WorldEdit. That's usually a problem on public servers. But WE usually isn't needed.
It doesn't even matter that much in the end if it's a creative or survival server. Even on survival servers most players have...enough...of most materials and are willing to help if they see that something impressive is beeing built.
A list of my mods can be found here.
Who is online
Users browsing this forum: No registered users and 3 guests