# Building Editor

**URL:** <https://discourse.cataclysmdda.org/t/building-editor/10532>\
**Category:** The Lab\
**Created:** [September 16, 2015, 3:27am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532 "2015-09-16T03:27:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [September 16, 2015, 3:27am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/1 "2015-09-16T03:27:43Z")

</div>

For the past couple weeks I have been working on a building editor for Cataclysm. I feel like it’s at a point now where I can unleash it upon the world.

[Cataclysm Building Editor for Windows](http://www.doesthislookokaytoyou.com/buildingeditor/buildingeditor_win.zip)  
Linux build coming soon.

Keep in mind this is like the early access alpha 0.1 version, and it’s very rough around the edges right now.

On first load, you will have to select your cataclysm-dda\data directory. After that, it will select this directory automatically (but you still have to hit select folder to continue). It will scan the data folder for json files and load whatever it finds into the toolbox on the right side. From there, just select what you want to paint and click on the building area. Item Groups, Monster Groups, and Vehicles each open a special area for inputting extra information, pay close attention to this! Also, like all mapgen json, the upward direction is the direction that will face the road. There are three brush type tools that can be selected at the top right, and the “Write” button will write the building out to json.

Currently supports placing terrain, furniture, traps, items, monsters, item groups, monster groups, vehicles, and toilets.

If you have a bug report or questions post them here or [GitHub](https://github.com/vache/BuildingEditor). You can also check out the GitHub for an idea of planned features or to look at my horrible horrible code.

---

<div class="post-metadata">

**Author:** ![King\_of\_Baboons](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@King\_of\_Baboons](https://discourse.cataclysmdda.org/u/King_of_Baboons)\
**Post date:** [October 10, 2015, 9:15pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/2 "2015-10-10T21:15:39Z")

</div>

That’s…awesome!If only there was a simple tool like this one to make creatures and items…

I just have 2 questions about it:how do I make bigger buildings?And will it be able to make basements in the future?

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [October 12, 2015, 1:51pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/3 "2015-10-12T13:51:23Z")

</div>

Bigger buildings you have to put together the old way for now, eventually the plan is to support creating them in the editor. Basements you just have to export it with overmap terrain of basement. Right now though, it’s impossible to associate a particular basement with a particular house in the game.

---

<div class="post-metadata">

**Author:** ![stone94](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@stone94](https://discourse.cataclysmdda.org/u/stone94)\
**Post date:** [October 21, 2015, 2:01am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/4 "2015-10-21T02:01:50Z")

</div>

[quote=“King\_of\_Baboons, post:2, topic:10532”]That’s…awesome!If only there was a simple tool like this one to make creatures and items…

I just have 2 questions about it:how do I make bigger buildings?And will it be able to make basements in the future?[/quote]

Making creatures and items are really easy if i have time sometime this week ill post a barebones tutorial on how i do it (json only though i cant code worth a damn lol)

---

<div class="post-metadata">

**Author:** ![Trihook](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trihook/32/1148_2.png) [@Trihook](https://discourse.cataclysmdda.org/u/Trihook)\
**Post date:** [November 4, 2015, 10:41pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/5 "2015-11-04T22:41:56Z")

</div>

Can you elaborate more on how vehicles are placed? Placing a vehicle in the editor paints one tile dark blue. What actually happens if the map is loaded in the game?

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [November 4, 2015, 10:56pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/6 "2015-11-04T22:56:13Z")

</div>

Vehicles are a bit of a sticky point right now. I recommend testing it out while you’re working on it as far as vehicles are concerned. I have plans to make it read in the size and shape of vehicles and using that to gauge exactly where the vehicle is going to appear, but for some things, like vehicle groups, it’s not going to be feasible right now.

---

<div class="post-metadata">

**Author:** ![Trihook](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trihook/32/1148_2.png) [@Trihook](https://discourse.cataclysmdda.org/u/Trihook)\
**Post date:** [November 4, 2015, 11:52pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/7 "2015-11-04T23:52:51Z")

</div>

I’ve been mucking around with the editor a bit, and I think this thing has some real potential!  
I’m very excited about the prospect of easy mapping for the game, and I can see people mapping things out to give the game more content in the future.

I looked through the github files, but couldn’t find any roadmaps or to do lists, or even a readme.  
I know this is just a very early alpha version (0.1), so this is to be expected. On that note, I’ll list some things I would like to see in the editor. Please note this is just a wish list, not a “I-demand-you-make-all-these-things-by-tomorrow-morning” list.

-In-editor help file/documentation.

-Undo/multiple undo

-Select/copy/paste

-Right click eye dropper; like a color picker in a gfx drawing program, it changes the currently drawing tile to whatever you right clicked based on active category. i.e. if you’re editing furniture, it picks up furniture, not floors. This makes editing much faster than manually selecting everything from the category view.

-Tree view for categories on the right; as it is, some categories are huge, just scrolling to find what you need is a task eating time. A tree list that sorts stuff by some type would be nice, like ammo/CBM/clothing etc.

-Search; find specific terrain/furniture/item etc. by typing in a name in a search box.

-Layers; display and edit the map through layers by category, i.e. display and edit only terrain/furniture/monsters etc.This is useful if I need to check is I placed floors under furniture for instance.

-Zoom; zoom the map editor so it’s easier to map on larger/smaller screens.

-Tileset support; the difference between grass and dirt is just a different color of the “.” (dot) symbol now. it’s like 2x2 pixels, really hard to see. Tilesets would make it easier to map.

-Grid and background color editing; sometimes it’s easier to see things on a non black BG or with a muted grid.

-Map commands: rotate 90°, shift left/right/up/down, invert by x/y axis; standard fare

-Used list; list all tiles that have been used in the current map by name and category, check a box to make everything else invisible. This is useful if you’re trying to find where did you put that one thing on a cluttered map.

-Tile info; mousing over a tile in the editor lists all things in the tile, for instance a tile could hold a floor a table and items on the table, while the editor only shows one letter/icon as it is now. Being able to check what is on a tile is useful.

-General info; middle click an item in the category view to bring up more info about it, specifically, grab the info from the game files. For instance, Item group\>lab\_torso. If you didn’t code the game, you prolly don’t know what is this used for. Sometimes names are descriptive enough, but sometimes they are not. Bringing out any info on a specific item would help a lot. Even if it just pops open a .json file in a text editor where the name is mentioned.

-Blank tile finder; finds and highlights all the tiles you forgot to edit in. Helps to check if you forgot something.

Anyway, this project is awesome, and I wish you all the best with it!

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [November 5, 2015, 3:24pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/8 "2015-11-05T15:24:26Z")

</div>

A lot of good ideas there, some of these I already have implemented in my next version (which should be out… soonish), and some others I have planned. My roadmap is collected in github issues right now at [https://github.com/vache/BuildingEditor/issues](https://github.com/vache/BuildingEditor/issues), but it’s mostly short term things. Long term, I would like to get most of these changes in, particularly the json explorer, undo, and tileset support. Zoom is something I’d like to get in as well, but I’m really skeptical that I’ll be able to right now.

---

<div class="post-metadata">

**Author:** ![jokermatt999](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jokermatt999](https://discourse.cataclysmdda.org/u/jokermatt999)\
**Post date:** [November 7, 2015, 7:41pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/9 "2015-11-07T19:41:54Z")

</div>

Oh, this looks excellent! I enjoy coming up with concepts for new buildings, but I hate the tedium of getting the tile list and item spots just right. Thanks for making this.

Haven’t poked around too much, but I will say on my computer the numbers in the grids above 9 don’t display correctly (cut off). Edit: likely because my system font is set to medium.

---

<div class="post-metadata">

**Author:** ![Dampe](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@Dampe](https://discourse.cataclysmdda.org/u/Dampe)\
**Post date:** [November 9, 2015, 4:56am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/10 "2015-11-09T04:56:03Z")

</div>

This is pretty cool, keep up the good work!  
😃

---

<div class="post-metadata">

**Author:** ![Trihook](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trihook/32/1148_2.png) [@Trihook](https://discourse.cataclysmdda.org/u/Trihook)\
**Post date:** [November 9, 2015, 5:32pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/11 "2015-11-09T17:32:31Z")

</div>

Can you put up a short tut on how to get the z levels editing please? (for the v2)  
I’ve tried prolly a dozen ways, and I still can’t manage it.

I just want to make a new 24x24 piece of map with connected z levels.

---

<div class="post-metadata">

**Author:** ![Jericoshost](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@Jericoshost](https://discourse.cataclysmdda.org/u/Jericoshost)\
**Post date:** [November 29, 2015, 11:42pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/12 "2015-11-29T23:42:04Z")

</div>

I made a map but it won’t load up or allow me to spawn it manually using the debug menu? I am using the stable version, should I be using experimental?

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [November 30, 2015, 7:33pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/13 "2015-11-30T19:33:40Z")

</div>

> [@Jericoshost](#):
>
> I made a map but it won’t load up or allow me to spawn it manually using the debug menu? I am using the stable version, should I be using experimental?

If you tried to make a brand new building (and not a new type of an existing building) you have to make an overmap\_terrain as well, and then edit the regional settings json to include the building. Right now the editor doesn’t support building the overmap\_terrain, but the future version will.

---

<div class="post-metadata">

**Author:** ![natsumehack](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/natsumehack/32/489_2.png) [@natsumehack](https://discourse.cataclysmdda.org/u/natsumehack)\
**Post date:** [December 7, 2015, 5:53am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/14 "2015-12-07T05:53:27Z")

</div>

I really can’t wait for tile set support, and such.

Good work so far on this Vache.

---

<div class="post-metadata">

**Author:** ![Born\_tobe\_Mild](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/born_tobe_mild/32/462_2.png) [@Born\_tobe\_Mild](https://discourse.cataclysmdda.org/u/Born_tobe_Mild)\
**Post date:** [January 5, 2016, 9:30pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/15 "2016-01-05T21:30:54Z")

</div>

Dude this thing is dope, I have been trying to get a building for my mod working with just the confusing as hell .Json files, this is a huge help!

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [January 7, 2016, 5:00pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/16 "2016-01-07T17:00:37Z")

</div>

Thanks, I should have a mostly fully featured version out soon. Been busy lately with holidays and moving, but finally getting settled down again.

---

<div class="post-metadata">

**Author:** ![Cagone](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cagone/32/543_2.png) [@Cagone](https://discourse.cataclysmdda.org/u/Cagone)\
**Post date:** [March 31, 2016, 10:33pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/17 "2016-03-31T22:33:42Z")

</div>

Thanks for your work, editing the .json is a pain.

---

<div class="post-metadata">

**Author:** ![T-RED](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@T-RED](https://discourse.cataclysmdda.org/u/T-RED)\
**Post date:** [June 13, 2016, 10:11am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/18 "2016-06-13T10:11:09Z")

</div>

@vache is this program still alive?

---

<div class="post-metadata">

**Author:** ![Richard\_Ralh](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@Richard\_Ralh](https://discourse.cataclysmdda.org/u/Richard_Ralh)\
**Post date:** [February 14, 2017, 12:02am UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/19 "2017-02-14T00:02:21Z")

</div>

Sorry if this is a redundant or silly question, after we finish editing our building and have the .json file it generates, what do we do to make it appear in game? What steps come after that? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [February 22, 2017, 3:04pm UTC](https://discourse.cataclysmdda.org/t/building-editor/10532/20 "2017-02-22T15:04:33Z")

</div>

> [@Richard Ralh](#):
>
> Sorry if this is a redundant or silly question, after we finish editing our building and have the .json file it generates, what do we do to make it appear in game? What steps come after that? Thanks in advance!

1. Put generated .json for new building to \data\json\mapgen.
2. Add ID of new building to \data\json\regional\_map\_settings.json using existing records as an example (only required for some building types).
3. Add one or more overmap\_terrain entries to \json\overmap\_specials.json using existing records as an example.
4. Add one or more overmap\_special entries to \json\overmap\_terrain.json using existing records as an example.

[Next page](https://discourse.cataclysmdda.org/t/building-editor/10532.md?page=2)
