Map Size

Loadable maps as opposed to OldCoder's zoomable maps
streondj
Member
 
Posts: 11
Joined: Wed Dec 05, 2012 08:06

Map Size

by streondj » Thu Dec 06, 2012 07:22

Hey, i'm interested in smaller size maps,
so that I could play on my laptop without making it sound like a hovercraft.
Typically I don't walk more than a few hundred squares from center anyways.
Could also allocate said resources to more interesting things like AI's later.

An Idea I had is if we have small maps, we could do p2p minetest, so people could have their own minetest set up, and then connect the worlds temporarily during a p2p session.
Anyways but ya, lots of possibility.

So I'm working on being able to set the map size in the create world gui section.
Already have the gui part actually, now just gotta figure out where the map is being set, make it into variables, and update the mods to use it, rather than 31000 as a constant.

If you like this idea, or have some suggestions please feel free to comment.

btw, i'm curious if you know why in some places in the source like farmesh.cpp it says 1000000 in juxtaposition with the 31000
Also is farmesh.cpp the new standard? as it says
farmesh.cpp
include "mapgen.h" // Shouldn't really be done this way
farmesh.cpp

if there is some docs related to this I'd love to know, thanks :-).
Last edited by streondj on Thu Dec 06, 2012 08:07, edited 1 time in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Thu Dec 06, 2012 13:55

It doesn't work like that.

Smaller maps would mean less potential disk space used by maps. It would not reduce RAM, CPU and GPU usage.
It is possible to "limit" where players will be able to go (when disk space is limited) using a simple Lua mod which generates unbreakable (and maybe invisible) walls.

streondj wrote:An Idea I had is if we have small maps, we could do p2p minetest, so people could have their own minetest set up, and then connect the worlds temporarily during a p2p session.

You can host your own server if you want, just go to the "Advanced" tab then put no address in the address field. You will have to forward port 30000 in UDP, which is the default if you're behind a router with NAT enabled, though.

streondj wrote:so that I could play on my laptop without making it sound like a hovercraft.


There are other ways to make your laptop not sound like a hovercraft, try limiting framerate with this setting in minetest.conf:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
fps_max = 30


Also, to improve performance, try disabling desktop effects/compositing. You can also reduce view distance with the + and - keys, maybe also tweak settings in the Settings menu in the main menu (disabling shaders and fancy trees should help quite a lot).

This limits to 30 FPS, which keeps the game playable but makes resource usage much lower (this assumes your laptop is powerful enough to render at least 30 frames per second).
 

streondj
Member
 
Posts: 11
Joined: Wed Dec 05, 2012 08:06

by streondj » Thu Dec 06, 2012 19:29

oh okay, thanks, guess, that clears it up. thanks :-)
guess i'll work on some other mod ideas.
 


Return to Minetest Maps

Who is online

Users browsing this forum: No registered users and 3 guests

cron