# Is changing the antagonists possible?

**URL:** <https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343>\
**Category:** The Toolbox\
**Created:** [May 14, 2021, 10:45pm UTC](https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343 "2021-05-14T22:45:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DCHY](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dchy/32/10511_2.png) [@DCHY](https://discourse.cataclysmdda.org/u/DCHY)\
**Post date:** [May 14, 2021, 10:45pm UTC](https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343/1 "2021-05-14T22:45:14Z")

</div>

In my recent post about wasps, I touched on the topic of wasps reproduction, but after I had a thought-“what if there are so many wasps that they do not need to reproduce?”  
Can I change the lines of code to make wasps and zombies change positions? it would be interesting to survive in a world where your main enemy is not slow zombies but fast and agile wasps

---

<div class="post-metadata">

**Author:** ![BenJoneWert](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BenJoneWert](https://discourse.cataclysmdda.org/u/BenJoneWert)\
**Post date:** [May 14, 2021, 11:36pm UTC](https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343/2 "2021-05-14T23:36:53Z")

</div>

当然是可能的，目前有一个模组为“亡者暗日”，所有的丧尸都被替换为普通丧尸，可以参考。

---

<div class="post-metadata">

**Author:** ![DCHY](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dchy/32/10511_2.png) [@DCHY](https://discourse.cataclysmdda.org/u/DCHY)\
**Post date:** [May 14, 2021, 11:55pm UTC](https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343/3 "2021-05-14T23:55:49Z")

</div>

ok, thank yoIt’s worth a try, thank you, I’m also interested in whether I can increase the frequency of spawn of wasp nests

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [May 15, 2021, 3:51am UTC](https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343/4 "2021-05-15T03:51:20Z")

</div>

> [@DCHY](#):
>
> Can I change the lines of code to make wasps and zombies change positions?

You can do that without editing the code; you’ll only need to change the data.  
Technically the fastest way to get what you want is by replacing the wasp ID with the zombie one (and vice-versa)…  
This will lead to a few… oddities, though. For example, they’d still look like Zombies, but _should_ behave like wasps (move fast and fly around). It might also result in other buggy behavior.  
The slower and more complicated way would be to replace every reference of a Zombie ID with the wasp one.

> [@DCHY](#):
>
> I’m also interested in whether I can increase the frequency of spawn of wasp nests

You’ll find the spawn chance in `data/mods/rural_biome/rural_regional_map_settings.json`; under `"field"` and `"build"` you’ll find `"mx_nest_wasp"` and `"mx_house_wasp"` which determine the spawn chance. The higher you set these values, the more likely that they will spawn.  
You can also create a mod to modify these values instead of editing the files (so that you can update the game without overwriting your changes).

---

<div class="post-metadata">

**Author:** ![Bio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bio/32/6690_2.png) [@Bio](https://discourse.cataclysmdda.org/u/Bio)\
**Post date:** [May 15, 2021, 3:54am UTC](https://discourse.cataclysmdda.org/t/is-changing-the-antagonists-possible/26343/5 "2021-05-15T03:54:25Z")

</div>

it’s theoretically possible, all you’ll have to do is mess around with the spawn rates data.  
basically what you could do (if you’re lazy) is just replace the zombie spawns with wasp spawns, and then turn all the zombie spawns into wasp spawn levels

although why exactly you want to do that with wasps I don’t know
