# How to Fold

**URL:** <https://discourse.cataclysmdda.org/t/how-to-fold/9477>\
**Category:** The Garage\
**Created:** [April 25, 2015, 2:26am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477 "2015-04-25T02:26:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [April 25, 2015, 2:26am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/1 "2015-04-25T02:26:50Z")

</div>

I am asking anyone who reads this what in the json files determines if a vehicle part is foldable or not. I am just asking if there is a way to mark something as foldable fold volume dosn’t really matter. If foldable parts are hard coded then just say that and this will be over.

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [April 25, 2015, 2:30am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/2 "2015-04-25T02:30:49Z")

</div>

Open up vehicle\_parts.json and add the “FOLDABLE” flag to the desired part. I’m pretty sure that’s all you need to do.

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [April 25, 2015, 2:32am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/3 "2015-04-25T02:32:41Z")

</div>

> [@i2amroy](#):
>
> Open up vehicle\_parts.json and add the “FOLDABLE” flag to the desired part. I’m pretty sure that’s all you need to do.

Sorry the reason why I put this up is because when I looked through it and looked at the lines for the foldable objects there didn’t seem to be any tags that defined as such. I guess I skimmed too quickly anyways thanks.

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [April 25, 2015, 2:34am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/4 "2015-04-25T02:34:05Z")

</div>

No problem, always happy to help. 🙂

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [April 25, 2015, 2:51am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/5 "2015-04-25T02:51:43Z")

</div>

> [@i2amroy](#):
>
> No problem, always happy to help. 🙂

Then there is only one last question you wouldn’t happen to know something that can make it easier to read and edit the code?

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [April 25, 2015, 3:11am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/6 "2015-04-25T03:11:29Z")

</div>

Notepad++ is probably the best you are going to get for dealing with the JSON files. If you are talking about the actual code itself you could try picking something up like CodeBlocks, but if all you are doing is messing with the JSON’s go with Notepad++.

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [April 25, 2015, 4:19am UTC](https://discourse.cataclysmdda.org/t/how-to-fold/9477/7 "2015-04-25T04:19:39Z")

</div>

> [@i2amroy](#):
>
> Notepad++ is probably the best you are going to get for dealing with the JSON files. If you are talking about the actual code itself you could try picking something up like CodeBlocks, but if all you are doing is messing with the JSON’s go with Notepad++.

Thanks and also I found out another reason why I couldn’t find those tags. I was looking at the wrong vehicle parts file as there is one in the json itself and one in the items folder inside the json.
