# How do I make overmap specials/terrains that only show up in debug?

**URL:** https://discourse.cataclysmdda.org/t/how-do-i-make-overmap-specials-terrains-that-only-show-up-in-debug/29514
**Category:** The Lab
**Tags:** mod
**Created:** [November 12, 2024, 5:18am UTC](https://discourse.cataclysmdda.org/t/how-do-i-make-overmap-specials-terrains-that-only-show-up-in-debug/29514 "2024-11-12T05:18:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Amarin\_Reyny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/amarin_reyny/32/12396_2.png) [@Amarin\_Reyny](https://discourse.cataclysmdda.org/u/Amarin_Reyny)
#### Post date: [November 12, 2024, 5:18am UTC](https://discourse.cataclysmdda.org/t/how-do-i-make-overmap-specials-terrains-that-only-show-up-in-debug/29514/1 "2024-11-12T05:18:40Z")

</div>

Hello, everyone!

So, I just got back into CDDA, after over a year of not playing, and I’m trying to update a personal mod of mine that added in locations that don’t spawn automatically, but are available for manually placing via debug. The problem is, trying to do so is causing my game to immediately crash upon trying to place these locations, both via the overmap editor (placing in an unexplored square, of course) and via the map editor.

Given this, I’m thinking of just remaking them from scratch, using other overmap specials/terrains to guide me. However, those overmap specials/terrains are meant to spawn in during world generation, and given what I’ve already said, I obviously don’t want for that to happen.

Any help will be greatly appreciated. Thank you!

---

<div class="post-metadata">

### Author: ![Valiant](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valiant/32/4788_2.png) [@Valiant](https://discourse.cataclysmdda.org/u/Valiant)
#### Post date: [November 18, 2024, 12:15pm UTC](https://discourse.cataclysmdda.org/t/how-do-i-make-overmap-specials-terrains-that-only-show-up-in-debug/29514/2 "2024-11-18T12:15:49Z")

</div>

Just set the `occurrences` of you overmap special to `[0, 0]`, and it won’t spawn naturally, only through debug menu.  
Check `\data\json\overmap\overmap_special\bordered_world.json` for example of such OMS.

Overmap terrains won’t spawn in the world unless you assign them to some overmap special.

You can post here your problematic OMS and OMT and I’ll try to see what could be done.

---

<div class="post-metadata">

### Author: ![Amarin\_Reyny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/amarin_reyny/32/12396_2.png) [@Amarin\_Reyny](https://discourse.cataclysmdda.org/u/Amarin_Reyny)
#### Post date: [November 21, 2024, 9:58pm UTC](https://discourse.cataclysmdda.org/t/how-do-i-make-overmap-specials-terrains-that-only-show-up-in-debug/29514/3 "2024-11-21T21:58:14Z")

</div>

Thank you for letting me know!
