# Palisade Wall and Gate

**URL:** <https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700>\
**Category:** Modding\
**Created:** [July 5, 2016, 5:37pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700 "2016-07-05T17:37:47Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [July 20, 2016, 3:16pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/41 "2016-07-20T15:16:12Z")

</div>

> [@Meaty\_Meat](#):
>
> Anybody know what is going on?

what modelling program do you use?

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 3:29pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/42 "2016-07-20T15:29:27Z")

</div>

Cubicle. I just downloaded it off of Steam two weeks ago.

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [July 20, 2016, 3:31pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/43 "2016-07-20T15:31:02Z")

</div>

> [@Meaty\_Meat](#):
>
> Cubicle.

huh, and when you opened up the games models you didn’t move anything around, just edited the armors looks?

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 3:42pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/44 "2016-07-20T15:42:55Z")

</div>

Exactly. Which is why I find it weird. I’ve had to adjust the position of  
everything that I have made in some form or fashion.

---

<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:** [July 20, 2016, 6:26pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/45 "2016-07-20T18:26:13Z")

</div>

When they’re like flipped it’s because of an export setting, Z-Axis must be right-handed to behave consistently in the game.  
But if you just copied qbs from the stonehearth mod without modifying them, and they are backwards or upside down… That’s definitely weird 😟

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 6:40pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/46 "2016-07-20T18:40:26Z")

</div>

I think you’re on to something. I export the models and I think z-axis is  
set to left-handed.

I was just about to test this…lol

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 7:26pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/47 "2016-07-20T19:26:47Z")

</div>

So…yeah. Turns out the problem was that all of my models were exported  
with a left-handed axis. I sure do feel sheepish…

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 9:39pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/48 "2016-07-20T21:39:29Z")

</div>

I figure that I will just keep posting my questions her instead of adding another post to the queue. I imagine that this will be a pretty easy fix. I just don’t know what exactly i need to do.

I created a weapon for my cleric: A warhammer fit for a paladin. But…I get an error message when i send her into combat. I figure it is something to do with adding an ability to the cleric job…but i’m not sure.

Thanks!

[paladin\_hammer\_mod.zip](https://discourse.stonehearth.net/uploads/short-url/pGVVcRPrUIMIDOnbdHOpYyt0Z4p.zip) (6.9 KB)

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 20, 2016, 10:22pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/49 "2016-07-20T22:22:26Z")

</div>

Can you post the error?

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 11:41pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/50 "2016-07-20T23:41:06Z")

</div>

Not a problem. Here it is:

release-593 (x32)[M]…tonehearth/services/server/combat/combat\_service.lua:785: assertion failed: no range on weapon data for weapon (16889710 Paladin’s Hammer)stack traceback:  
[C]: in function 'error’  
radiant/modules/common.lua:445: in function ‘assert’  
…tonehearth/services/server/combat/combat\_service.lua:785: in function ‘get\_weapon\_range’  
…tonehearth/services/server/combat/combat\_service.lua:795: in function ‘in\_range’  
…tonehearth/services/server/combat/combat\_service.lua:801: in function ‘in\_range\_and\_has\_line\_of\_sight’  
…ions/combat/chase\_entity\_until\_targetable\_action.lua:63: in function ‘\_update\_think\_output’  
…ions/combat/chase\_entity\_until\_targetable\_action.lua:34: in function \<…ions/combat/chase\_entity\_until\_targetable\_action.lua:31\>  
[C]: in function ‘start\_thinking’  
…tonehearth/services/server/tasks/run\_task\_action.lua:66: in function ‘\_start\_stop\_thinking’  
…tonehearth/services/server/tasks/run\_task\_action.lua:125: in function \<…tonehearth/services/server/tasks/run\_task\_action.lua:119\>  
[C]: in function ‘fn’  
…  
[C]: in function 'run’  
stonehearth/components/ai/ai\_component.lua:541: in function \<stonehearth/components/ai/ai\_component.lua:525\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/components/ai/ai\_component.lua:525: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.lua:249: in function \<stonehearth/services/server/threads/thread.lua:246\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/services/server/threads/thread.lua:246: in function 'f’  
radiant/lib/env.lua:15: in function \<radiant/lib/env.lua:14\>

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 11:42pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/51 "2016-07-20T23:42:28Z")

</div>

release-593 (x32)[M](1724437 Frie Homer) (stonehearth:top) bad frame transition to “stop” from "starting\_thinking"stack traceback:  
[C]: ?  
[C]: in function 'stop’  
stonehearth/components/ai/ai\_component.lua:581: in function \<stonehearth/components/ai/ai\_component.lua:525\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/components/ai/ai\_component.lua:525: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.lua:249: in function \<stonehearth/services/server/threads/thread.lua:246\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/services/server/threads/thread.lua:246: in function 'f’  
radiant/lib/env.lua:15: in function \<radiant/lib/env.lua:14\>

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 11:42pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/52 "2016-07-20T23:42:41Z")

</div>

release-593 (x32)[M]invalid initial state “starting\_thinking” in runstack traceback:  
[C]: ?  
[C]: in function 'run’  
stonehearth/components/ai/ai\_component.lua:541: in function \<stonehearth/components/ai/ai\_component.lua:525\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/components/ai/ai\_component.lua:525: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.lua:249: in function \<stonehearth/services/server/threads/thread.lua:246\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/services/server/threads/thread.lua:246: in function 'f’  
radiant/lib/env.lua:15: in function \<radiant/lib/env.lua:14\>

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 11:43pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/53 "2016-07-20T23:43:05Z")

</div>

release-593 (x32)[M]@stonehearth/components/ai/ai\_component.lua:567: (1724437 Frie Homer) has not yielded after 10 ai spins. Are they in a bad state? Last abort reason:stack traceback:  
radiant/modules/common.lua:237: in function 'report\_traceback’  
radiant/modules/common.lua:456: in function 'verify’  
stonehearth/components/ai/ai\_component.lua:567: in function \<stonehearth/components/ai/ai\_component.lua:525\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/components/ai/ai\_component.lua:525: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.lua:249: in function \<stonehearth/services/server/threads/thread.lua:246\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/services/server/threads/thread.lua:246: in function 'f’  
radiant/lib/env.lua:15: in function \<radiant/lib/env.lua:14\>

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 11:43pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/54 "2016-07-20T23:43:19Z")

</div>

release-593 (x32)[M](1724437 Frie Homer) (stonehearth:combat) bad frame transition to “remove\_action” from "starting\_thinking"stack traceback:  
radiant/modules/common.lua:237: in function 'report\_traceback’  
radiant/modules/common.lua:248: in function \<radiant/modules/common.lua:242\>  
[C]: in function 'fn’  
stonehearth/services/server/threads/thread.lua:322: in function 'private\_msg’  
stonehearth/services/server/threads/thread.lua:515: in function '\_dispatch\_messages’  
stonehearth/services/server/threads/thread.lua:379: in function 'suspend’  
stonehearth/services/server/threads/thread.lua:421: in function 'sleep\_realtime’  
stonehearth/components/ai/ai\_component.lua:559: in function \<stonehearth/components/ai/ai\_component.lua:525\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/components/ai/ai\_component.lua:525: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.lua:249: in function \<stonehearth/services/server/threads/thread.lua:246\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/services/server/threads/thread.lua:246: in function 'f’  
radiant/lib/env.lua:15: in function \<radiant/lib/env.lua:14\>

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 11:43pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/55 "2016-07-20T23:43:33Z")

</div>

release-593 (x32)[M](1724437 Frie Homer) (stonehearth:combat) bad frame transition to “add\_action” from "starting\_thinking"stack traceback:  
radiant/modules/common.lua:237: in function 'report\_traceback’  
radiant/modules/common.lua:248: in function \<radiant/modules/common.lua:242\>  
[C]: in function 'fn’  
stonehearth/services/server/threads/thread.lua:322: in function 'private\_msg’  
stonehearth/services/server/threads/thread.lua:515: in function '\_dispatch\_messages’  
stonehearth/services/server/threads/thread.lua:379: in function 'suspend’  
stonehearth/services/server/threads/thread.lua:421: in function 'sleep\_realtime’  
stonehearth/components/ai/ai\_component.lua:559: in function \<stonehearth/components/ai/ai\_component.lua:525\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/components/ai/ai\_component.lua:525: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.lua:249: in function \<stonehearth/services/server/threads/thread.lua:246\>  
[C]: in function 'xpcall’  
radiant/modules/common.lua:257: in function 'xpcall’  
stonehearth/services/server/threads/thread.lua:246: in function 'f’  
radiant/lib/env.lua:15: in function \<radiant/lib/env.lua:14\>

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 20, 2016, 11:57pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/56 "2016-07-20T23:57:16Z")

</div>

Looks to me that since the cleric heals from a distance, the game is expecting whatever weapon the cleric is using to be ranged. I’m not sure how much of the actual job is tied to the combat system, but I would guess you would probably get the same error if you assigned your hammer to an archer too.

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 21, 2016, 12:09am UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/57 "2016-07-21T00:09:34Z")

</div>

I was curious, so I added a range to your hammer, and then it threw an error about healing properties. So then I removed `"stonehearth:ai_pack:healing_combat"` from the cleric abilities and it worked fine. So you could do a mixinto to override the ai packs of cleric, but you then loose the clerics whole purpose of healing in combat.

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 21, 2016, 12:12am UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/58 "2016-07-21T00:12:52Z")

</div>

Well, I know I have seen the cleric attacking enemies before (at least I  
think I have), so I just thought maybe I could add a weapon…

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 21, 2016, 12:22am UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/59 "2016-07-21T00:22:27Z")

</div>

Aww man. I want both!

Make it happen Radiant!

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [July 21, 2016, 12:40am UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/60 "2016-07-21T00:40:33Z")

</div>

> [@xxdalexx](#):
>
> I was curious, so I added a range to your hammer, and then it threw an error about healing properties. So then I removed “stonehearth:ai\_pack:healing\_combat” from the cleric abilities and it worked fine. So you could do a mixinto to override the ai packs of cleric, but you then loose the clerics whole purpose of healing in combat.

this is a wild guess, but couldn’t you just add the “healing data” part from the tome to the hammer,

```
 "stonehearth:combat:healing_data": {
         "base_healing": 5
      },

```

[Previous page](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700.md?page=2)

[Next page](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700.md?page=4)
