# Help making a mod

**URL:** <https://discourse.stonehearth.net/t/help-making-a-mod/34713>\
**Category:** Modding\
**Created:** [April 22, 2018, 3:16am UTC](https://discourse.stonehearth.net/t/help-making-a-mod/34713 "2018-04-22T03:16:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KillzonePC](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/killzonepc/32/61398_2.png) [@KillzonePC](https://discourse.stonehearth.net/u/KillzonePC)\
**Post date:** [April 22, 2018, 3:16am UTC](https://discourse.stonehearth.net/t/help-making-a-mod/34713/1 "2018-04-22T03:16:22Z")

</div>

I’m an early coder, and I’m trying to make a mod. I can’t find how to make an icon (or in coding portrait). Please Help!

---

<div class="post-metadata">

**Author:** ![Moai](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/moai/32/16242_2.png) [@Moai](https://discourse.stonehearth.net/u/Moai)\
**Post date:** [April 22, 2018, 12:30pm UTC](https://discourse.stonehearth.net/t/help-making-a-mod/34713/2 "2018-04-22T12:30:36Z")

</div>

Made a tut. Here you go:

> [@Moai personal thread](https://discourse.stonehearth.net/t/moai-personal-thread/20070/28):
>
> Making an item portrait I saw a thread asking on how to create portraits. I feel like there used to be a thread or a dev stream at some point about how to make these, but I can't find it right now, so I thought I would share my method, using all free software. I have used a less good variation of this method while creating the portraits for the [Miner mod](https://discourse.stonehearth.net/t/the-miner-v1-2-0-a23-a24-steam-workshop/34560/15), which I hadn't perfected until after I was done with all the items. They still don't look 100% like Radiant's, but close enough for my purpose…

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [April 22, 2018, 1:24pm UTC](https://discourse.stonehearth.net/t/help-making-a-mod/34713/3 "2018-04-22T13:24:30Z")

</div>

> [@KillzonePC](#):
>
> in coding portrait

These are specified in the entity data, and are used only for entities that have animations. For example, this is inside stonehearth\entities\critters\rabbitrabbit.json 's entity\_data:

```auto
"stonehearth:portrait": {
         "portrait_types": {
            "headshot": {
               "camera": {
                  "pos": [
                     17,
                     0.8,
                     -27
                  ],
                  "look_at": [
                     0,
                     0.6,
                     0
                  ],
                  "fov": 45
               }
            }
         }
      },

```

For icons, the method explained by Moai should be enough.
