[Mod] Emerge World [lib_emerge][git]

ShadMOrdre
Member
 
Posts: 135
Joined: Mon Dec 29, 2014 08:07
Location: USA
In-game: shadmordre

[Mod] Emerge World [lib_emerge][git]

by ShadMOrdre » Fri Jan 19, 2018 22:55

This mod provides two commands for emerging an area of the world. These can be used to grow a world map with the need for a person to travel to a given area. Best used during low traffic periods, or at world creation. Larger areas take longer to generate.

As an example, an area of 400x400 nodes includes 25 80x80 blocks. Searching for an area 400x400x400 nodes requires 125 blocks to be generated. This takes time.

Feed back is given in chat, to the person issuing the chatcommand, stating which block generated, and how long the process has been running.

The following chat command will emerge an area from x1y1z1 to x2y2z2. Any area larger than 400 nodes on a side can take a while.
Code: Select all
/emerge_area x1 y1 z1 x2 y2 z2


The following chat command will emerge an area x number of nodes from a point centered on the user. Any value for x larger than 200 will take a while.
Code: Select all
/emerge_radius x


DOWNLOAD: https://github.com/ShadMOrdre/lib_emerge/archive/master.zip
Browse Code: https://github.com/ShadMOrdre/lib_emerge

DEPENDENCIES: None
OPTIONAL DEP: None

LICENSES: LGPLv2.1, for code by me, CC-BY-SA-4.0 for graphics by me. Other licenses apply for code and graphics done by others. Where found, those licenses included.

SCREENSHOTS: Not really applicable....
My other virtual world is an Opensimulator.
 

User avatar
ThomasMonroe
Member
 
Posts: 278
Joined: Tue Apr 04, 2017 16:21
Location: Wherever I am at
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared

Re: [Mod] Emerge World [lib_emerge][git]

by ThomasMonroe » Mon Jan 22, 2018 16:22

Huh, interesting, but I'm not sure exactly if this would be particularly useful in the long run of a server
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.
 

User avatar
the_raven_262
Member
 
Posts: 315
Joined: Mon Sep 22, 2014 09:30
GitHub: theraven262
IRC: the_raven_262 Raven262 Corvus262 corvus
In-game: the_raven_262 Raven262 Nevermore

Re: [Mod] Emerge World [lib_emerge][git]

by the_raven_262 » Mon Jan 22, 2018 16:24

So one can use this to generate a map and then use the minetest mapper to see the results?
I shall try this.
[amber] [conjuration] [warzone] | Why is #minetest-mod-dev so empty?
 

ShadMOrdre
Member
 
Posts: 135
Joined: Mon Dec 29, 2014 08:07
Location: USA
In-game: shadmordre

Re: [Mod] Emerge World [lib_emerge][git]

by ShadMOrdre » Tue Jan 23, 2018 04:11

The idea was, as a modder, to have my server emerge an area large enough to play in, and hopefully, speed up one aspect, which is alway that mapgen can get slow if one has explored far enough. Another reason, was to be able to use minetest mapper to "see" a world, and the effects of mapgen, either biome, or height. Some seeds are better than others, and it takes far less time to emerge a server before gameplay, than it would take multiple users exploring those areas to emerge the blocks.

This mod also helped in the development of my lib_sfinv_map mod.

Server owners could potentially use this to emerge specific areas for new use by players, or to encourage specific gameplay elements.

Also, emerged maps load quicker on clients. While a run a moderately powerful server, my clients tend to run leaner machines, and this helps in that regard. A player can explore relatively quicker and easier if the server has already run the emerge algorithms, meaning it can dedicate more processing power to the network and users.
My other virtual world is an Opensimulator.
 

User avatar
ThomasMonroe
Member
 
Posts: 278
Joined: Tue Apr 04, 2017 16:21
Location: Wherever I am at
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared

Re: [Mod] Emerge World [lib_emerge][git]

by ThomasMonroe » Tue Jan 23, 2018 13:05

Makes sense, thanks for explaining.
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 5 guests