# Modding Stonehearth's Graphics Test Program

**URL:** <https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540>\
**Category:** Modding\
**Created:** [November 16, 2013, 9:54am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540 "2013-11-16T09:54:54Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![SteveAdamo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/steveadamo/32/13955_2.png) [@SteveAdamo](https://discourse.stonehearth.net/u/SteveAdamo)\
**Post date:** [November 19, 2013, 8:00pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/81 "2013-11-19T20:00:49Z")

</div>

> [@sdee](#):
>
> I feel like our two little Ascendancy people are really confused as to why they’re suddenly in the desert.

SWT ➡ Stonehearth Wormhole Technology … it’s a “thing”… ⭕

---

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [November 19, 2013, 8:12pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/82 "2013-11-19T20:12:38Z")

</div>

heheh, yea. Imagine what the bunnies must feel hopping suddenly beneath the sand. 😄

@Alesfatalis yep it is just placed on top, replacing the tree.

---

<div class="post-metadata">

**Author:** ![Froggy](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/froggy/32/12576_2.png) [@Froggy](https://discourse.stonehearth.net/u/Froggy)\
**Post date:** [November 19, 2013, 8:38pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/83 "2013-11-19T20:38:30Z")

</div>

I totally tried that! Unfortunately I broke the SGT while trying, something to do with header.compression. Congratulations on your success! 🎩👌

---

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [November 19, 2013, 8:57pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/84 "2013-11-19T20:57:35Z")

</div>

try turning off the compression in the qb export settings. It does not need compression.

---

<div class="post-metadata">

**Author:** ![voxel\_pirate](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/voxel_pirate/32/2309_2.png) [@voxel\_pirate](https://discourse.stonehearth.net/u/voxel_pirate)\
**Post date:** [November 19, 2013, 9:53pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/85 "2013-11-19T21:53:41Z")

</div>

> [@Miturion](#):
>
> It does not need compression.

Not only does it not need compression, it does not allow compression 😉.

---

<div class="post-metadata">

**Author:** ![Roughshod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/roughshod/32/43485_2.png) [@Roughshod](https://discourse.stonehearth.net/u/Roughshod)\
**Post date:** [November 19, 2013, 10:08pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/86 "2013-11-19T22:08:32Z")

</div>

Great stuff 🙂 just noticed this thread. I thought about tinkering in the files… but I kept hearing this voice that sounded like Tom’s saying “It’s not the final version! THINGS ARE SUBJECT TO CHANGE!!!” 🙂

Plus I have no time at the moment.

Cool to see you’re all jumping on the how-to stuff, will come in handy later.

---

<div class="post-metadata">

**Author:** ![LunarWolf](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/lunarwolf/32/43524_2.png) [@LunarWolf](https://discourse.stonehearth.net/u/LunarWolf)\
**Post date:** [November 19, 2013, 10:31pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/87 "2013-11-19T22:31:15Z")

</div>

Am I the first one to modify the lua files and not replace things?

(by the way the juniper tree was also placed with lua, not model replacement, but the coat is worker outfit replaced)  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/f/8/f855d7c87a4e94a0770e87ca223199f969089237.png)

---

<div class="post-metadata">

**Author:** ![ownerpure5](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/ownerpure5/32/19747_2.png) [@ownerpure5](https://discourse.stonehearth.net/u/ownerpure5)\
**Post date:** [November 19, 2013, 10:34pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/88 "2013-11-19T22:34:58Z")

</div>

lunar can you add a function to control the people around plz

---

<div class="post-metadata">

**Author:** ![SteveAdamo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/steveadamo/32/13955_2.png) [@SteveAdamo](https://discourse.stonehearth.net/u/SteveAdamo)\
**Post date:** [November 19, 2013, 10:45pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/89 "2013-11-19T22:45:29Z")

</div>

oooh… @LunarWolf, add unicorns too! 😄

but seriously, nice outfit replacement!!

---

<div class="post-metadata">

**Author:** ![Froggy](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/froggy/32/12576_2.png) [@Froggy](https://discourse.stonehearth.net/u/Froggy)\
**Post date:** [November 19, 2013, 10:59pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/90 "2013-11-19T22:59:52Z")

</div>

Thanks @Miturion and @voxel_pirate for the information

Anyone know how to control the maximum zoom value?

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/b/d/bd9ae6597627a3823a5807a57cef863f573e7f88.png)

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/7/b/7b03ed1e2201898ef8b427d62815c5ca105ed91f.png)

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/7/2/7232a7a4c0af9bcf44244132f13b6dcda03821e5.png)

Edit, added some more screenshots to show the size of this monster

---

<div class="post-metadata">

**Author:** ![SteveAdamo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/steveadamo/32/13955_2.png) [@SteveAdamo](https://discourse.stonehearth.net/u/SteveAdamo)\
**Post date:** [November 19, 2013, 11:23pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/91 "2013-11-19T23:23:38Z")

</div>

oh heh guys, it’s @Froggy… and heh, there goes my mind! 💥

good grief my friend… that is indeed all sorts of ridiculous awesomeness…

---

<div class="post-metadata">

**Author:** ![sdee](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/sdee/32/65441_2.png) [@sdee](https://discourse.stonehearth.net/u/sdee)\
**Post date:** [November 19, 2013, 11:36pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/92 "2013-11-19T23:36:34Z")

</div>

I love seeing our little yellow highlight all around the walls.

---

<div class="post-metadata">

**Author:** ![Froggy](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/froggy/32/12576_2.png) [@Froggy](https://discourse.stonehearth.net/u/Froggy)\
**Post date:** [November 19, 2013, 11:53pm UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/93 "2013-11-19T23:53:07Z")

</div>

No pressure Team Radiant, but as long as I can build this in the game, I’ll be a happy bunny 😄 🐇

---

<div class="post-metadata">

**Author:** ![SteveAdamo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/steveadamo/32/13955_2.png) [@SteveAdamo](https://discourse.stonehearth.net/u/SteveAdamo)\
**Post date:** [November 20, 2013, 12:40am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/94 "2013-11-20T00:40:37Z")

</div>

> [@Froggy](#):
>
> No pressure Team Radiant

i have a feeling that you will somehow manage to stress the limits (should there be such a thing), that might be imposed by team radiant…

good grief! 😰

---

<div class="post-metadata">

**Author:** ![Xavion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/xavion/32/43501_2.png) [@Xavion](https://discourse.stonehearth.net/u/Xavion)\
**Post date:** [November 20, 2013, 1:22am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/95 "2013-11-20T01:22:44Z")

</div>

Yes you are. What did you use to compile the code? Or is there something special in how you decompiled it? Since nothing I tried got it to work.

@Alesfatalis. LunarWolf pretty much just proved at least the custom compiler wrong and probably the rest as well.

---

<div class="post-metadata">

**Author:** ![LunarWolf](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/lunarwolf/32/43524_2.png) [@LunarWolf](https://discourse.stonehearth.net/u/LunarWolf)\
**Post date:** [November 20, 2013, 1:35am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/96 "2013-11-20T01:35:05Z")

</div>

Nope I didn’t disprove anything because I didn’t even recompile the code just decompiled it. Through it in to see if it would still run normally and without adding problems and it did so then I modded it.

---

<div class="post-metadata">

**Author:** ![Xavion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/xavion/32/43501_2.png) [@Xavion](https://discourse.stonehearth.net/u/Xavion)\
**Post date:** [November 20, 2013, 1:45am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/97 "2013-11-20T01:45:51Z")

</div>

I’m a moron. A complete and utter moron. You’re confirming you just put in the decompiled lua and it ran fine right? Because that means I know what went wrong for me, I never tried that for _a_ file, only _all_ files which includes the ones that didn’t decompile correctly.

---

<div class="post-metadata">

**Author:** ![sdee](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/sdee/32/65441_2.png) [@sdee](https://discourse.stonehearth.net/u/sdee)\
**Post date:** [November 20, 2013, 1:47am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/98 "2013-11-20T01:47:38Z")

</div>

> [@Xavion](#):
>
> I’m a moron. A complete and utter moron.

We (Team Radiant) respectfully disagree. 😉

---

<div class="post-metadata">

**Author:** ![Xavion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/xavion/32/43501_2.png) [@Xavion](https://discourse.stonehearth.net/u/Xavion)\
**Post date:** [November 20, 2013, 2:49am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/99 "2013-11-20T02:49:44Z")

</div>

Not sure what to say to that, I’ll just say thanks for the vote of confidence but not realising that the fact that the decompiler was wiping some of the files (ai\_component.luac to be precise) was causing the lua to not load is kinda stupid.

I made something that worked! Marvel at the might of big\_rabbit.  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/1/6/162926d62a06b45ced3a381e9a094ded8206d687.png)  
Now to try stuff until I can get Qubicle working.

EDIT: Turns out basic modifications of the terrain are fairly easy, expect to see some kind of example as soon as I figure how the terrain colouring system works. No idea how it determines the different rings or anything yet.

---

<div class="post-metadata">

**Author:** ![voxel\_pirate](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/voxel_pirate/32/2309_2.png) [@voxel\_pirate](https://discourse.stonehearth.net/u/voxel_pirate)\
**Post date:** [November 20, 2013, 7:18am UTC](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540/100 "2013-11-20T07:18:15Z")

</div>

@Xavion the coloring of terrain works via a config.json-file which you can find in the folder: mods \> stonehearth \> renderers \> terrain.

[Previous page](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540.md?page=4)

[Next page](https://discourse.stonehearth.net/t/modding-stonehearths-graphics-test-program/3540.md?page=6)
