Community Forum

Animated farm silo

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created30.12.2021 13:57


Lajos Horváth (Lajka521) 30.12.2021 13:57
Hello!

How can i make an animation to the farm silo?
I wants to the bags show/hide by the farmsilo filling percent.
I was added the animation to the farmsilo's xml file, but the animation is not working. All of the bags showed in 0% filling.

the farmsilo's XML file:

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
<storeData>
<name>shopItem_takarmanyos</name>
<functions>
<function>$l10n_function_farmSilo</function>
</functions>
<image>sellingStations/store_sellingStation.png</image>
<price>3500</price>
<dailyUpkeep>35</dailyUpkeep>
<lifetime>1000</lifetime>
<rotation>0</rotation>
<brand>LIZARD</brand>
<species>placeable</species>
<category>silos</category>
<vertexBufferMemoryUsage>16296</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>1872</indexBufferMemoryUsage>
<textureMemoryUsage>1529480</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>


<placeableType>silo</placeableType>
<filename>maps/sellingStations/takarmanyos.i3d</filename>
<placement testSizeX="10" testSizeZ="6" sizeX="10" sizeZ="6" useRandomYRotation="false" useManualYRotation="true" />

<seasons>
<maskAreas>
<maskArea startNode="3|0" widthNode="3|0|0" heightNode="3|0|1" />
</maskAreas>
</seasons>

<loadingStation stationName="Takarmányos" appearsOnPDA="false" storageRadius="50" fillSoundIdentifier="fillSound01">
<loadTrigger triggerNode="0|1|0|0|0" fillLitersPerSecond="50" dischargeNode="0|1|0|0|1"/>
<effectNode effectClass="PipeEffect" effectNode="0|1|0|0|2|0" materialType="pipe" materialTypeId="1" fadeTime="0.5" maxBending="0" controlPoint="3.75 0 0 0"/>
<effectNode effectNode="0|1|0|0|2|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />

</loadingStation>

<unloadingStation stationName="Takarmányos" appearsOnPDA="false" storageRadius="50">
<unloadTrigger exactFillRootNode="0|0|0|0|0" />
</unloadingStation>


<dashboard displayType="ANIMATION" valueType="fillLevel" animName="seedBagAnimation" />

<storages>
<storage node="0|2" fillTypes="wheat barley canola maize oat sunflower soybean potato sugarbeet oilseedradish sugarcane pigfood carrot cabbage redcabbage lettuce onion redonion poppy lucerne rye millet clover triticale hops tobacco spelt alfalfa proteinPea almond olive poplar vineyard whiteGrape" capacity="25000" capacityPerFillType="25000" />

</storages>

<animations>
<animation name="seedBagAnimation">
<part node="0>5|0|0" startTime="0.000" endTime="0.008" visibility="false" />
<part node="0>5|0|0" startTime="0.008" endTime="1.000" visibility="true" />
<part node="0>5|0|1" startTime="0.000" endTime="0.015" visibility="false" />
<part node="0>5|0|1" startTime="0.015" endTime="1.000" visibility="true" />
<part node="0>5|0|2" startTime="0.000" endTime="0.023" visibility="false" />
<part node="0>5|0|2" startTime="0.023" endTime="1.000" visibility="true" />
<part node="0>5|0|3" startTime="0.000" endTime="0.030" visibility="false" />
<part node="0>5|0|3" startTime="0.030" endTime="1.000" visibility="true" />
<part node="0>5|0|4" startTime="0.000" endTime="0.038" visibility="false" />
<part node="0>5|0|4" startTime="0.038" endTime="1.000" visibility="true" />
<part node="0>5|0|5" startTime="0.000" endTime="0.046" visibility="false" />
<part node="0>5|0|5" startTime="0.046" endTime="1.000" visibility="true" />
<part node="0>5|0|6" startTime="0.000" endTime="0.054" visibility="false" />
<part node="0>5|0|6" startTime="0.054" endTime="1.000" visibility="true" />
<part node="0>5|0|7" startTime="0.000" endTime="0.062" visibility="false" />
<part node="0>5|0|7" startTime="0.062" endTime="1.000" visibility="true" />
<part node="0>5|0|8" startTime="0.000" endTime="0.070" visibility="false" />
<part node="0>5|0|8" startTime="0.070" endTime="1.000" visibility="true" />
<part node="0>5|0|9" startTime="0.000" endTime="0.078" visibility="false" />
<part node="0>5|0|9" startTime="0.078" endTime="1.000" visibility="true" />
<part node="0>5|0|10" startTime="0.000" endTime="0.086" visibility="false" />
<part node="0>5|0|10" startTime="0.086" endTime="1.000" visibility="true" />
<part node="0>5|0|11" startTime="0.000" endTime="0.094" visibility="false" />
<part node="0>5|0|11" startTime="0.094" endTime="1.000" visibility="true" />
<part node="0>5|3|11" startTime="0.374" endTime="1.000" visibility="true" />

</animation>
</animations>

<tipOcclusionUpdateArea sizeX="10" sizeZ="6" />
</placeable>

Bilbo Beutlin (BBeutlin) 30.12.2021 21:36
The <dashboard> specialization is working for vehicles only. In placeables it is simply ignored.


Note: Log in to post. Create a new account here.