[Tutorial] Create and import a schematic file (.mts)

User avatar
jp
Member
 
Posts: 729
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

[Tutorial] Create and import a schematic file (.mts)

by jp » Sat May 31, 2014 09:43

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

  • How to create a schematic file :

    1. Enter in your world (with WorldEdit enabled).
    2. Grant yourself all privileges : /grant singleplayer all¹.
    3. Press F5 to display the coordinates.
    4. Select the area to export with : //pos1 and //pos2.
    5. Create your schematic file with : //mtschemcreate <name of your schematic file>.

    Your schematic will appears into the “worlds/<my_world>/schems" folder.

  • How to import a schematic file :

    1. Enter in your world (with WorldEdit enabled).
    2. Grant yourself all privileges : /grant singleplayer all¹.
    3. Move a schematic file into the “worlds/<my_world>/schems” folder.
    4. Press F5 to display the coordinates.
    5. Select a position with : //pos1
    6. Import your schematic file from the chosen position with : //mtschemplace <name of your schematic file>

¹ (name “singleplayer” by default)
Last edited by jp on Fri May 29, 2015 11:56, edited 7 times in total.
 

User avatar
minermoder27
Member
 
Posts: 138
Joined: Wed Nov 20, 2013 23:24
Location: Unfortunately, not in Baikonur
GitHub: ZNixian
In-game: minermoder27

Re: [Tutorial] How do I create / import schem file ?

by minermoder27 » Fri Jun 20, 2014 03:51

You only have to type the grant command the first time.
Maybe you should say that?
 

User avatar
jp
Member
 
Posts: 729
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

Re: [Tutorial] How do I create / import schem file ?

by jp » Fri Jun 20, 2014 06:01

minermoder27 wrote:You only have to type the grant command the first time.
Maybe you should say that?

If these are different worlds, no. This tutorial explain in this case. Export / import a schem is often in this case.
 

User avatar
swordpaint12
Member
 
Posts: 191
Joined: Sat Aug 22, 2015 00:50
Location: Foobass, isle of Atlantis, castle of Bardvendelle
In-game: [swordpaint12][Belching_Balladeer]

Re: [Tutorial] Create and import a schematic file (.mts)

by swordpaint12 » Tue Oct 27, 2015 21:44

Unless you've already been on the second world before.
God's not dead; remember that!
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.

I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
 

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

Re: [Tutorial] Create and import a schematic file (.mts)

by Sokomine » Sun Nov 01, 2015 18:03

You can also use my handle_schematics mod for saving and importing schematics. Just install it and type /giveme handle_schematics:build 99 and put the chest somewhere.
A list of my mods can be found here.
 

hajo
Member
 
Posts: 596
Joined: Thu Oct 13, 2016 10:45
Location: DE

Re: [Tutorial] Create and import a schematic file (.mts)

by hajo » Mon Oct 17, 2016 13:19

jp wrote:* How to create a schematic file :
* How to import a schematic file :

Maybe you should add instructions on how to undo the import,
e.g. when the placement was wrong, or it damaged something.
 

User avatar
Onyx
Member
 
Posts: 109
Joined: Fri Sep 25, 2015 08:36
Location: Steinheim-NodesNation
In-game: onyx58

Re: [Tutorial] Create and import a schematic file (.mts)

by Onyx » Mon Oct 17, 2016 17:28

Hi,

To avoid accidents of import, I got used to test above ground (in altitude) beforehand.
This will mark import sense, once that's done, I remove the import test and I can proceed to import at ground safely.
"Science sans conscience n'est que ruine de l'âme."
-----------------------------------------------------------------------------------------
Steinheim NodesNation : steinheim-minetest.servegame.com Pt : 28000
 

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

Re: [Tutorial] Create and import a schematic file (.mts)

by Sokomine » Mon Nov 28, 2016 23:58

hajo wrote:Maybe you should add instructions on how to undo the import,
e.g. when the placement was wrong, or it damaged something.

That's where the build chest from my handle_schematics mod comes in really handy. Not only does it rotate the building the way you expect it (i.e. you'll always face the same side and don't have to manually rotate it) - it will also create a backup of the landscape so that placement of schematics can be undone.
A list of my mods can be found here.
 

Brian Gaucher
Member
 
Posts: 64
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: [Tutorial] Create and import a schematic file (.mts)

by Brian Gaucher » Fri Jan 25, 2019 03:16

Another simple fool-proof way to avoid ruining your world with a wrong schematic import. Simply quit the game, make a backup of the world, try it in the backup. Anytime I need to do schematics, or world-edit files, I always make a simple backup first. Just 2 minutes to make it, and it can save so much trouble.
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak
 

User avatar
Wuzzy
Member
 
Posts: 3391
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Schematic Editor

by Wuzzy » Tue Jan 29, 2019 23:15

There is also a decicated mod to edit and save schematics which is a bit simpler to use than WorldEdit (I hope):
Schematic Editor
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
Gael de Sailly
Member
 
Posts: 719
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo

Re: [Tutorial] Create and import a schematic file (.mts)

by Gael de Sailly » Wed Jan 30, 2019 18:15

If anyone is interested, I have a small Python library to load/save/edit schematics: https://forum.minetest.net/viewtopic.php?f=14&t=21444.
Contributor of Minetest and OpenStreetMap, on Ubuntu 16.04. ~ ~ ~ Meet me on MinetestForFun, VanessaE's Basic, Capture the Flag and Inside the Box.
 


Return to Maps



Who is online

Users browsing this forum: No registered users and 1 guest