I would be thankful for any help...
<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_2016_12/RangeCrash.jpg.e95fbb721f4e3405ce8a4b62376308a7.jpg" data-fileid="545">[img]<fileStore.core_Attachment>/monthly_2016_12/RangeCrash.thumb.jpg.af6a84bb384b911104a3a38ace265fb5.jpg[/img]</a>
I have made a stable to produce domesticated animal, and a milk pen that needs domesticated animal to be built then produces milk. I've had a terrible time getting the stable coded in. At first, I was trying to introduce 'domesticated animal' as a textile, the game would crash every time I placed the building. I changed domesticated animal to a material, and I can now place the buildings fine. However, when I destroy them, the builders take them apart and the game crashes once the building has been destroyed completely or just after, when the bannies either pick something up or drop it off at storage. I am guessing there fore that this issue is something to do with my domesticated animal model or code. I have re-made the model, to no avail. the texture is 512x512, and the weight of each is domesticated animal is 5, which I think must be less than <abbr title="Colonial Charter">CC</abbr>. What exactly is out of range here, and why is it crashing?
index out of range is usually a miscalculation in a template files path map ### ___ ... Height=X Width=X stuff
Share the files and someone can take a look, pm me + kral or here is fine
Did we add you to the collaborators forum? You and Discrepancy and ketchup need that, ill set that up
Hmm path maps. Would that occur once the building has been demolished? Here are some templates for the milk pen, stable, and domesticated animal...
<a class="ipsAttachLink" href="//blackliquidsoftware.com/applications/core/interface/file/attachment.php?id=546">CrystalMilk.rsc</a>
<a class="ipsAttachLink" href="//blackliquidsoftware.com/applications/core/interface/file/attachment.php?id=547">CrystalStable.rsc</a>
<a class="ipsAttachLink" href="//blackliquidsoftware.com/applications/core/interface/file/attachment.php?id=548">RawMaterialDomesticatedAnimal.rsc</a>
We just did the same thing that we did to make Coal say Materials. Just changed the strings. Otherwise, it should be exactly the same, just the Textile flag.
No, only stockpiling items needs piles. If it's stored in a barn it doesn't. I'm not sure why that would affect anything.
On a side note, in <abbr title="Colonial Charter">CC</abbr>, we named the resource "RawMaterialDomanimal.rsc" not RawMaterialDomesticatedAnimal. (Assuming you wanted cross compatibility) There are lots of weirdly named things we've done over time. [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" title=":)" width="20" />