[mod] Hills [grassblock]

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

[mod] Hills [grassblock]

by qwrwed » Tue Oct 16, 2012 18:28

This mod adds a full grass block (all faces are grass), a non-walkable (not solid) railllike grass cover, and 3 non-cubic grass blocks (normal slope, inner corner slope and outer corner slope)
Depends: default
Suggested by Immanuel_Kant, used on Redcrab's 30401 server. That version is outdated, and has only grass blocks and grass covers. The crafting recipe for 1 grassblock for that version is one dirt surrounded by 8 leaves.
Image
Download (Github)
Code: https://github.com/qwrwed/grassblock
After downloading, rename "qwrwed-grassblock-[whatever]" to "grassblock".
Crafting:
L= Leaves
D = Dirt
G = Grass block
_ = Nothing
_ L _
L D L
_ L _
Grass Block

G _ _
_ G _
_ _ G
or
_ _ G
_ G _
G _ _
Grass Cover (railllike, previously "Grass Hill")

G _ _
G G _
G G G
or
_ _ G
_ G G
G G G
Grass Slope (non-cubic)

_ _ _
G _ _
G G _
or
_ _ _
_ _ G
_ G G
Outer Grass Slope (non-cubic)

G _ _
_ _ G
_ G G
or
_ _ G
G _ _
G G _
Inner Grass Slope (non-cubic)

Screenshots:
Image
Image
License:WTFPL
TODO: add non-walkable grassblocks - craft will be glass with grassblock.
Credit to yves_de_beck for non-cubic nodeboxes.
Tell me if you find any recipe conflicts.
Last edited by qwrwed on Wed Jul 24, 2013 17:07, edited 1 time in total.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Wed Oct 17, 2012 08:30

Good! I think more people will like it.

I've read the init.lua and then tried it out. Now I've some questions/remarks:

1. I think you mixed up the output of your 1st and 3rd crafting (grassblock:block and hill)
2. The 5th craft, grassblock:block 6 is only possible after doing the 4th craft, default:dirt_with grass (or the first if the output should be grassblock:block). Normally digging dirt_with_grass gives you a dirt in your inventory, the grass disappears.

Edit: no it doesn't spawn by itself.
Last edited by Topywo on Wed Oct 17, 2012 08:30, edited 1 time in total.
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Wed Oct 17, 2012 14:49

Topywo wrote:Good! I think more people will like it.

I've read the init.lua and then tried it out. Now I've some questions/remarks:

1. I think you mixed up the output of your 1st and 3rd crafting (grassblock:block and hill)
2. The 5th craft, grassblock:block 6 is only possible after doing the 4th craft, default:dirt_with grass (or the first if the output should be grassblock:block). Normally digging dirt_with_grass gives you a dirt in your inventory, the grass disappears.

Edit: no it doesn't spawn by itself.


1. Thanks for telling me, i will update it.
2. Putting grassblock in the craft table gives you dirt_with_grass, that recipe is so you don't have to keep placing and digging them to convert them into dirt; It's so grassblock can be made of dirt or dirt_with_grass.

EDIT: updated.
Last edited by qwrwed on Wed Oct 17, 2012 16:23, edited 1 time in total.
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000

by 0gb.us » Thu Oct 18, 2012 18:40

Oh, wow. Actual hills with actual slopes!

Might I suggest implementing a seconds set like a staircase? That way, you still have slopes, but you can gently stroll up them, as opposed to jumping. Keep these ones though too. They make an awesome secret entrance to my bunker.
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Thu Oct 18, 2012 19:26

0gb.us wrote:Oh, wow. Actual hills with actual slopes!

Might I suggest implementing a seconds set like a staircase? That way, you still have slopes, but you can gently stroll up them, as opposed to jumping. Keep these ones though too. They make an awesome secret entrance to my bunker.


Will do.
Eventually.
Last edited by qwrwed on Tue Nov 20, 2012 21:45, edited 1 time in total.
 

Michael Eh?
Member
 
Posts: 310
Joined: Sun Jan 01, 2012 17:21

by Michael Eh? » Tue Nov 20, 2012 21:04

Nice to know how to use it.
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Tue Nov 20, 2012 21:44

Ok.
By the way, I haven't really been writing the mods I've been meaning to, as I've been busy with homework, playing minetest and other games and not dying on a school trip. But I will include some description of the mod in the 1st post.
Last edited by qwrwed on Thu Jul 18, 2013 16:37, edited 1 time in total.
 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Wed Jan 16, 2013 13:36

Hey wat about the edges of hills???

Like that:
Image
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Wed Jan 16, 2013 13:56

I like that it should be added
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Wed Jan 16, 2013 15:12

+100 i like it a lot smoother hills and mountains easier to go up without jumping every block
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Thu Jan 17, 2013 16:29

yves_de_beck wrote:Hey wat about the edges of hills???

Like that:
Image


OK, can I use your code please?
 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Thu Jan 17, 2013 16:41

qwrwed wrote:
yves_de_beck wrote:Hey wat about the edges of hills???

Like that:
Image


OK, can I use your code please?



You can use it. it's in my noncubic mod.
http://forum.minetest.net/viewtopic.php?id=4297

Slope, Slope Edge, and Slope Inner Edge i called the shapes in init.lua
Last edited by yves_de_beck on Thu Jan 17, 2013 16:41, edited 1 time in total.
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Thu Jan 17, 2013 18:33

wonder if there is a way to put grass on any side of the dirt node that is open to air so that there is a lot less dirt brown color on the map
 

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

by Sokomine » Thu Jan 17, 2013 19:04

If it's your server just exchange in the file games/minetest_game/mods/default/init.lua all occourances of
default_grass_side.png with default_grass.png.
A list of my mods can be found here.
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Sat Jul 13, 2013 17:31

Reuploaded to mediafire, non-cubic grass slopes added
 

User avatar
Inocudom
Member
 
Posts: 2957
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sat Jul 13, 2013 18:06

It would be nice if mesh nodes were possible. That way, true slopes would be possible.
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Sat Jul 13, 2013 20:03

I agree - at least nodeboxes (usually) fit in with a cubic world though.
 

User avatar
Inocudom
Member
 
Posts: 2957
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sat Jul 13, 2013 21:19

qwrwed wrote:I agree - at least nodeboxes (usually) fit in with a cubic world though.


Though that is true, nodeboxes have more faces, thus more polygons.
 

markveidemanis
Member
 
Posts: 211
Joined: Thu Sep 27, 2012 15:41

by markveidemanis » Sun Jul 14, 2013 13:11

Sokomine wrote:If it's your server just exchange in the file games/minetest_game/mods/default/init.lua all occourances of
default_grass_side.png with default_grass.png.


Or apply a texture pack :)
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR
 

User avatar
Minearriatest
Member
 
Posts: 34
Joined: Mon Nov 25, 2013 18:28
Location: United Kingdom

by Minearriatest » Mon Dec 30, 2013 22:41

Looks good, good work with the slopes.
Minetest user name: asg
Try out some mods which I contributed in:
Jungle Tools(made) Ice + Magma Tools(contributed) Ultimate Tools(made)
 


Return to Mod Releases



Who is online

Users browsing this forum: Google [Bot] and 7 guests