# Need help with building creation

**URL:** https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712
**Category:** The Lab
**Created:** [April 16, 2016, 11:09am UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712 "2016-04-16T11:09:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Osobist](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@Osobist](https://discourse.cataclysmdda.org/u/Osobist)
#### Post date: [April 16, 2016, 11:09am UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712/1 "2016-04-16T11:09:33Z")

</div>

Hello. Right now I’m trying to add new building with basement. I’ve checked how it works in other mods, so in blueprint everything seems fine but when I’m trying to go down in game, it shows me debug message.

 ![](http://cs630930.vk.me/v630930369/28cf4/gWWHCA3mfuc.jpg)

It’s possible only to jump into generated basement and it completely empty with no sign of added content.

What I’m doing wrong?

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [April 16, 2016, 11:33am UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712/2 "2016-04-16T11:33:58Z")

</div>

code.

you doing code wrong.  
post it

specifically its map portions

---

<div class="post-metadata">

### Author: ![Osobist](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@Osobist](https://discourse.cataclysmdda.org/u/Osobist)
#### Post date: [April 16, 2016, 11:45am UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712/3 "2016-04-16T11:45:06Z")

</div>

Here it is. For now I’m using vanilla buildings for example, almost no customising at all.

[spoiler][  
{  
“type” : “overmap\_terrain”,  
“id” : “p\_laundromat”,  
“name” : “laundromat”,  
“rotate” : true,  
“sym” : [94, 62, 118, 60],  
“color” : “white\_white”,  
“see\_cost” : 5,  
“extras” : “build”,  
“mondensity” : 2,  
“sidewalk” : true,  
“mapgen”: [ {  
“method”: “json”,  
“weight”: 800,  
“object”: {  
“rows”: [  
“ssssssssssssssssssssssss”,  
“ssssssssssssssssssssssss”,  
“ssssssssssssssssssssssss”,  
“ssssssssssssssssssssssss”,  
"_|===========-[[-===|__",  
"|^…^…^…|",  
"|t…#…\>…&|",  
"|C.ct…D|",  
"|ttt#…rrrr…D|",  
"|WWWWWWWWWWWt…D|**",  
"|…D|%**",  
"|WWWWWWWWWWWt…D|%",  
"|…D|",  
"|WWWWWWWWWWWt…D|",  
"|t…D|",  
"|c…DDD####t…D|",  
"|c…-------…|–|",  
"|c…WWWWWWWt…|lS|",  
"|6…+lT|",  
"|6…rrrrrrrr…|–|",  
"|V…rrrrrrrr…|\>S|",  
"|V…+lT|",  
"|------------+±-----|_",  
"\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\__"  
],  
“terrain”: {  
"_": “t\_pavement”,  
"%": “t\_pavement”,  
".": “t\_linoleum\_white”,  
"-": “t\_wall”,  
"=": “t\_wall\_glass”,  
"|": “t\_wall”,  
"[": “t\_door\_glass\_c”,  
"+": “t\_door\_c”,  
“l”: “t\_linoleum\_gray”,  
"]": “t\_floor”,  
“r”: “t\_floor”,  
“W”: “t\_floor”,  
“D”: “t\_floor”,  
“6”: “t\_floor”,  
"#": “t\_floor”,  
“c”: “t\_floor”,  
“V”: “t\_floor”,  
“t”: “t\_floor”,  
"&": “t\_floor”,  
“s”: “t\_sidewalk”,  
“C”: “t\_console\_broken”,  
“A”: “t\_atm”,  
"^": “t\_linoleum\_white”,  
“S”: “t\_linoleum\_white”,  
“y”: “t\_linoleum\_white”,  
"~": “t\_linoleum\_white”,  
“T”: “t\_linoleum\_white”,  
“w”: “t\_linoleum\_white”,  
"\>": “t\_stairs\_down”  
},  
“furniture”: {  
“W”: “f\_washer”,  
“6”: “f\_arcade\_machine”,  
“V”: “f\_vending\_c”,  
“c”: “f\_chair”,  
“D”: “f\_dryer”,  
“T”: “f\_toilet”,  
“S”: “f\_sink”,  
"^": “f\_indoor\_plant”,  
“t”: “f\_table”,  
“r”: “f\_rack”,  
"%": “f\_trashcan”,  
"&": “f\_trashcan”,  
"#": “f\_counter”  
},  
“toilets”: {  
“T”: { }  
},  
“place\_vehicles”: [  
{ “vehicle”: “shopping\_cart”, “chance”: 10, “x”: 14, “y”: 9 },  
{ “vehicle”: “shopping\_cart”, “chance”: 10, “x”: 14, “y”: 13 },  
{ “vehicle”: “shopping\_cart”, “chance”: 10, “x”: 15, “y”: 12 },  
{ “vehicle”: “shopping\_cart”, “chance”: 10, “x”: 17, “y”: 18 },  
{ “vehicle”: “shopping\_cart”, “chance”: 10, “x”: 17, “y”: 21 }  
],  
“place\_items”: [  
{ “item”: “trash”, “chance”: 80, “x”: 19, “y”: 6},  
{ “item”: “behindcounter”, “chance”: 60, “x”: 4, “y”: 8},  
{ “item”: “laundry”, “chance”: 60, “x”: [2,13], “y”: 9, “repeat”: [1,2] },  
{ “item”: “laundry”, “chance”: 60, “x”: 19, “y”: [7,15], “repeat”: [1,2] },  
{ “item”: “laundry”, “chance”: 60, “x”: [2,13], “y”: 11, “repeat”: [1,2] },  
{ “item”: “laundry”, “chance”: 60, “x”: [2,13], “y”: 13, “repeat”: [1,2] },  
{ “item”: “laundry”, “chance”: 60, “x”: [6,12], “y”: 17, “repeat”: [1,2] },  
{ “item”: “magazines”, “chance”: 60, “x”: [12,13], “y”: 8, “repeat”: [1,2] },  
{ “item”: “snacks”, “chance”: 60, “x”: [10,11], “y”: 8, “repeat”: [1,2] },  
{ “item”: “laundromat\_containers”, “chance”: 60, “x”: [9,12], “y”: 15, “repeat”: [1,2] },  
{ “item”: “laundromat\_bleach”, “chance”: 30, “x”: [6,12], “y”: [19,20], “repeat”: [4,8] },  
{ “item”: “vending\_drink”, “chance”: 75, “x”: 2, “y”: 20 },  
{ “item”: “vending\_food”, “chance”: 75, “x”: 2, “y”: 21 }  
]  
}  
}  
]  
},  
{  
“type” : “overmap\_terrain”,  
“id” : “p\_laundromat\_basement”,  
“name” : “basement”,  
“rotate”: true,  
“sym” : 79,  
“color” : “dark\_gray”,  
“see\_cost” : 5,  
“mondensity” : 2  
},{  
“type”: “mapgen”,  
“om\_terrain”: [  
“p\_laundromat\_basement”  
],  
“method”: “json”,  
“weight”: 0,  
“object”: {  
“rows”: [  
" -------------------- “,  
” |…| “,  
” |…{{{{{{{{{{{{{{…| “,  
” |…| “,  
” |…| “,  
” |…{{{{{{{{{{{{{{…| “,  
” |…| “,  
” |…| “,  
” |…| “,  
” |…|—±–| “,  
” |…|]…| “,  
” |###s##|-±|]…#| “,  
” |…+…h.#| “,  
” |\<…|…####| “,  
” ------------- “,  
” “,  
” “,  
” “,  
” “,  
” “,  
” “,  
” “,  
” “,  
” “  
],  
“fill\_ter”: “t\_rock”,  
“terrain”: {  
”|": “t\_wall”,  
"-": “t\_wall”,  
"\<": “t\_stairs\_up”,  
"+": “t\_door\_c”,  
".": “t\_rock\_floor”,  
"#": “t\_rock\_floor”,  
"{": “t\_rock\_floor”,  
“h”: “t\_rock\_floor”,  
"]": “t\_rock\_floor”,  
“s”: “t\_rock\_floor”  
},  
“furniture”: {  
"#": “f\_counter”,  
"{": “f\_rack”,  
“h”: “f\_chair”,  
"]": “f\_bookcase”,  
“s”: “f\_gunsafe\_ml”  
},  
“place\_monsters”: [  
{ “monster”: “GROUP\_PREPPER\_HOUSE”, “x”: [3, 20], “y”: [1, 8], “chance”: 2 },  
{ “monster”: “GROUP\_PREPPER\_HOUSE”, “x”: [14, 20], “y”: [10, 13], “chance”: 4 }  
],  
“place\_loot”: [  
{ “group”: “guns\_smg\_rare”, “chance”: 20, “x”: 6, “y”: 2, “magazine”: 100 },  
{ “group”: “guns\_rifle\_rare”, “chance”: 30, “x”: 7, “y”: 2, “magazine”: 100 },  
{ “group”: “mags\_pistol\_rare”, “chance”: 75, “x”: 8, “y”: 2 },  
{ “group”: “guns\_pistol\_common”, “chance”: 90, “x”: 9, “y”: 2, “magazine”: 100 },  
{ “group”: “mags\_pistol\_common”, “chance”: 100, “x”: 10, “y”: 2, “repeat”: [1,3] },  
{ “group”: “guns\_rifle\_common”, “chance”: 80, “x”: 11, “y”: 2, “magazine”: 100 },  
{ “group”: “guns\_shotgun\_common”, “chance”: 80, “x”: 12, “y”: 2, “magazine”: 100 },  
{ “group”: “mags\_rifle\_common”, “chance”: 100, “x”: 13, “y”: 2, “repeat”: [1,3] },  
{ “group”: “guns\_smg\_common”, “chance”: 70, “x”: 14, “y”: 2, “magazine”: 100 },  
{ “group”: “guns\_pistol\_rare”, “chance”: 40, “x”: 15, “y”: 2, “magazine”: 100 },  
{ “group”: “mags\_smg\_common”, “chance”: 70, “x”: 16, “y”: 2, “repeat”: [1,2] },  
{ “group”: “guns\_shotgun\_rare”, “chance”: 30, “x”: 17, “y”: 2, “magazine”: 100 },  
{ “group”: “ammo\_shotgun\_reloaded”, “chance”: 90, “x”: 6, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_rifle\_reloaded”, “chance”: 90, “x”: 7, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_shotgun\_common”, “chance”: 40, “x”: 8, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_pistol\_reloaded”, “chance”: 90, “x”: 9, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_rifle\_reloaded”, “chance”: 40, “x”: 10, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_rifle\_common”, “chance”: 90, “x”: 11, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_smg\_common”, “chance”: 40, “x”: 12, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_pistol\_common”, “chance”: 90, “x”: 13, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_rifle\_common”, “chance”: 40, “x”: 14, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_pistol\_common”, “chance”: 40, “x”: 15, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_pistol\_reloaded”, “chance”: 40, “x”: 16, “y”: 5, “repeat”: [1,2] },  
{ “group”: “ammo\_shotgun\_common”, “chance”: 90, “x”: 17, “y”: 5, “repeat”: [1,2] },  
{ “group”: “book\_gunref”, “chance”: 60, “x”: 14, “y”: [10,11] },  
{ “group”: “gunmod\_common”, “chance”: 100, “x”: 4, “y”: 11 },  
{ “group”: “guns\_obscure”, “chance”: 100, “x”: 6, “y”: 11, “magazine”: 100, “ammo”: 100 },  
{ “group”: “tools\_common”, “chance”: 100, “x”: 20, “y”: 12 },  
{ “group”: “gunmod\_rare”, “chance”: 30, “x”: 18, “y”: 13 },  
{ “group”: “gunmod\_rare”, “chance”: 100, “x”: 19, “y”: 13 }  
]  
}  
},  
{  
“type” : “overmap\_special”,  
“id” : “p\_paydayganglair”,  
“overmaps” :  
[  
{ “point”:[0,0,0], “overmap”: “p\_laundromat\_north”, “connect”:“road” },  
{ “point”:[0,0,-1], “overmap”: “p\_laundromat\_basement\_north” }  
],  
“locations” : [“by\_hiway”],  
“city\_distance” : [-1, 2],  
“city\_sizes” : [1, 12],  
“occurrences” : [20, 50],  
“rotate” : true,  
“flags” : [“CLASSIC”]

```
}

```

]  
[/spoiler]

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [April 16, 2016, 12:23pm UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712/4 "2016-04-16T12:23:31Z")

</div>

Why does the basement rotate?

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [April 16, 2016, 12:30pm UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712/5 "2016-04-16T12:30:46Z")

</div>

Youve crossed methods of making the OM.

You have the

{  
“type” : “overmap\_terrain”,  
“id” : “p\_laundromat”,  
“name” : “laundromat”,  
“rotate” : true,  
“sym” : [94, 62, 118, 60],  
“color” : “white\_white”,  
“see\_cost” : 5,  
“extras” : “build”,  
“mondensity” : 2,  
“sidewalk” : true,  
“mapgen”: [ {  
“method”: “json”,  
“weight”: 800,  
“object”: {  
“rows”: [

method here

and then

{  
“type” : “overmap\_terrain”,  
“id” : “p\_laundromat\_basement”,  
“name” : “basement”,  
“rotate”: true,  
“sym” : 79,  
“color” : “dark\_gray”,  
“see\_cost” : 5,  
“mondensity” : 2  
},

here. Id start by making only one style of defining the data, and Id try making both buildings either style.

---

<div class="post-metadata">

### Author: ![Osobist](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@Osobist](https://discourse.cataclysmdda.org/u/Osobist)
#### Post date: [April 16, 2016, 3:36pm UTC](https://discourse.cataclysmdda.org/t/need-help-with-building-creation/11712/6 "2016-04-16T15:36:53Z")

</div>

Cleaned up the code, everything fine. Thanks!
