Overview
Beginners guide for custom content in Teardown.
The Official Map Editor
Watch the video below to learn more about the map editor
This guide is outdated, you can still use it for some tips but I highly recommend checking out the offical tutorials.
Installing MagicaVoxel
In order to create content for Teardown, you will have to download MagicaVoxel[ephtracy.github.io].
Extract the folder contents and launch the program. (I recommend starting it as an administrator, since MagicaVoxel does not start sometimes otherwise, for me, atleast)
Getting used to MagicaVoxel
All the tools to create a model in MacigaVoxel can be found in the top right corner.
The most common tool to use is the Box tool, that is selected by default.
You can switch between attach and erase mode below it.
Another useful tool is the face select, that tool enables you to extrude voxels or to delete them.()
Let’s delete the default cube by selecting the face tool on erase mode and dragging down on the top of the cube.
Let’s draw a shape using the Box tool.
And let’s paint it.
Thats pretty much the basics.
The color palette
Teardown determines the material an object uses by the Index of the color in the color palette.
Download this .vox file[teardowngame.com] and open it in MagicaVoxel. The materials are listed on the left, next to the palette and cannot be changed. Though the colors can.
(from teardowngame.com/create)
Objects and how to build them properly
To create a house, you want to create walls. But walls aren’t just one Voxel thicc and made out of one single material.
This is a wall, yes but that wouldn’t be fun to break would it.
A real wall will have some support of some kind, or insulation. Something to make this more interesting to break.
Bad wall vs “good” wall:
See the material list and combine them properly to get satisfying results.
Windows, Lights, and similar
In order to get windows, just select the window material (Palette Index 1-9)
Select your color and chose the material on the right.
Metal makes your material look like metal. The roughness slider makes the metal look like it has been brushed with a steel brush.
If you want lights, use the “Emit” shader. Same for every other material.
See the create website[teardowngame.com] for more details.
(Though they don’t actually emit light in-game, yet)
Building complex scenes
In order to build complex scenes, you will need to know about the object mode and edit mode.
By pressing tab you can switch between the two.
In edit mode, you can edit your currently selected object, in object mode, you can move your objects around and arrange them.
While in object mode, you can press SHIFT while dragging one of the arrows to duplicate the selected objects.
You can add empty objects to edit them by pressing the plus icon in the top right.
That makes building a lot simpler, and is also recommended by the developers.
Props, such as Chairs, Crates, and similar.
To add props, I recommend creating a new .vox file with all of the props inside. For example a char.
Now rename the chair inside of MagicaVoxel by selecting the Scene Outline on the right hand side.
Select your Object (probably called <vox>) and rename it.
Now place your props.vox file inside of the custom folder (C:Program Files (x86)SteamsteamappscommonTeardowncreatecustom).
Inside of your custom.xml (in C:Program Files (x86)SteamsteamappscommonTeardowncreate)you will need to add this:
Make sure you paste it inside of the
tags.
Explaination:
Body:
- pos, the position of the object. X, Y (Height), Z
- rot, the roation of the object.
Vox:
- pos: the position of the object. X, Y (Height), Z relative to the position of the body element.
- rot: the roation of the object relative to the rotation of the body element.ยด
- name: The name the game references to this object. Can be any.
- prop: is this object a prop or not?
- file: the location of your .vox file (Note: LEVEL shouldn’t be changed. Only the contents after it.)
- object: the name of your object inside of MagicaVoxel
Doors
Doors are pretty complicated at the moment, but I will try my best to explain it.
First off, you will have to create a door frame inside of MagicaVoxel.
Then you need to create a new object and create the actual door.
Make sure to give these two seperate object names inside of the scene outline.
You should have something like this:
Save your file and place the .vox inside of your C:Program Files (x86)SteamsteamappscommonTeardowncreatecustom folder. I called mine door_tut.vox.
Next go to your C:Program Files (x86)SteamsteamappscommonTeardowncreate folder and open the custom.xml with a text editor. (I recommend Notepad++)
You will have to add code now. inbetween of the
tags you want to create a group containing the door.
Adjust the positions until everythin fits together, remember, 10 Voxels are 1 Meter.
I really recommend you joining the official Teardown Discord[discord.gg]. One of the Devs, ResidentEmil posts tutorials like these there.
Adding your .vox file to Teardown
In order to actually destroy your masterpiece, you will need to implement it into Teardown.
Save your file, and navigate to your folder where you saved it. Now, copy the .vox file and move it into the C:Program Files (x86)SteamsteamappscommonTeardowncreatecustom folder.
Rename the existing file to something like custom_old.vox and rename the file you just moved to custom.vox
Now you just have start Teardown and start playing your map ๐
Closing Thoughts
This is by far not everything you can do, but these are the basics for creating custom content.
I highly recommend visiting the create website by the devs www.teardowngame.com/create.
They explain everything pretty well.
I really recommend you joining the official Teardown Discord[discord.gg]. One of the Devs, ResidentEmil, posts tutorials like these there.
Remember, 10 Voxels = 1 Meter.
Have fun!