<bale>

<baleMeshes>
<baleMesh fillTypes="string"Description: If defined this mesh is only visible if any of this fillTypes is set
Type: String
Required: no
isTensionBeltMesh="false"Description: Defines if this mesh is detected for tension belt calculation
Type: Boolean
Default: false
Required: no
node="node"Description: Path to mesh node
Type: Index to i3d node or i3d mapping identifier
Required: no
supportsWrapping="boolean"Description: Defines if the mesh is hidden while wrapping or not
Type: Boolean
Required: no
/>

</baleMeshes>

<filename>stringDescription: Path to i3d file
Type: String
Required: no
</filename>


<fillTypes>
<fillType capacity="float"Description: Fill level of bale with this fill type
Type: Float
Required: no
forceAcceleration="float"Description: Force acceleration value of bale with this fill type
Type: Float
Default: bale.mountableObject#forceAcceleration
Required: no
mass="500"Description: Mass of bale with this fill type
Type: Float
Default: 500
Required: no
name="string"Description: Name of fill type
Type: String
Required: no
supportsWrapping="boolean"Description: Wrapping is allowed while this type is used
Type: Boolean
Required: no
>

<alpha filename="string"Description: Alpha texture to apply to all mesh nodes
Type: String
Required: no
/>

<diffuse filename="string"Description: Diffuse texture to apply to all mesh nodes
Type: String
Required: no
/>

<fermenting outputFillType="string"Description: Output fill type after fermenting
Type: String
Required: no
requiresWrapping="true"Description: Wrapping is required to start fermenting
Type: Boolean
Default: true
Required: no
time="1"Description: Fermenting time in ingame days which represent months
Type: Float
Default: 1
Required: no
/>

<normal filename="string"Description: Normal texture to apply to all mesh nodes
Type: String
Required: no
/>

<specular filename="string"Description: Specular texture to apply to all mesh nodes
Type: String
Required: no
/>

</fillType>
</fillTypes>

<mountableObject axisFreeX="false"Description: Joint is free in X direction
Type: Boolean
Default: false
Required: no
axisFreeY="false"Description: Joint is free in Y direction
Type: Boolean
Default: false
Required: no
forceAcceleration="4"Description: Acceleration force
Type: Float
Default: 4
Required: no
forceLimitScale="1"Description: Force limit scale
Type: Float
Default: 1
Required: no
triggerNode="node"Description: Trigger node
Type: Index to i3d node or i3d mapping identifier
Required: no
/>


<packedBale singleBale="string"Description: Path to single bale xml filename
Type: String
Required: no
>

<singleBale node="node"Description: Single bale spawn node
Type: Index to i3d node or i3d mapping identifier
Required: no
/>

</packedBale>

<parentFile xmlFilename="string"Description: Remove vehicle if unit empty
Type: String
Required: no
>

<attributes>
<clearList keepIndex="integer"Description: Index of list to keep
Type: Integer
Required: no
path="string"Description: List to clear but keep one item
Type: String
Required: no
/>

<remove path="string"Description: Path to remove from parent xml
Type: String
Required: no
/>

<set path="string"Description: Path change in parent xml
Type: String
Required: no
value="string"Description: Target value to set in parent file
Type: String
Required: no
/>

</attributes>
</parentFile>

<size diameter="0"Description: Bale Diameter
Type: Float
Default: 0
Required: no
height="0"Description: Bale Height
Type: Float
Default: 0
Required: no
isRoundbale="true"Description: Bale is a roundbale
Type: Boolean
Default: true
Required: no
length="0"Description: Bale Length
Type: Float
Default: 0
Required: no
maxStackHeight="integer"Description: Max. stack height for automatic spawning of bales
Type: Integer
Default: 2 or round bales and 3 for square bales
Required: no
visualDiameter="float"Description: Bale Diameter (Real size of the visuals if different)
Type: Float
Default: Same as #diameter
Required: no
visualHeight="float"Description: Bale Height (Real size of the visuals if different)
Type: Float
Default: Same as #height
Required: no
visualLength="float"Description: Bale Length (Real size of the visuals if different)
Type: Float
Default: Same as #length
Required: no
visualWidth="float"Description: Bale Width (Real size of the visuals if different)
Type: Float
Default: Same as #width
Required: no
width="0"Description: Bale Width
Type: Float
Default: 0
Required: no
/>


<uvId>DEFAULTDescription: Specify that this bale model has a custom UV. This will result in baleWrapper to replace the bale if the UV is different to the defined one in the baleWrapper. So the baleWrapper will always use a bale with a UV that matches the wrapping texture.
Type: String
Default: DEFAULT
Required: no
</uvId>

</bale>