Teardown
Ocen: 430
How to create Custom Maps for Teardown
Autorstwa: 9ä päppeln
Beginners guide for custom content in Teardown.
8
4
7
30
4
5
2
3
2
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
The Official Guide
The palette file for Magica can be downloaded here:
https://teardowngame.com/modding/downloadable/teardown_palette.vox

Official modding guide:
https://teardowngame.com/modding/index.html
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
About:
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.





Useful material list:


(from teardowngame.com/create)

Edit colors in the palette:



Create a gradient between colors by dragging while holding CTRL+ALT



Copy colors by dragging while holding CTRL+SHIFT



Randomizing colors by selecting multiple, right-click and RAND

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)\Steam\steamapps\common\Teardown\create\custom).



Inside of your custom.xml (in C:\Program Files (x86)\Steam\steamapps\common\Teardown\create)you will need to add this:
<body pos="10 0 0" rot="0 0 0" > <vox name="prop_chair" pos="0.0 0.0 0.0" rot="0.0 0.0 0.0" prop="true" file="LEVEL/props.vox" object="chair"/> </body>
Make sure you paste it inside of the
<scene> <!--Paste the code inbetween these two.--> </scene>
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)\Steam\steamapps\common\Teardown\create\custom folder. I called mine door_tut.vox.

Next go to your C:\Program Files (x86)\Steam\steamapps\common\Teardown\create folder and open the custom.xml with a text editor. (I recommend Notepad++)

You will have to add code now. inbetween of the
<scene> </scene>
tags you want to create a group containing the door.
<group name="door_group" pos="0 0 0" rot="0 0 0"> <vox name="door_frame" pos="0 0 0" rot="0 0 0" file="LEVEL/door_tut.vox" object="frame"/> <vox name="door" pos="0 0 0" rot="0 0 0" file="LEVEL/door_tut.vox" object="door"> <joint pos="-0.6 2.1 -0.1" rot="0.0 0.0 0.0" type="ball" size="0.1" rotstrength="0.01" rotspring="0" sound="true"> <voxbox name="joint visualizer" pos="-0.05 -0.05 -0.05" prop="true" collide="false" size="1 1 1" color="1 0.0 0.0"/> <!-- this is not needed but its quite handy to visualize the joint--> </joint> <joint pos="-0.6 0.4 -0.1" rot="0.0 0.0 0.0" type="ball" size="0.1" rotstrength="0.01" rotspring="0" sound="true"> <voxbox name="joint visualizer" pos="-0.05 -0.05 -0.05" prop="true" collide="false" size="1 1 1" color="1 0.0 0.0"/> </joint> </vox> </group>

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)\Steam\steamapps\common\Teardown\create\custom 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!
Komentarzy: 155
ChefCookie 27 maja o 7:32 
Once there was a little boy called Joey, he was ten-years-old and he lived in a mental hospital because he posted a shitty copypasta onto a People Playground mod's comment section . He got so bad he went to kill all the staff in the hospital so the Feds decided that best idea was to get rid of him so they set up a special room to kill him, as inhumane as possible. And he sat there in agony for hours until he died. Now every week on the day of his death he returns to the person that reads this letter, on a monday night at 12:00 a.m. He creeps into your room and kills you slowly, by pegging you and watching you bleed to death. Now send this to ten other profiles on this one site, and he will haunt someone else who doesn't. This isn't fake. apparently if u copy and paste this to ten comments in the next ten minutes nothing will happen
buckaroonii 4 marca o 2:11 
for anyone wondering, the "create" folder is now renamed to "mods"
Mr.Frog1nヅ 16 stycznia o 19:41 
Актуально?
DunkinDude 13 grudnia 2024 o 15:42 
░░░░░███████ ]▄▄▄▄▄▄▄▄▃ DEFEND AGAINST DOGE AND BOB
▂▄▅█████████▅▄▃▂ AND SAVE STEAM!!!
I███████████████████]. COPY AND PASTE TO JOIN WAR
finnyfunn 18 sierpnia 2024 o 17:58 
Jesus this is old, did you make this in the 1700s?
Phobias 7 lipca 2024 o 5:21 
Is there anything on making infinite generating maps?
DaOPCreeper 13 stycznia 2024 o 8:19 
found where the pallet is. go here https://teardowngame.com/modding/index.html#modellingforteardown/magicavoxel , the click the "here" where it says "The palette can be downloaded here."
gaming 3 stycznia 2024 o 4:48 
vbroke
TeaWithLemon 30 grudnia 2023 o 3:56 
its outdated
wpwhite85 6 listopada 2023 o 15:17 
me neether