[Mod] Loose Rocks [loose_rocks]

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

[Mod] Loose Rocks [loose_rocks]

by eduardomezencio » Mon Sep 14, 2015 22:38

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
Last edited by eduardomezencio on Wed Sep 16, 2015 21:53, edited 5 times in total.
 

User avatar
FreeLikeGNU
Member
 
Posts: 125
Joined: Tue Oct 28, 2014 02:50
GitHub: FreeLikeGNU
IRC: freelikegnu
In-game: FreeLikeGNU
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Mod]Loose Rocks[loose_rocks]

by eduardomezencio » Wed Sep 16, 2015 01:16

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 :(
 

User avatar
MineYoshi
Member
 
Posts: 5357
Joined: Wed Jul 08, 2015 13:20

Re: [Mod]Loose Rocks[loose_rocks]

by MineYoshi » Wed Sep 16, 2015 01:19

good thing, but where is the License??
you forgeted that.
Anyways the mod is good
nire patata zurea da, kide :-)
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Mod]Loose Rocks[loose_rocks]

by eduardomezencio » Wed Sep 16, 2015 01:33

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
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod]Loose Rocks[loose_rocks]

by Sokomine » Wed Sep 16, 2015 01:51

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.
A list of my mods can be found here.
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Mod]Loose Rocks[loose_rocks]

by eduardomezencio » Wed Sep 16, 2015 02:31

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.
 

User avatar
MineYoshi
Member
 
Posts: 5357
Joined: Wed Jul 08, 2015 13:20

Re: [Mod]Loose Rocks[loose_rocks]

by MineYoshi » Wed Sep 16, 2015 02:35

The mod is good, work more time on it and you will make something awesome
nire patata zurea da, kide :-)
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]Loose Rocks[loose_rocks]

by Don » Wed Sep 16, 2015 13:21

Nice idea.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Mod]Loose Rocks[loose_rocks]

by eduardomezencio » Wed Sep 16, 2015 21:42

Updated to work with v6 mapgen. Now it works with all mapgens.
 

Ivà
Member
 
Posts: 115
Joined: Sun Feb 22, 2015 07:11
Location: Catalonia
GitHub: melzua
IRC: melzua
In-game: melzua
 

User avatar
DS-minetest
Member
 
Posts: 1026
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] Loose Rocks [loose_rocks]

by DS-minetest » Mon Sep 21, 2015 17:59

nice mod
what are these cactus plants
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Mod] Loose Rocks [loose_rocks]

by eduardomezencio » Tue Sep 22, 2015 03:28

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
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47
 

User avatar
MineYoshi
Member
 
Posts: 5357
Joined: Wed Jul 08, 2015 13:20
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Loose Rocks [loose_rocks]

by Sokomine » Sun Sep 27, 2015 19:24

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.
A list of my mods can be found here.
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: [Mod] Loose Rocks [loose_rocks]

by eduardomezencio » Mon Sep 28, 2015 01:01

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.
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Loose Rocks [loose_rocks]

by Sokomine » Mon Sep 28, 2015 02:18

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.
A list of my mods can be found here.
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests