Page 1 of 1

[Mod] Loose Rocks [loose_rocks]

PostPosted: Mon Sep 14, 2015 22:38
by eduardomezencio
Loose Rocks mod

This is my first (and only) mod. I created this to illustrate an idea that I had for the Voxelgarden (viewtopic.php?f=15&t=6346) game and also to learn about modding Minetest.

This mod adds Loose Rocks to Minetest. They generate naturally on the surface of the world and can be collected with bare hands.

Image

A desert version is generated on deserts

Image

4 Loose Rocks arranged in a 2x2 grid can be crafted into a Cobblestone.
(same with desert version to make Desert Cobblestone)

Image

And now it works in v5, v6 and v7 mapgens. In v5 and v7 it uses biomemap, while in v6 it checks for desert sand and desert stones to place loose desert stones.

Download, fork or browse the source in Github: https://github.com/eduardomezencio/loose_rocks
Or download the Zip: https://github.com/eduardomezencio/loos ... master.zip

Licenses:

Code: GPLv3
Texture and models: CC BY-SA 3.0

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Tue Sep 15, 2015 00:45
by FreeLikeGNU
Nice!

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 01:16
by eduardomezencio
Updated. Info in the updated original post. I think this mod is ready for release. It will be very nice if anyone could give feedback about it.

Btw, glad you liked it, FreeLikeGNU. I checked your server to find some goblins, but had no luck yet :(

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 01:19
by MineYoshi
good thing, but where is the License??
you forgeted that.
Anyways the mod is good

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 01:33
by eduardomezencio
Oh, yes. The license is included, and you can check it on Github, or when you download the mod. Anyways, I'll add it here. It's GPLv3 for code and CC BY-SA 3.0 for textures and models. I'll include it in the op. Thanks

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 01:51
by Sokomine
Nice mod! There are already some larger stones in one other mod (undergrowth?). I don't remember the correct name. It's included in Dreambuilder.

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 02:31
by eduardomezencio
Sokomine wrote:There are already some larger stones in one other mod (undergrowth?). I don't remember the correct name. It's included in Dreambuilder.


I have seen something similar in a mod included in the Plantlife mod pack, but I don't remember about Dreambuilder. I learned how to make code for generating the rocks by looking at this mod and for that I am very grateful. After some research I found information about how to use some different features from the mapgen, including the heightmap, that allowed me to improve a lot the idea taken from there (now that I think about it, I think I found about that in a IRC log, and it was you, Sokomine, that suggested it to someone. So, thank you!).

Anyway, I think the central idea about this mod is not only to have decorative rocks around, but to create a way for the player to skip creating wooden tools, because he can get cobblestone using the loose rocks, with bare hands.

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 02:35
by MineYoshi
The mod is good, work more time on it and you will make something awesome

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 13:21
by Don
Nice idea.

Re: [Mod]Loose Rocks[loose_rocks]

PostPosted: Wed Sep 16, 2015 21:42
by eduardomezencio
Updated to work with v6 mapgen. Now it works with all mapgens.

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Mon Sep 21, 2015 07:29
by IvĂ 
+1

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Mon Sep 21, 2015 17:59
by DS-minetest
nice mod
what are these cactus plants

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Tue Sep 22, 2015 03:28
by eduardomezencio
DS-minetest wrote:nice mod
what are these cactus plants


Well, this is the minetest_game with no mods (other than loose_rocks), the cacti generate naturally

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Tue Sep 22, 2015 04:33
by 4aiman
Hooray to the RealTest!

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Tue Sep 22, 2015 15:13
by MineYoshi
+1

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Sun Sep 27, 2015 19:24
by Sokomine
eduardomezencio wrote:Anyway, I think the central idea about this mod is not only to have decorative rocks around, but to create a way for the player to skip creating wooden tools, because he can get cobblestone using the loose rocks, with bare hands.

That happens in RealTest :-) It also has some type of rocks lying around, although those are more cubic. Perhaps your mod could be combined with that, or those other mods learn from yours? So that there are more shapes of rock.

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Mon Sep 28, 2015 01:01
by eduardomezencio
Sokomine wrote:
eduardomezencio wrote:Anyway, I think the central idea about this mod is not only to have decorative rocks around, but to create a way for the player to skip creating wooden tools, because he can get cobblestone using the loose rocks, with bare hands.

That happens in RealTest :-) It also has some type of rocks lying around, although those are more cubic. Perhaps your mod could be combined with that, or those other mods learn from yours? So that there are more shapes of rock.


I didn't knew about RealTest. I have just tried it and the rocks are really a lot similar to what I have done here. It looks like the differences are: I use more than one model, to get more variation and it looks like in RealTest you can only get rocks, not place them for decorative purposes. Other thing is that it does not look like RealTest works in v7 mapgen. Maybe my rocks would work nicely in that game, but I don't know if the rocks are implemented there as a standalone mod or as a part of another mod. I think it's the latter, and it would require a little more work.

That's why I'm definitely keeping this mod (and I would also recommend others to) doing just this one thing. I think this sort of 'unix philosophy applied to minetest mods' is a good thing. Making small mods that do only one thing, and do that thing well, makes it easier for game makers to put different things together, easier to find and solve bugs, easier to update and so on.

Re: [Mod] Loose Rocks [loose_rocks]

PostPosted: Mon Sep 28, 2015 02:18
by Sokomine
RealTest uses the rocks as a ressource to build the first tools. You talked about plans in a similar direction, so I thought that might be of intrest to you. The rocks in Dreambuilder and RealTest have diffrent shapes. Perhaps you can support those shapes as well.

As to doing one thing and doing it well - that's certailny a good and valid point. Perhaps your mod can eventually replace the stone generation in RealTest. That subgame needs work on its mapgen anyway.