# Military locations?

**URL:** <https://discourse.cataclysmdda.org/t/military-locations/11617>\
**Category:** The Toolbox\
**Created:** [March 27, 2016, 7:51am UTC](https://discourse.cataclysmdda.org/t/military-locations/11617 "2016-03-27T07:51:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Genn\_Faol](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/genn_faol/32/8018_2.png) [@Genn\_Faol](https://discourse.cataclysmdda.org/u/Genn_Faol)\
**Post date:** [March 27, 2016, 7:51am UTC](https://discourse.cataclysmdda.org/t/military-locations/11617/1 "2016-03-27T07:51:35Z")

</div>

Hey. Maybe this is a noob question, but searching the forum and the repository did not help me. I’m looking for the files that determine the loot in locations like the military camp and the military bunker and the likes? I’ve found the item groups, obviously, but I can not find a mapgen file that assigns things to the military locations. If anyone could tell me which files they are (even if they’re in the exe file and need to be changed there), I’d very much appreciate it.

---

<div class="post-metadata">

**Author:** ![Litppunk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/litppunk/32/409_2.png) [@Litppunk](https://discourse.cataclysmdda.org/u/Litppunk)\
**Post date:** [March 27, 2016, 4:43pm UTC](https://discourse.cataclysmdda.org/t/military-locations/11617/2 "2016-03-27T16:43:30Z")

</div>

there should be some .jsons or something in the map gen files I think… I’ve not messed around with any of that so I can’t say for certain, but a good place to start. Decent coding programs should have a search code function of some sort, “military” should get you close. I think…

---

<div class="post-metadata">

**Author:** ![Genn\_Faol](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/genn_faol/32/8018_2.png) [@Genn\_Faol](https://discourse.cataclysmdda.org/u/Genn_Faol)\
**Post date:** [March 27, 2016, 4:53pm UTC](https://discourse.cataclysmdda.org/t/military-locations/11617/3 "2016-03-27T16:53:40Z")

</div>

> [@Litppunk](#):
>
> there should be some .jsons or something in the map gen files I think… I’ve not messed around with any of that so I can’t say for certain, but a good place to start. Decent coding programs should have a search code function of some sort, “military” should get you close. I think…

Unfortunately, there are no files in mapgen that contain either military locations, or stuff like the police stations and prisons. I don’t know where they are, but they’re not in mapgen.

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [March 27, 2016, 8:20pm UTC](https://discourse.cataclysmdda.org/t/military-locations/11617/4 "2016-03-27T20:20:11Z")

</div>

Bunker and outpost are currently hardcoded in mapgen.cpp

---

<div class="post-metadata">

**Author:** ![Genn\_Faol](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/genn_faol/32/8018_2.png) [@Genn\_Faol](https://discourse.cataclysmdda.org/u/Genn_Faol)\
**Post date:** [March 27, 2016, 8:58pm UTC](https://discourse.cataclysmdda.org/t/military-locations/11617/5 "2016-03-27T20:58:54Z")

</div>

> [@Coolthulhu](#):
>
> Bunker and outpost are currently hardcoded in mapgen.cpp

Ah… is that planned to change? Like, are the mapgen json files ‘new’ and the mapgen.ccp the ‘old’ way, but things aren’t fully switched over yet?

---

<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:** [March 29, 2016, 6:20pm UTC](https://discourse.cataclysmdda.org/t/military-locations/11617/6 "2016-03-29T18:20:25Z")

</div>

A lot of the locations that were hardcoded have been pulled out. I don’t think it is planned for it to change, but there’s a good chance somebody will pick it up again at some point.
