[Mod] Landscape [0.1 beta] [landscape]

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

[Mod] Landscape [0.1 beta] [landscape]

by BlockMen » Wed Mar 20, 2013 19:19

Hi everyone,

this mod lets the Grass-Landscape look better and smoother. So if Dirt with Grass builds a hill it becomes now a real Grass hill.


Screenshot:
Image

Notice:
- If you want regular "Dirt with Grass" back, then change first line in its init.lua to "local remove_full_grass = true"
- Code at https://github.com/BlockMen/landscape

Known Bugs:
- rarely the "Dirt with Grass" becomes "Dirt" at height y=13

Depends:
default

Download:
From Github: Download

License:
WTFPL



Please give Feedback and ideas for improvement. If someone could look at code for the known bug would be nice too.
Last edited by BlockMen on Sat May 11, 2013 17:34, edited 1 time in total.
 

User avatar
Calinou
Moderator
 
Posts: 3145
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Wed Mar 20, 2013 19:34

"Better Grass" reimplementation spotted! :)
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Wed Mar 20, 2013 19:50

Calinou wrote:"Better Grass" reimplementation spotted! :)


I thought it could be a mod, but was not knowing. Just had seen at a Let's Play (Mc) and thought it would be nice to have more green at Minetest too.

Futhermore I want implement a few things more, but that will need more time.
 

User avatar
12Me21
Member
 
Posts: 873
Joined: Tue Mar 05, 2013 00:36
Location: (Ignore all of my posts before 2018)
GitHub: 12Me21

by 12Me21 » Fri Mar 22, 2013 19:25

Couldn't you just change the texture for grass to have the green on the sides too?
Shoutouts to Simpleflips
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sat Mar 23, 2013 01:02

12Me21 wrote:Couldn't you just change the texture for grass to have the green on the sides too?


When I just redefine the texture there are strange egdes between grass and other blocks. This is most important at Cliffs or at borders of biomes.

So the main goal is to improve Grass hills and to make them look more realistic.
 

User avatar
12Me21
Member
 
Posts: 873
Joined: Tue Mar 05, 2013 00:36
Location: (Ignore all of my posts before 2018)
GitHub: 12Me21

by 12Me21 » Sun Apr 07, 2013 19:23

oh, I see now
Shoutouts to Simpleflips
 

User avatar
Pavel_S
Member
 
Posts: 131
Joined: Sat Apr 06, 2013 11:43
 

vktRus
Member
 
Posts: 67
Joined: Wed May 01, 2013 07:23

by vktRus » Fri May 10, 2013 18:13

Stable version.

Code: Select all
22:10:06: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../minetest/.minetest/mods/minetest/landscape/init.lua:64: attempt to index field '?' (a nil value)
22:10:06: ERROR[main]: stack traceback:

In thread b6d6c700:
/build/buildd/minetestc55-0.4.6/src/main.cpp:1967: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b6d6c700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
(Leftover data: #4  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
 

User avatar
rubenwardy
Moderator
 
Posts: 5539
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sat May 11, 2013 17:35

vktRus wrote:Stable version.

Code: Select all
-error msg-


Ok, it should be fixed now. Could you give me a feedback if it still crashes?
 

vktRus
Member
 
Posts: 67
Joined: Wed May 01, 2013 07:23

by vktRus » Sat May 11, 2013 18:30

Code: Select all
22:26:51: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../minetest/.minetest/mods/minetest/landscape/init.lua:66: attempt to ind
ex field '?' (a nil value)
22:26:51: ERROR[main]: stack traceback:

In thread b6cfd700:
/build/buildd/minetestc55-0.4.6/src/main.cpp:1967: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b6cfd700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
 

User avatar
sfan5
Moderator
 
Posts: 3772
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat May 11, 2013 18:34

Nice!
This add "Better Grass" like in MC
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sun May 12, 2013 10:54

vktRus wrote:
Code: Select all
-error msg-



Ok, but fixed now ;)
 

vktRus
Member
 
Posts: 67
Joined: Wed May 01, 2013 07:23

by vktRus » Sun May 12, 2013 14:38

:)

Code: Select all
18:33:23: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../minetest/.minetest/mods/minetest/landscape/init.lua:19: attempt to index field '?' (a nil value)
18:33:23: ERROR[main]: stack traceback:

In thread b6cd8700:
/build/buildd/minetestc55-0.4.6/src/main.cpp:1967: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b6cd8700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sun May 12, 2013 19:03

vktRus wrote::)

Code: Select all
-error msg-


I accept the challenge :P

Give it another try
 

vktRus
Member
 
Posts: 67
Joined: Wed May 01, 2013 07:23

by vktRus » Sun May 12, 2013 19:15

Code: Select all
23:13:07: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../minetest/.minetest/mods/minetest/landscape/init.lua:21: attempt to index field '?' (a nil value)
23:13:07: ERROR[main]: stack traceback:

In thread b6d70700:
/build/buildd/minetestc55-0.4.6/src/main.cpp:1967: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b6d70700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sun May 12, 2013 19:25

vktRus wrote:
Code: Select all
-error msg-


lol...

/me starts debuging via vktRus

PS: the line is enough for the next error msg's

[Edit:] next round plz ;)
Last edited by BlockMen on Sun May 12, 2013 19:25, edited 1 time in total.
 

vktRus
Member
 
Posts: 67
Joined: Wed May 01, 2013 07:23

by vktRus » Sun May 12, 2013 21:45

Code: Select all
01:42:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../minetest/.minetest/mods/minetest/landscape/init.lua:22: attempt to index field '?' (a nil value)
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sun May 12, 2013 22:31

vktRus wrote:
Code: Select all
01:42:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../minetest/.minetest/mods/minetest/landscape/init.lua:22: attempt to index field '?' (a nil value)


fix-attempt #10 or w/e

here you go...
 

vktRus
Member
 
Posts: 67
Joined: Wed May 01, 2013 07:23

by vktRus » Tue May 14, 2013 15:50

Works. But a very high load on the server. You can optimize?
Last edited by vktRus on Tue May 14, 2013 15:50, edited 1 time in total.
 

Iqualfragile
Member
 
Posts: 160
Joined: Tue Sep 18, 2012 22:11

by Iqualfragile » Thu May 16, 2013 11:59

- rarely the "Dirt with Grass" becomes "Dirt" at height y=13

that happens without your mod it seems to be a bug in minetest
Gr8 b8, m8. I rel8, str8 appreci8, and congratul8. I r8 this b8 an 8/8. Plz no h8, I'm str8 ir8. Cr8 more, can't w8. We should convers8, I won't ber8, my number is 8888888, ask for N8. No calls l8 or out of st8. If on a d8, ask K8 to loc8. Even with a full pl8, I always have time to communic8 so don't hesit8.
 

User avatar
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Thu May 16, 2013 14:27

Iqualfragile wrote:
- rarely the "Dirt with Grass" becomes "Dirt" at height y=13

that happens without your mod it seems to be a bug in minetest


Hmm... never noticed before so I was pretty sure its caused by my mod.
 

User avatar
Evergreen
Member
 
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
Location: A forest in the midwest
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu May 16, 2013 16:02

BlockMen wrote:
Iqualfragile wrote:
- rarely the "Dirt with Grass" becomes "Dirt" at height y=13

that happens without your mod it seems to be a bug in minetest


Hmm... never noticed before so I was pretty sure its caused by my mod.

Yes, I have seen that happen without this mod. Idk why though.
Back from the dead!
 

User avatar
Zombie461
New member
 
Posts: 5
Joined: Sat Jun 28, 2014 23:15
GitHub: Zombie461
IRC: Zombie461
In-game: Zombie471
 

User avatar
paramat
Developer
 
Posts: 3240
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: [Mod] Landscape [0.1 beta] [landscape]

by paramat » Mon Jun 30, 2014 00:17

Changing the side textures of dirt with grass to the top texture was the very first modification i made to minetest :)
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 8 guests