Community Forum

Need help adding display to silo

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created31.03.2019 21:46


Martin Lund Kristensen (Lundy836) 31.03.2019 21:46
Hey everyone

Would be amazing if someone could help me out a bit with this one.
I am struggling a lot to figure out how to add a working display to a silo in FS19...

So the idea is, that I want to put a digital display similar to one used in the BGA on to a silo, to show how much the silo holds. However I honestly can't seem to get my head around this one. Making the silo is no issue, but adding the display is making my brain go in to a meltdown and I am really stuck on this one.
Any ideas?

XML for the silo:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
<storeData>
<name>$l10n_shopItem_seedSilo</name>
<functions>
<function>$l10n_function_farmSilo</function>
</functions>
<specs>
<capacity>800000</capacity>
<fillTypes>seeds</fillTypes>
</specs>
<image>$data/store/store_empty.png</image>
<price>1</price>
<canBeSold>false</canBeSold>
<showInStore>false</showInStore>
<boughtWithFarmland>true</boughtWithFarmland>
<lifetime>1000</lifetime>
<rotation>0</rotation>
<brand>LIZARD</brand>
<species>placeable</species>
<category>silos</category>
<vertexBufferMemoryUsage>25248</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>3336</indexBufferMemoryUsage>
<textureMemoryUsage>1179768</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>

<placeableType>silo</placeableType>
<filename>maps/placeables/farmSilos/seedSilo.i3d</filename>
<placement testSizeX="1" testSizeZ="1" sizeX="1" sizeZ="1" useRandomYRotation="false" useManualYRotation="true" />

<loadingStation stationName="$l10n_station_seedSilo" appearsOnPDA="false" storageRadius="50" fillSoundIdentifier="fillSound01">
<loadTrigger triggerNode="0|1|0|0|0" fillLitersPerSecond="2000" 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.25 0 0 0"/>
<effectNode effectNode="0|1|0|0|2|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
</loadTrigger>
</loadingStation>

<unloadingStation stationName="$l10n_station_seedSilo" appearsOnPDA="false" storageRadius="50">
<unloadTrigger exactFillRootNode="0|0|0|0|0" />
</unloadingStation>

<storages>
<storage node="0|2" fillTypes="seeds" capacityPerFillType="800000" />
</storages>
<display baseNode="0|4" />
</placeable>

The i3d for the silo:
https://i.ibb.co/7zYFcND/seedSilo.jpg

Bilbo Beutlin (BBeutlin) 01.04.2019 03:16
You'll need a custom script.
The bga.lua includes a display, the storage.lua not.

Martin Lund Kristensen (Lundy836) 01.04.2019 05:01
omg of course. I have completely forgotten about the LUA in this one, In 15 and 17 we had the Digital Storage Amount Mover script for this. Of course I would need something similar in 19 for it to work.
Guess I had stared myself blind on this one :)
Thanks Bilbo


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