# Spawning a custom vehicle with the debug menu

**URL:** <https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339>\
**Category:** The Bunker\
**Created:** [February 1, 2016, 6:11pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339 "2016-02-01T18:11:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethanwdp](https://avatars.discourse-cdn.com/v4/letter/e/d78d45/32.png) [@ethanwdp](https://discourse.cataclysmdda.org/u/ethanwdp)\
**Post date:** [February 1, 2016, 6:11pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339/1 "2016-02-01T18:11:35Z")

</div>

I made a flamethrowing tank, and I wanted an army of them, just for fun.

The problem? I would need to spawn them to amass an army. And to spawn them, I need to use the debug menu. To spawn a vehicle with the debug menu, I need to define the vehicle. To define the vehicle I need to make/edit a json file with vehicle definitions.

The problem? To define a vehicle via json I needed to manually define every part, every part location, every stored item, etc.

I don’t really know where this would go, so I might as well post it here and hope I don’t get banned. Anyways, are there any known tricks to defining a vehicle? Some kind of debug option, save editing voodoo, etc?

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [February 1, 2016, 6:13pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339/2 "2016-02-01T18:13:58Z")

</div>

When defining a vehicle, I use an existing one as a template and edit its json file as needed.

---

<div class="post-metadata">

**Author:** ![hobophobic](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/hobophobic/32/11698_2.png) [@hobophobic](https://discourse.cataclysmdda.org/u/hobophobic)\
**Post date:** [February 1, 2016, 7:09pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339/3 "2016-02-01T19:09:58Z")

</div>

Why on earth would you get banned for posting this?

---

<div class="post-metadata">

**Author:** ![ethanwdp](https://avatars.discourse-cdn.com/v4/letter/e/d78d45/32.png) [@ethanwdp](https://discourse.cataclysmdda.org/u/ethanwdp)\
**Post date:** [February 1, 2016, 7:46pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339/4 "2016-02-01T19:46:18Z")

</div>

> [@hobophobic](#):
>
> Why on earth would you get banned for posting this?

Some forums are run tighter than the Third Reich. I’m new here, so I’m not sure if legions of angry people will insult me over the internet.

---

<div class="post-metadata">

**Author:** ![hobophobic](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/hobophobic/32/11698_2.png) [@hobophobic](https://discourse.cataclysmdda.org/u/hobophobic)\
**Post date:** [February 1, 2016, 11:06pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339/5 "2016-02-01T23:06:59Z")

</div>

Nah, this sort of tinkering and experimentation is very much supported and encouraged here.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [February 1, 2016, 11:22pm UTC](https://discourse.cataclysmdda.org/t/spawning-a-custom-vehicle-with-the-debug-menu/11339/6 "2016-02-01T23:22:05Z")

</div>

Aye, it’s fine. At worst this might get moved to the toolbox subforum since this is a “code help” thing, but still. Looking at a pre-exisiting vehicle is your best bet. Hell, I think my tanks started off from editing the APCs. That was how the Merkavah-style “entry hatch in the back” idea started, which wound up being the easiest layout for representing a tank in 2D.
