Difference between revisions of "Worlds"

From Luanti Wiki
Jump to navigation Jump to search
m (Some copy-editing)
(Replaced content with "[https://dev.luanti.org/worlds/ This page has moved to the Luanti Developer Wiki]")
Tag: Replaced
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== What is a Map? ==
+
[https://dev.luanti.org/worlds/ This page has moved to the Luanti Developer Wiki]
 
 
A '''Map''' is a world who contains an environment and/or building(s).
 
 
 
== Installation ==
 
 
 
'''To install maps :''' you have to extract them first—most of them are in <code>.zip</code>, some of them can be in <code>.rar</code> or <code>.tar.gz</code> format. To extract <code>.tar.gz</code> and <code>.rar</code> files on Windows, you need 7-Zip.
 
 
 
Put the extracted files in the “<code>worlds</code>” folder of your Minetest installation folder. The files such as <code>env_meta.txt</code> must be directly in the world’s folder (eg. “<code>worlds/my_world/env_meta.txt</code>”).
 
 
 
Often, the compressed file also contains a “<code>mods</code>” folder, his files have to be put into your “<code>mods</code>” folder to show some additional blocks.
 
 
 
* Location of the <code>worlds</code> (aka maps) folder within the folder structure of a run-in-place installation of Minetest, including some of the folders Minetest adds after some usage as client and server, as well as the positions (…) that custom-made content goes. Irrelevant folders are not expanded.
 
<pre>
 
minetest/
 
├── bin/
 
├── builtin/
 
├── cache/
 
├── client/
 
├── doc/
 
├── fonts/
 
├── games/
 
│  ├── minetest_game/
 
│  ├── minimal/
 
│  └── … (installed extra games)
 
├── locale/
 
├── mods/
 
│  └── … (installed extra mods and modpacks)
 
├── textures/
 
│  ├── base/
 
│  │  └── pack/
 
│  └── … (installed extra texturepacks)
 
└── worlds/
 
    └── … (saved worlds. Some with exclusive world mods)
 
</pre>
 
 
 
== Finding Maps ==
 
 
 
* See [https://forum.minetest.net/viewforum.php?f=12 Maps] in the [http://forum.minetest.net Forum]
 
 
 
 
 
== Schem file Creation / Import ==
 
 
 
A '''schem file (<code>.mts</code>)''' is used to import building(s) into a world with the [https://forum.minetest.net/viewtopic.php?id=572 WorldEdit mod]. This file can be found in “<code>worlds/<my_world>/schems</code>” folder.
 
 
 
 
 
* To '''create a schem file''' :
 
 
 
# Type in your world name (with WorldEdit activated).
 
# Grant yourself all [[privileges]]: <code>/grant singleplayer all</code>¹
 
# Press <kbd>F5</kbd> to show the coordinates.
 
# Select the area to export by commands with <code>//pos1</code> and <code>//pos2</code> (these positions corresponds to an invisible diagonal of a cuboid selection).
 
# Create your schem file with <code>//mtschemcreate <name of your schem file></code>. The file will be created into your “<code>worlds/<my_world>/schems</code>” folder.
 
 
 
 
 
* To '''import a schem file''' :
 
 
 
# Enter in your world (with WorldEdit activated).
 
# Grant yourself all privileges: <code>/grant singleplayer all</code>¹
 
# Put a schem file into your “<code>worlds/<name of your new world>/schems</code>" folder.
 
# Press <kbd>F5</kbd> to show the coordinatess.
 
# Place a position where you want with command: <code>//pos1</code>
 
# Import your schem file with <code>//mtschemplace <name of your schem file></code>
 
 
 
 
 
¹ (name “singleplayer” by default)
 
 
 
[[Category:Map]]
 
[[Category:Tutorials]]
 

Latest revision as of 20:51, 31 December 2024