# Is there an easy way to modify the game?

**URL:** <https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122>\
**Category:** The Bunker\
**Created:** [March 12, 2015, 4:55pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122 "2015-03-12T16:55:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saklaus](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@saklaus](https://discourse.cataclysmdda.org/u/saklaus)\
**Post date:** [March 12, 2015, 4:55pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/1 "2015-03-12T16:55:35Z")

</div>

Hello there, fellow survivors!

I have been enjoying and loving this game for years now, but I have had several - to me - rather severe issues with the game that I would like to fix for myself.  
I am mostly interested in slowing down the speed at which my characters improve their skills significantly (I tried using the “slow learner”, “pacifist” and “good memory” traits combined, but was unimpressed with the results) as well as reduce the amount of armor that both, actual armor such as kevlar vests as well as clothing items such as hoodies or cargo pants provide.

Is there a guide anywhere that I could follow in order to administer these changes to my game? Or would I have to first get a PHD at my local college in order to achieve that?  
Thank you in advance for any help on the subject matter!

---

<div class="post-metadata">

**Author:** ![Inquisitor\_Dust](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/inquisitor_dust/32/119_2.png) [@Inquisitor\_Dust](https://discourse.cataclysmdda.org/u/Inquisitor_Dust)\
**Post date:** [March 12, 2015, 5:01pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/2 "2015-03-12T17:01:48Z")

</div>

I’m fairly sure that changing armor values is as simple as fiddling with the jsons and changing variables.

As for learning speeds, I believe those are coded into the game and would require you to delve into the code with some knowledge of C++(?).

The Lab subforum is all about modding and editing code, I’d check there for more help and resources!

Hopefully that helps a bit.

---

<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 12, 2015, 5:34pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/3 "2015-03-12T17:34:45Z")

</div>

Modifying particular items can be done just by modifying text files. Go to data/json/items/ and edit the relevant files in any text editor. You want to lower the material thickness values. There’s a ton of them, so you’d better have a good way of doing so (unless you only want to nerf a small number of items).  
Or you can recompile the game and modify values globally. I recommend the second option, even though it requires non-zero computer skills.

The learning speed change would require recompiling the game.  
First get the source (preferably with git, so that it’s easier to update, but you can just get the zipped source here: [https://github.com/CleverRaven/Cataclysm-DDA/archive/master.zip](https://github.com/CleverRaven/Cataclysm-DDA/archive/master.zip) )  
Then get the tools - I heard most people use CodeBlocks to compile the game.  
Unpack the source and open the CacaclysmWin.cbp in CodeBlocks.

Modify the game. The parts of code you’d want to change are in src/player.cpp (player::adjust\_for\_focus) and src/item.cpp (item::bash\_resist and cut\_resist).  
Since you’d be introducing very simple numeric changes, that wouldn’t require any real programming skills. Just modify the formula after “return” at the end of the block of code.

Then build the game. It can easily take an hour, but doesn’t require you to look at it constantly.

---

<div class="post-metadata">

**Author:** ![Eliijahh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/eliijahh/32/437_2.png) [@Eliijahh](https://discourse.cataclysmdda.org/u/Eliijahh)\
**Post date:** [March 12, 2015, 6:35pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/4 "2015-03-12T18:35:07Z")

</div>

I love this open source approach! Wow!

---

<div class="post-metadata">

**Author:** ![Arek\_PL](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Arek\_PL](https://discourse.cataclysmdda.org/u/Arek_PL)\
**Post date:** [March 13, 2015, 7:15pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/5 "2015-03-13T19:15:12Z")

</div>

if you are to lazy to compile-decompile and you only want to edit/add/remove small things download notepad++ and edit .json files

---

<div class="post-metadata">

**Author:** ![vultures](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vultures/32/69_2.png) [@vultures](https://discourse.cataclysmdda.org/u/vultures)\
**Post date:** [March 13, 2015, 9:46pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/6 "2015-03-13T21:46:42Z")

</div>

Yeah, guidelines for modding .json files are here on the forum board, too.

It’s modding season for you, friend! 🙂

---

<div class="post-metadata">

**Author:** ![Aluminumfoil](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/aluminumfoil/32/5163_2.png) [@Aluminumfoil](https://discourse.cataclysmdda.org/u/Aluminumfoil)\
**Post date:** [March 14, 2015, 6:11pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-modify-the-game/9122/7 "2015-03-14T18:11:17Z")

</div>

Not modding related, but potentially useful to you:

You can turn off certain skills from advancing by tabbing to them in the Character Sheet and hitting enter while they are selected. They’ll still check for recent use to prevent skill rust, but they won’t advance. If you’re interested in a longer lasting “survival horror” experience, turning off your combat skills when they reach 3 or 4 is an effective handicap.
