Difference between revisions of "Worlds"

From Luanti Wiki
Jump to navigation Jump to search
(added content from the page "Installing Maps")
Line 51: Line 51:
 
# Enter in your world (with WorldEdit activated).
 
# Enter in your world (with WorldEdit activated).
 
# Grant yourself with all privs : '''/grant singleplayer'''¹ '''all'''.  
 
# Grant yourself with all privs : '''/grant singleplayer'''¹ '''all'''.  
# Press F5 to show coords.
+
# Press '''F5''' to show coords.
# Select your area by commands with '''//pos1''' and '''//pos2''' (these positions corresponds to an invisible diagonal of a cuboid selection).
+
# Select the area to export by commands with '''//pos1''' and '''//pos2''' (these positions corresponds to an invisible diagonal of a cuboid selection).
 
# Create your schem file with '''//mtschemcreate <name of your schem file>'''. The file will be created into your "''worlds/<my_world>/schems''" folder.
 
# Create your schem file with '''//mtschemcreate <name of your schem file>'''. The file will be created into your "''worlds/<my_world>/schems''" folder.
  
Line 61: Line 61:
 
# Grant yourself with all privs : '''/grant singleplayer'''¹ '''all'''.
 
# Grant yourself with all privs : '''/grant singleplayer'''¹ '''all'''.
 
# Put a schem file into your "''worlds/<name of your new world>/schems''" folder.
 
# Put a schem file into your "''worlds/<name of your new world>/schems''" folder.
# Press F5 to show coords.
+
# Press '''F5''' to show coords.
 
# Place a position where you want with command : '''//pos1'''
 
# Place a position where you want with command : '''//pos1'''
 
# Import your schem file with '''//mtschemplace <name of your schem file>'''
 
# Import your schem file with '''//mtschemplace <name of your schem file>'''

Revision as of 06:29, 1 June 2014

What is a Map?

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 .zip, some of them can be in .rar or .tar.gz format. To extract .tar.gz and .rar files on Windows, you need 7-Zip.

Put the extracted files in the "worlds" folder of your Minetest installation folder. The files such as env_meta.txt must be directly in the world's folder (eg. worlds/my_world/env_meta.txt).

Often, the compressed file also contains a "mods" folder, his files have to be put into your "Mods" folder to show some additional blocks.

  • Location of the Worlds(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 costum made content goes. Unrelevant folders are not expanded.
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)

Finding Maps


Schem file Creation / Import

A schem file (.mts) is used to import building(s) into a world with the WorldEdit mod. This file can be found in "worlds/<my_world>/schems" folder.


  • When you want to create a schem file :
  1. Enter in your world (with WorldEdit activated).
  2. Grant yourself with all privs : /grant singleplayer¹ all.
  3. Press F5 to show coords.
  4. Select the area to export by commands with //pos1 and //pos2 (these positions corresponds to an invisible diagonal of a cuboid selection).
  5. Create your schem file with //mtschemcreate <name of your schem file>. The file will be created into your "worlds/<my_world>/schems" folder.


  • When you want to import a schem file :
  1. Enter in your world (with WorldEdit activated).
  2. Grant yourself with all privs : /grant singleplayer¹ all.
  3. Put a schem file into your "worlds/<name of your new world>/schems" folder.
  4. Press F5 to show coords.
  5. Place a position where you want with command : //pos1
  6. Import your schem file with //mtschemplace <name of your schem file>


¹ (name by default)