Reseed Area Command...

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Reseed Area Command...

by TenPlus1 » Mon Mar 03, 2014 13:27

After a while when a lot of the map has been generated on a server, users play and strip things they need like trees, plants, grass etc. and leave an area barren.. or.. if you make changes to a mod where you want a certain item or plant to spawn into a specific area you have to look elsewhere for something that hasn't been generated yet... so... wouldnt it be handy to have a "/reseed" command where you could simply stand in that certain area and the mapgen would replant/reseed plants, trees and other items for a specific range of land...
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Mon Mar 03, 2014 14:42

TenPlus1 wrote:After a while when a lot of the map has been generated on a server, users play and strip things they need like trees, plants, grass etc. and leave an area barren.. or.. if you make changes to a mod where you want a certain item or plant to spawn into a specific area you have to look elsewhere for something that hasn't been generated yet... so... wouldnt it be handy to have a "/reseed" command where you could simply stand in that certain area and the mapgen would replant/reseed plants, trees and other items for a specific range of land...

So like an chunk deleting command to force re-generation. I would like that idea for lava which got *somehow* on a empty hill and *somehow* was there a water source over that all.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

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

by Sokomine » Mon Mar 03, 2014 16:33

It is possible to delete mapblocks on the database level. That's not very practical as you'd have to determine the mapblock IDs somehow. Plus mapgen seems to work on several (5x5?) mapblocks at a time - thus deleting some blocks while retaining other mapblocks around might lead to problems/undesired mud flowing etc.

TenPlus1 wrote: wouldnt it be handy to have a "/reseed" command where you could simply stand in that certain area and the mapgen would replant/reseed plants, trees and other items for a specific range of land...

Perhaps that idea might be very intresting in a way after all. Not the way you might have in mind - ethereal does need growing saplings instead of a reseed command - but for mods like undergrowth beeing added to an existing map. It might be possible to use minetest.registered_on_generateds to call register_on_generated for a mapblock a second time. You'd still have to know exactly what you're doing and what all mods you've got installed that use on_generated do - else you might destroy your world.

Krock wrote:So like an chunk deleting command to force re-generation. I would like that idea for lava which got *somehow* on a empty hill and *somehow* was there a water source over that all.

Talk to VanessaE about it. She had the same lava problem and found a solution for that specific problem.
A list of my mods can be found here.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

by TenPlus1 » Fri Apr 11, 2014 08:28

Usually for lava or water problems on a server WorldEdit is the easiest way to get rid of it...e.g:

//replace lava_source air
..and..
//raplace lava_flowing air

..but being able to regenerate a whole area with tree's and flowers would also be a nice touch to the game (with specific privelages to suit)...
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

by JPRuehmann » Fri Apr 11, 2014 13:34

Hello

Perhaps that could be a solution to my Problem with Wobblycactus to.
After enabling it it has spawned so many mobs that the server lags and the Client to.
Disabling the mod and using the clean mod helps, but if I reenable the mod with new tested settings the old mobs reapear.
But with your Idea this could be repaired I think,

We´ll see.
 


Return to Minetest Features

Who is online

Users browsing this forum: Bing [Bot] and 6 guests

cron