Install instructions:

step 1 - setup:
The files you will have to include in your map folder are these

- baleConverte.lua 
- particleSystems (folder)(root Location of folder)

install lua file in moddesc with these lines 

    <extraSourceFiles>
        <sourceFile filename="baleConverter.lua"/>
    </extraSourceFiles>


step 2 - Import:
Import the trigger


step 3 - Settings:
Im going to explain the attributes that the trigger has now so bear with me.

baleTime = how long time it will take too "process" the bale
deleteTime = when it will delete the bale (can't be bigger then baleTime)
particleTime = how long particles will be activated (activated once bale is deleted)
outputType = fillType you get once the bale is deleted (added to farm silos)
particlePosition = these are offset values so no need to edit these if not needed
particleRotation = rotation of particles 
particleSystem = the i3d file that will be used, note 1 that these must be stored in the particleSystems folder in the root folder of the "map", note 2 dont add .i3d to the name.
terrainThreshold = how far above ground level it should look for bales
terrainHelp = this was made to help the script user to set "terrainThreshold", it will print a few lines of suggestions on suitable values once an bale enters.

- optional -
fillTypes = add fillTypes to this if you want to limit the bale type to wheat_straw etc, if nothing is added then it will allow all bales.
husbandryTypeName = "typeName" of AnimalHusbandry that it should add the output to. If this has an value then "outputType" can be left empty. Leave empty to disable.