[Mod] Map [2] [map]

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

[Mod] Map [2] [map]

by PilzAdam » Fri Aug 10, 2012 11:29

Hello everyone!
I have made a mod that adds a map of the world. It uses the minetestmapper script wich is in the util folder of minetest.
If you have installed it the mod will create a image of the world (This will take some time depending on the size of the map). In the game you can craft a map like this:
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
paper    paper
paper    paper

If you want a updated version of the map just delete the file map.png in the map/textures/ folder (the next loading of the world will create a new map wich takes some time too).

There is currently no working windows version.

Depends:
  • default
  • You need to have python installed otherwise the script wont work. You also need the PIL (python image libary).
Problems:
If there appears an error while creating the image you will see the command that need to be run in the debug.txt (something like "[map] Tried to run command "python ..."").

License:
The mod contains a copy of the python script minetestmapper.py wich has the license in line 4-8 in the script.
All other parts: WTFPL.

Download:
Last edited by PilzAdam on Wed Aug 22, 2012 14:38, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Aug 10, 2012 12:44

New version. Version 1 didnt work.
 

pagliaccio
Member
 
Posts: 65
Joined: Tue Jul 31, 2012 07:38

by pagliaccio » Fri Aug 10, 2012 12:48

screen?
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Fri Aug 10, 2012 14:55

Any chance of writing in c++ or something else that can be compiled and included with the mod?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Aug 10, 2012 15:05

cornernote wrote:Any chance of writing in c++ or something else that can be compiled and included with the mod?

Nope (I think).
 

PewDiePie
Member
 
Posts: 26
Joined: Sat Aug 18, 2012 17:39

by PewDiePie » Mon Aug 20, 2012 13:25

Does this work with 0.4.2?
_Pewdy_
There's A Reason Your Heart Is On The Left Side Because Its not Always Right.
-Wiz Khalifa
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Aug 20, 2012 14:30

PewDiePie wrote:Does this work with 0.4.2?
_Pewdy_

Only linux with python and PIL installed.
 

PewDiePie
Member
 
Posts: 26
Joined: Sat Aug 18, 2012 17:39

by PewDiePie » Wed Aug 22, 2012 14:29

so i cant use it?
_Pewdy_
There's A Reason Your Heart Is On The Left Side Because Its not Always Right.
-Wiz Khalifa
 

User avatar
tonyka
Member
 
Posts: 320
Joined: Sat Jun 16, 2012 04:08

by tonyka » Wed Aug 22, 2012 15:59

PewDiePie wrote:so i cant use it?
_Pewdy_

Sure you can use ... linux is free and better than that winbugg ...
I recommend to start Lubuntu know, you can install it under windows like a program (running Wubi.exe) and uninstall it if you do not like ...
and enjoy the power of open software and minetest
Image

I hope this is not considered spam....

y love Linux!!! & map mod...
My mod: [MOD]3D Forniture 1.0
Download: 3DForniture_v_1.0.zip
Page development (European Castilian):
Moviliario 3D (proyecto 3D Forniture)
 

User avatar
tonyka
Member
 
Posts: 320
Joined: Sat Jun 16, 2012 04:08

by tonyka » Sat Aug 25, 2012 23:48

as I add blocks of mods?
My mod: [MOD]3D Forniture 1.0
Download: 3DForniture_v_1.0.zip
Page development (European Castilian):
Moviliario 3D (proyecto 3D Forniture)
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Sun Aug 26, 2012 07:39

PilzAdam wrote:
cornernote wrote:Any chance of writing in c++ or something else that can be compiled and included with the mod?

Nope (I think).


Mapper in C++
Last edited by leo_rockway on Sun Aug 26, 2012 07:41, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sun Aug 26, 2012 10:30

leo_rockway wrote:
PilzAdam wrote:
cornernote wrote:Any chance of writing in c++ or something else that can be compiled and included with the mod?

Nope (I think).


Mapper in C++

I already compiled one version for me and test it now. I will see how to implement it in this mod.
 

User avatar
tonyka
Member
 
Posts: 320
Joined: Sat Jun 16, 2012 04:08

by tonyka » Sun Aug 26, 2012 14:43

which is how to compile it?
I only get errors ...
My mod: [MOD]3D Forniture 1.0
Download: 3DForniture_v_1.0.zip
Page development (European Castilian):
Moviliario 3D (proyecto 3D Forniture)
 

User avatar
RabbiBob
Member
 
Posts: 335
Joined: Sat Jan 28, 2012 22:40

by RabbiBob » Tue Aug 28, 2012 00:24

Disclaimer: I read that it doesn't work under Windows

I've been away from Minetest for a bit and I've just resurrected my old server this afternoon, then got the updated Mapper to run on Windows with no changes to the script.

For anyone that cares to try, I think that you can do this under Windows, however it's the os.execute call that isn't working correctly under Win as it doesn't natively take the python call like that. I may add it to the env path later and test.

Requirements
Last edited by RabbiBob on Tue Aug 28, 2012 01:11, edited 1 time in total.
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Tue Sep 04, 2012 15:47

can you make map be stored in world folder instead of mod folder?
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Sep 04, 2012 16:37

sapier wrote:can you make map be stored in world folder instead of mod folder?

Its difficult because its the texture for the map node.
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Tue Sep 04, 2012 20:57

didn't think about that ...
I asked because I tried with different worlds ... obviously getting wrong map on second and following worlds
DON'T mention coding style!
(c) sapier all rights reserved
 

bob
Member
 
Posts: 66
Joined: Thu Feb 16, 2012 00:59

by bob » Wed Sep 05, 2012 00:25

Can you put a screenshot please?
 

irksomeduck
Member
 
Posts: 224
Joined: Tue Aug 28, 2012 21:45

by irksomeduck » Wed Sep 05, 2012 17:45

No Windows version :(
I love exploring minetest worlds :D
If you have a good seed let me know
--------------------------------------------------
My world/house pack- http://minetest.net/forum/viewtopic.php?id=3066
 

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

by Sokomine » Fri Sep 21, 2012 15:15

Might it be possible to mix this mod with the new inventory_plus to display a more helpful extract of the map to the player? The complete map may grow quite large. Displayed in the size of a usual nodebox, the map is too small to recognize anything . Things like current position, home and other points of interest might be helpful as well. Especially their relative positions.
And please check your mails...seems mine got lost in a spamfilter - again :-(
A list of my mods can be found here.
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

by GJH105775 » Fri Oct 19, 2012 02:09

Sweet, I am on a linux (ubuntu 12) and code in python.
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths

I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.

http://i10.photobucket.com/albums/a119/ ... hicons.jpg
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Wed Oct 24, 2012 02:51

Sokomine wrote:Might it be possible to mix this mod with the new inventory_plus to display a more helpful extract of the map to the player? The complete map may grow quite large. Displayed in the size of a usual nodebox, the map is too small to recognize anything . Things like current position, home and other points of interest might be helpful as well. Especially their relative positions.
And please check your mails...seems mine got lost in a spamfilter - again :-(


tried sticking a map in the formspec with mixed results:
Image
its smaller than if i walk up to it :-/

idea: try splitting the map texture into 4 parts. pageflip on punch or tile them on the wall.
Last edited by mauvebic on Wed Oct 24, 2012 02:55, edited 1 time in total.
"Fuck the hat." - Paulie Gualtieri
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

by paramat » Mon Oct 29, 2012 08:13

Hi first post.
Thanks for this mod. My small map takes roughly 15 minutes to generate at the 'creating server ...' screen.
To view in game you can place it on a low ceiling above a torch, look straight up and move around underneath using WASD.
Last edited by paramat on Fri Jun 14, 2013 06:59, edited 1 time in total.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

by Dragonop » Mon Oct 29, 2012 21:16

I NEED THIS but i have windows D:
It's "Drag" for the friends.

Sorry I haven't been online as much lately, I'm real busy.
https://forum.minetest.net/download/file.php?id=4472
 

User avatar
RobSis
Member
 
Posts: 13
Joined: Fri Jul 08, 2011 23:08

by RobSis » Tue Oct 30, 2012 14:52

Amazing mod, thanks!

With mireq's C++ implementation of mapper it's real smooth, btw.
7w^6R1 ddTz`C
 

fgr
Member
 
Posts: 85
Joined: Mon Sep 17, 2012 08:22

by fgr » Thu Nov 08, 2012 20:32

This mod needs to be tuned a bit. lets say ... its nice to have the map somewhere pinned but if you open / look at it (it should be always with you like a real map by hitting "M" key or whatsoever) it should zoomed the current area. I know it would be a bit difficult. zoom in the map and out would be also a real nice thing.
 

User avatar
Nightfighter
Member
 
Posts: 39
Joined: Sat Oct 06, 2012 11:01

by Nightfighter » Thu Nov 15, 2012 06:06

mine is now not working it says"not fuctioning 'step on'......."
How do i fix it?
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!
 

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

by Inocudom » Sat Dec 01, 2012 16:23

Is there any way this mod could work on Windows? If not, what is it about the operating system that makes such a feat impossible?
 

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

by Iqualfragile » Tue Dec 04, 2012 22:41

yeah, you could install andlinux, that should work :D
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
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Fri Jan 25, 2013 23:08

Terminal wrote:Unknown node names: default:stone_with_iron stairs:slab_wood stairs:slab_cobble stairs:stair_cobble default:sapling stairs:stair_wood default:chest_locked fire:basic_flame
[map] debug: 0
[map] Failed!
[map] Tried to run command "python /home/us_0gb/.minetest/worlds/world_2013-01-25/worldmods/map/minetestmapper.py -i /home/us_0gb/.minetest/worlds/world_2013-01-25 -o /home/us_0gb/.minetest/worlds/world_2013-01-25/worldmods/map//textures/map.png"


I get an error when I run this. It says it failed, but the image was indeed created. Could it because of the unknown nodes it found?

Also, how do you add nodes to the mapper?

Thanks!
Also, how
 

Next

Return to Old Mods

Who is online

Users browsing this forum: No registered users and 6 guests

cron