# The Toolbox

**URL:** https://discourse.cataclysmdda.org/c/game-talk/the-toolbox/21.md?page=8

[Latest](https://discourse.cataclysmdda.org/latest.md) · [Categories](https://discourse.cataclysmdda.org/categories.md) · [Tags](https://discourse.cataclysmdda.org/tags.md)

**Page:** 9

---

## [Splitting up .cpp files for faster dev build turnaround times?](https://discourse.cataclysmdda.org/t/splitting-up-cpp-files-for-faster-dev-build-turnaround-times/20400)

<div class="topic-metadata">

**Author:** [@tourist](https://discourse.cataclysmdda.org/u/tourist)\
**Replies:** 1\
**Last updated:** [June 16, 2019, 3:46pm UTC](https://discourse.cataclysmdda.org/t/splitting-up-cpp-files-for-faster-dev-build-turnaround-times/20400 "2019-06-16T15:46:31Z")

</div>

How’s the mood for splitting big .cpp files into smaller units? Say, for more granularity in compilation which cuts down development build loops, and may help overall build times if it helps parallelize. So I was hackin…

---

## [How is vehicle data per vehicle saved](https://discourse.cataclysmdda.org/t/how-is-vehicle-data-per-vehicle-saved/16467)

<div class="topic-metadata">

**Author:** [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)\
**Replies:** 5\
**Last updated:** [June 16, 2019, 1:57am UTC](https://discourse.cataclysmdda.org/t/how-is-vehicle-data-per-vehicle-saved/16467 "2019-06-16T01:57:12Z")

</div>

EDIT: Forget about this thread. I came to a wrong conclusion. How and where is vehicle data saved? I try to find a solution for a bug which removed a modified vehicle. I found out that “remembered” vehicles are listed…

---

## [Advice on creating a unique wandering horde?](https://discourse.cataclysmdda.org/t/advice-on-creating-a-unique-wandering-horde/20261)

<div class="topic-metadata">

**Author:** [@ericlimer](https://discourse.cataclysmdda.org/u/ericlimer)\
**Replies:** 0\
**Last updated:** [June 5, 2019, 3:05pm UTC](https://discourse.cataclysmdda.org/t/advice-on-creating-a-unique-wandering-horde/20261 "2019-06-05T15:05:37Z")

</div>

So I’m trying to mod in a game mode that is basically just like the movie “It Follows”, where a specific special zombie/horde is perpetually hunting down the player such that, in order to stay alive, you either have to k…

---

## [How does MGOAL\_FIND\_ITEM\_GROUP work?](https://discourse.cataclysmdda.org/t/how-does-mgoal-find-item-group-work/20250)

<div class="topic-metadata">

**Author:** [@faefux](https://discourse.cataclysmdda.org/u/faefux)\
**Replies:** 0\
**Last updated:** [June 5, 2019, 12:29am UTC](https://discourse.cataclysmdda.org/t/how-does-mgoal-find-item-group-work/20250 "2019-06-05T00:29:42Z")

</div>

Hey, I tried to add an MGOAL\_FIND\_ITEM\_GROUP mission, i created an item group of different meds but i couldn’t get it working. Feel like i’m being dense. Can someone spell this out for me or give me an example?

---

## [To Jsonize Mycus Mutations](https://discourse.cataclysmdda.org/t/to-jsonize-mycus-mutations/20213)

<div class="topic-metadata">

**Author:** [@Eirenex](https://discourse.cataclysmdda.org/u/Eirenex)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 11:41am UTC](https://discourse.cataclysmdda.org/t/to-jsonize-mycus-mutations/20213 "2019-05-31T11:41:38Z")

</div>

Hey there! I have been a great a fan of making mutations back then, but i did ran into some walls sadly. (though that was many months ago too) I think that it is still a issue however. : Some Mycus mutation still use …

---

## [Region\_overlay for field\_coverage. How should it work?](https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178)

<div class="topic-metadata">

**Author:** [@Hirmuolio](https://discourse.cataclysmdda.org/u/Hirmuolio)\
**Replies:** 2\
**Last updated:** [May 28, 2019, 10:02am UTC](https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178 "2019-05-28T10:02:40Z")

</div>

I decided to try to make a mod that has a bit different looking region. Step 1 is to change how fields look. I decided to try to do this with region\_overlay. First test: https://pastebin.com/yCqXSAmK This is just the …

---

## [Saving cells as prefabs(I custom built a multi-tile base in game and am looking to add it to buildings/specials list)](https://discourse.cataclysmdda.org/t/saving-cells-as-prefabs-i-custom-built-a-multi-tile-base-in-game-and-am-looking-to-add-it-to-buildings-specials-list/20080)

<div class="topic-metadata">

**Author:** [@Bobdole44](https://discourse.cataclysmdda.org/u/Bobdole44)\
**Replies:** 16\
**Last updated:** [May 28, 2019, 6:15am UTC](https://discourse.cataclysmdda.org/t/saving-cells-as-prefabs-i-custom-built-a-multi-tile-base-in-game-and-am-looking-to-add-it-to-buildings-specials-list/20080 "2019-05-28T06:15:49Z")

</div>

Like the headline says I’ve custom build a complex that spans multiple cells in an older experimental and want to be able to call it to place it as a special from the over map debug menu into a newer version to keep work…

---

## [Getting error upon building CDDA](https://discourse.cataclysmdda.org/t/getting-error-upon-building-cdda/20146)

<div class="topic-metadata">

**Author:** [@bananaedmonkey](https://discourse.cataclysmdda.org/u/bananaedmonkey)\
**Replies:** 3\
**Last updated:** [May 24, 2019, 3:05pm UTC](https://discourse.cataclysmdda.org/t/getting-error-upon-building-cdda/20146 "2019-05-24T15:05:55Z")

</div>

I have been trying to compile CDDA for the last couple hours, I am stuck on this error. HEAP\[Cataclysm-vcpkg-Debug-x64.exe\]: Invalid address specified to RtlValidateHeap( 00000198F47A0000, 00000198FC426F30 ) It is thro…

---

## [Underground map generation, how does it work?](https://discourse.cataclysmdda.org/t/underground-map-generation-how-does-it-work/20093)

<div class="topic-metadata">

**Author:** [@LordSunder](https://discourse.cataclysmdda.org/u/LordSunder)\
**Replies:** 5\
**Last updated:** [May 18, 2019, 2:36am UTC](https://discourse.cataclysmdda.org/t/underground-map-generation-how-does-it-work/20093 "2019-05-18T02:36:58Z")

</div>

Disclaimer: No, I’m not asking to add ores and such to the game. I know that’s not in the cards. I was looking into the possibility of adding patches underground dirt to the upper Z levels, so we don’t just have an endl…

---

## [Problem with Map rotation while modding](https://discourse.cataclysmdda.org/t/problem-with-map-rotation-while-modding/20077)

<div class="topic-metadata">

**Author:** [@VinnysH](https://discourse.cataclysmdda.org/u/VinnysH)\
**Replies:** 3\
**Last updated:** [May 17, 2019, 2:08pm UTC](https://discourse.cataclysmdda.org/t/problem-with-map-rotation-while-modding/20077 "2019-05-17T14:08:48Z")

</div>

So , i’ve been modding cataclysm and i added a motorcycle club thing to the mapgen The thing is that sometimes it spawns the way i want , and sometimes it doesn’t (it has to do with map rotation). The way i want it to …

---

## [Adding protectron robots from fallout mod](https://discourse.cataclysmdda.org/t/adding-protectron-robots-from-fallout-mod/20067)

<div class="topic-metadata">

**Author:** [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Replies:** 0\
**Last updated:** [May 14, 2019, 2:31pm UTC](https://discourse.cataclysmdda.org/t/adding-protectron-robots-from-fallout-mod/20067 "2019-05-14T14:31:12Z")

</div>

Does anyone know how I would put the protectrons from the fallout mod in their own mod? I’ve had a look in the mods folder and it looks like there are a few files that refer to them, so I don’t know if I would need to c…

---

## [A Mod idea. (Needed help)](https://discourse.cataclysmdda.org/t/a-mod-idea-needed-help/20028)

<div class="topic-metadata">

**Author:** [@Vinicius](https://discourse.cataclysmdda.org/u/Vinicius)\
**Replies:** 4\
**Last updated:** [May 11, 2019, 6:49pm UTC](https://discourse.cataclysmdda.org/t/a-mod-idea-needed-help/20028 "2019-05-11T18:49:09Z")

</div>

I want to create a weapon but it’ll be wearable. So you guys can help how to create. I already know how to make things in the game (I’m actually working on a mod and it’ll add 20+ guns, armors and new ammo types). So I w…

---

## [What happened to the ftp page of releases?](https://discourse.cataclysmdda.org/t/what-happened-to-the-ftp-page-of-releases/19997)

<div class="topic-metadata">

**Author:** [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 6:39am UTC](https://discourse.cataclysmdda.org/t/what-happened-to-the-ftp-page-of-releases/19997 "2019-05-08T06:39:02Z")

</div>

Used to be able to download “latest” releases more often, and since the latest one I d/l off the site seems to have a crazy amount of damage from body parts being “too warm”, which is apparently over 20 … I would love to…

---

## [How to set temperature in test cases?](https://discourse.cataclysmdda.org/t/how-to-set-temperature-in-test-cases/19988)

<div class="topic-metadata">

**Author:** [@Hirmuolio](https://discourse.cataclysmdda.org/u/Hirmuolio)\
**Replies:** 0\
**Last updated:** [May 6, 2019, 2:22pm UTC](https://discourse.cataclysmdda.org/t/how-to-set-temperature-in-test-cases/19988 "2019-05-06T14:22:04Z")

</div>

g-\>get\_temperature( pos ) always returns 0 in the tests. I have tried g-\>m.set\_temperature( pos, 20 ), g-\>m.temperature( pos ) = 20 and g-\>temperature = 20. They don’t seem to change anything. I am going to remove the …

---

## [Creating a weapon that shoots anything](https://discourse.cataclysmdda.org/t/creating-a-weapon-that-shoots-anything/19826)

<div class="topic-metadata">

**Author:** [@Jormungandr](https://discourse.cataclysmdda.org/u/Jormungandr)\
**Replies:** 10\
**Last updated:** [May 5, 2019, 3:03am UTC](https://discourse.cataclysmdda.org/t/creating-a-weapon-that-shoots-anything/19826 "2019-05-05T03:03:06Z")

</div>

Hello everyone. I’m new here to the forum but not new to Cataclysm nor messing around with the JSON files within it. I’m in the middle of making a cool little mod pack for everyone using some stuff I made for myself and …

---

## [.50 AE The "found" caliber](https://discourse.cataclysmdda.org/t/50-ae-the-found-caliber/19734)

<div class="topic-metadata">

**Author:** [@Vinicius](https://discourse.cataclysmdda.org/u/Vinicius)\
**Replies:** 14\
**Last updated:** [April 21, 2019, 12:20am UTC](https://discourse.cataclysmdda.org/t/50-ae-the-found-caliber/19734 "2019-04-21T00:20:19Z")

</div>

Hello guys. I’m new in this Community, and I noticed that don’t have the .50 AE. wiki So you guys can add in the game or send to me the file with the codes. Or teach me how to do itself. For example: was thinking of…

---

## [Help with location spawns](https://discourse.cataclysmdda.org/t/help-with-location-spawns/19674)

<div class="topic-metadata">

**Author:** [@Heartwawy](https://discourse.cataclysmdda.org/u/Heartwawy)\
**Replies:** 3\
**Last updated:** [April 14, 2019, 2:08pm UTC](https://discourse.cataclysmdda.org/t/help-with-location-spawns/19674 "2019-04-14T14:08:53Z")

</div>

I have never seen a municipal reactor throughout all my playthroughs due to my extensive modding list. How do I increase the frequency of its spawn?

---

## [Help with scenario starts](https://discourse.cataclysmdda.org/t/help-with-scenario-starts/19644)

<div class="topic-metadata">

**Author:** [@Heartwawy](https://discourse.cataclysmdda.org/u/Heartwawy)\
**Replies:** 3\
**Last updated:** [April 12, 2019, 10:45am UTC](https://discourse.cataclysmdda.org/t/help-with-scenario-starts/19644 "2019-04-12T10:45:47Z")

</div>

I’m trying to add the surface of the new research lab as a choice in the chargen location select for casual gameplay. I’m adding the ID code lab\_surface\_big to the locations list, but it won’t work. Where should I look?

---

## [How does aggression work?](https://discourse.cataclysmdda.org/t/how-does-aggression-work/19608)

<div class="topic-metadata">

**Author:** [@Heartwawy](https://discourse.cataclysmdda.org/u/Heartwawy)\
**Replies:** 4\
**Last updated:** [April 10, 2019, 1:53am UTC](https://discourse.cataclysmdda.org/t/how-does-aggression-work/19608 "2019-04-10T01:53:27Z")

</div>

Specifically, what values make a creature flee when injured and become neutral after some time has passed?

---

## [Creating new Overmap spots](https://discourse.cataclysmdda.org/t/creating-new-overmap-spots/19529)

<div class="topic-metadata">

**Author:** [@Trivega](https://discourse.cataclysmdda.org/u/Trivega)\
**Replies:** 3\
**Last updated:** [April 5, 2019, 10:59am UTC](https://discourse.cataclysmdda.org/t/creating-new-overmap-spots/19529 "2019-04-05T10:59:12Z")

</div>

Is it possible to create a new overmap location within the json files? For example, with a mod I’m making, I want to create a special type of anthill, but can’t work out how. I’m not actually changing anything about the …

---

## [Understanding making 2 story buildings](https://discourse.cataclysmdda.org/t/understanding-making-2-story-buildings/19467)

<div class="topic-metadata">

**Author:** [@dessometrics](https://discourse.cataclysmdda.org/u/dessometrics)\
**Replies:** 1\
**Last updated:** [March 30, 2019, 8:39pm UTC](https://discourse.cataclysmdda.org/t/understanding-making-2-story-buildings/19467 "2019-03-30T20:39:47Z")

</div>

So i have been reading up on all of the beginner Json info for buildings and I don’t really understand how you define something as the second floor of something. Can someone give me a bit more info or where I can go to f…

---

## [NPC Dialogue Functions](https://discourse.cataclysmdda.org/t/npc-dialogue-functions/19344)

<div class="topic-metadata">

**Author:** [@zolmir](https://discourse.cataclysmdda.org/u/zolmir)\
**Replies:** 6\
**Last updated:** [March 30, 2019, 1:09am UTC](https://discourse.cataclysmdda.org/t/npc-dialogue-functions/19344 "2019-03-30T01:09:32Z")

</div>

Hey people, I just became aware that NPC conversations have been moved to JSON files, which encouraged me to try my hand at introducing some new content. I have been unable to figure out how to do a couple of things whi…

---

## [Are starting traits hardcoded?](https://discourse.cataclysmdda.org/t/are-starting-traits-hardcoded/19450)

<div class="topic-metadata">

**Author:** [@crazykiddeath](https://discourse.cataclysmdda.org/u/crazykiddeath)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 11:22am UTC](https://discourse.cataclysmdda.org/t/are-starting-traits-hardcoded/19450 "2019-03-29T11:22:25Z")

</div>

I was thinking about having a stab at creating some new starting traits but I’m struggling to find any documentation on how to do it, are they hardcoded or is the JSON file for them just a bit more obscure then other JSO…

---

## [Mutations/Traits that give effects](https://discourse.cataclysmdda.org/t/mutations-traits-that-give-effects/19411)

<div class="topic-metadata">

**Author:** [@Trivega](https://discourse.cataclysmdda.org/u/Trivega)\
**Replies:** 4\
**Last updated:** [March 28, 2019, 3:06pm UTC](https://discourse.cataclysmdda.org/t/mutations-traits-that-give-effects/19411 "2019-03-28T15:06:10Z")

</div>

Is it possible to create a mutation that comes with an effect or causes one? Can’t seem to work out how I would go about do so. I’m working on some new scenarios, and the idea would be you start off with these effects. H…

---

## [Is there an easy way to remove the "FILTHY" flag from all zombies?](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376)

<div class="topic-metadata">

**Author:** [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Replies:** 5\
**Last updated:** [March 25, 2019, 3:21am UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376 "2019-03-25T03:21:00Z")

</div>

Title. I know that in the Zombie Nightvision mod and some other obsolete mods, “monster\_adjustment” is used to make an adjustment to everything with the “ZOMBIE” species. Can that be used to remove the “FILTHY” flag, is …

---

## [\[Dev\] Compilation failing on Windows if \`BACKTRACE\` is defined](https://discourse.cataclysmdda.org/t/dev-compilation-failing-on-windows-if-backtrace-is-defined/19343)

<div class="topic-metadata">

**Author:** [@neitsa](https://discourse.cataclysmdda.org/u/neitsa)\
**Replies:** 8\
**Last updated:** [March 24, 2019, 3:54pm UTC](https://discourse.cataclysmdda.org/t/dev-compilation-failing-on-windows-if-backtrace-is-defined/19343 "2019-03-24T15:54:29Z")

</div>

Hi, Discovered the game a few weeks ago and I really enjoy it. I’d like to contribute to the game code, so I tried to compile the source. As I’d like to add some code around the backtrace / debugging code (which direct…

---

## [Help: Starting modding and projects](https://discourse.cataclysmdda.org/t/help-starting-modding-and-projects/19320)

<div class="topic-metadata">

**Author:** [@Mr.Denton](https://discourse.cataclysmdda.org/u/Mr.Denton)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 9:04am UTC](https://discourse.cataclysmdda.org/t/help-starting-modding-and-projects/19320 "2019-03-20T09:04:24Z")

</div>

I have some questions regreding modding, any help is appreciated 1: which program is good to design graphic elements with? And where to add the image file once done? - And what formats/pixels is normally used for good …

---

## [Help with software?](https://discourse.cataclysmdda.org/t/help-with-software/19294)

<div class="topic-metadata">

**Author:** [@Heartwawy](https://discourse.cataclysmdda.org/u/Heartwawy)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 8:36am UTC](https://discourse.cataclysmdda.org/t/help-with-software/19294 "2019-03-19T08:36:48Z")

</div>

I dunno where to post this, but I am having some technical issues with downloading mods. After my winrar trial expired, I deleted it to download my mods without having to extract them as rar files. However, they still sa…

---

## [Help with adding flags](https://discourse.cataclysmdda.org/t/help-with-adding-flags/19266)

<div class="topic-metadata">

**Author:** [@Heartwawy](https://discourse.cataclysmdda.org/u/Heartwawy)\
**Replies:** 0\
**Last updated:** [March 17, 2019, 5:30pm UTC](https://discourse.cataclysmdda.org/t/help-with-adding-flags/19266 "2019-03-17T17:30:23Z")

</div>

I’m trying to add the revives flag to every animal in the game. Do I need to write any other code beyond copy from and extends (ex. stats or harvest flags)? For example: { "id": "mon\_bear", "type": "MONSTER", …

---

## [How do i get rid of shady zombies and others who see in the dark](https://discourse.cataclysmdda.org/t/how-do-i-get-rid-of-shady-zombies-and-others-who-see-in-the-dark/19223)

<div class="topic-metadata">

**Author:** [@greg](https://discourse.cataclysmdda.org/u/greg)\
**Replies:** 3\
**Last updated:** [March 15, 2019, 12:04am UTC](https://discourse.cataclysmdda.org/t/how-do-i-get-rid-of-shady-zombies-and-others-who-see-in-the-dark/19223 "2019-03-15T00:04:41Z")

</div>

I just want to get rid of the ones that see in the dark, I don’t want to get rid of anything else. how would I do this. I don’t know anything about coding I just found this game a week ago.

[Previous page](https://discourse.cataclysmdda.org/c/game-talk/the-toolbox/21.md?page=7)

[Next page](https://discourse.cataclysmdda.org/c/game-talk/the-toolbox/21.md?page=9)
