<map>

<fillTypeCategories>
<fillTypeCategory name="string"Description: Name of category
Type: String
Required: no
>stringDescription: list of fillTypes, space separated
Type: String
Required: no
</fillTypeCategory>

</fillTypeCategories>

<fillTypeConverters>
<fillTypeConverter name="string"Description: Converter name
Type: String
Required: no
>

<converter factor="float"Description: Multiplied by factor
Type: Float
Required: no
from="string"Description: From fill type
Type: String
Required: no
to="string"Description: To fill type
Type: String
Required: no
/>

</fillTypeConverter>
</fillTypeConverters>

<fillTypes>
<fillType achievementName="string"Description: Name of linked archivement
Type: String
Required: no
fillPlaneColors="1 1 1"Description: Color of fill plane used in animal husbandry
Type: Multiple values (x, y, z)
Default: 1 1 1
Required: no
name="string"Description: Name of fill type
Type: String
Required: no
showOnPriceTable="boolean"Description: Show fill type in pricing menu
Type: Boolean
Required: no
title="string"Description: Display name of fill type
Type: String
Required: no
unitShort="string"Description: Unit short localization key
Type: String
Required: no
>

<economy pricePerLiter="float"Description: Price per liter
Type: Float
Required: no
>

<factors>
<factor period="integer"Description: Period index
Type: Integer
Required: no
value="float"Description: Price factor to apply in this period
Type: Float
Required: no
/>

</factors>
</economy>
<effects fillSmokeColor="x y z w"Description: Color of smoke effects
Type: Multiple values (x, y, z, w)
Required: no
fruitSmokeColor="x y z w"Description: Color of fruit smoke effects
Type: Multiple values (x, y, z, w)
Required: no
prioritizedEffectType="ShaderPlaneEffect"Description: Defines which effect type is priorized in e.g. unloading effects
Type: String
Default: ShaderPlaneEffect
Required: no
/>

<image hud="string"Description: Path to hud image
Type: String
Required: no
/>

<pallet filename="string"Description: Pallet xml filename which is spawned on unloading
Type: String
Required: no
/>

<physics massPerLiter="float"Description: Mass per liter/unit in kilograms
Type: Float
Required: no
maxPhysicalSurfaceAngle="float"Description: Max physical surface angle used on fill volumes
Type: Float
Required: no
/>

<textures diffuse="string"Description: Path to fill plane diffuse map
Type: String
Required: no
distance="string"Description: Path to fill plane distance diffuse map
Type: String
Required: no
normal="string"Description: Path to fill plane normal map
Type: String
Required: no
specular="string"Description: Path to fill plane specular map
Type: String
Required: no
/>

</fillType>
</fillTypes>

<fillTypeSounds>
<fillTypeSound fillTypes="string"Description: list of fillTypes, space separated
Type: String
Required: no
isDefault="false"Description: Is default sound
Type: Boolean
Default: false
Required: no
>

<sound debug="false"Description: Flag to enable debug rendering
Type: Boolean
Default: false
Required: no
fadeIn="0"Description: Fade in time in seconds
Type: Float
Default: 0
Required: no
fadeOut="0"Description: Fade out time in seconds
Type: Float
Default: 0
Required: no
file="string"Description: Path to sound sample
Type: String
Required: no
innerRadius="80"Description: Inner radius
Type: Float
Default: 80
Required: no
isLocalSound="false"Description: While set for vehicle sounds it will only play for the player currently using the vehicle
Type: Boolean
Default: false
Required: no
linkNode="node"Description: Link node for 3d sound
Type: Index to i3d node or i3d mapping identifier
Required: no
linkNodeOffset="x y z"Description: Sound source will be offset by this value to the link node
Type: Translation values (x, y, z)
Required: no
loops="1"Description: Number of loops (0 = infinite)
Type: Integer
Default: 1
Required: no
loopSynthesisRPMRatio="1"Description: Ratio between rpm in the gls file and actual rpm of the motor (e.g. 0.9: max. rpm in the gls file will be reached at 90% of motor rpm)
Type: Float
Default: 1
Required: no
lowpassGainScale="1"Description: Additional lowpass gain that is applied on the volume attributes
Type: Float
Default: 1
Required: no
outerRadius="5"Description: Outer radius
Type: Float
Default: 5
Required: no
parent="string"Description: Parent sample for heredity
Type: String
Required: no
pitchScale="1"Description: Additional pitch that is applied on the volume attributes
Type: Float
Default: 1
Required: no
supportsReverb="true"Description: Flag to disable reverb
Type: Boolean
Default: true
Required: no
template="string"Description: Sound template name
Type: String
Required: no
volumeScale="1"Description: Additional scale that is applied on the volume attributes
Type: Float
Default: 1
Required: no
>

<loopSynthesisLoad>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</loopSynthesisLoad>
<loopSynthesisRpm>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</loopSynthesisRpm>
<lowpassCutoffFrequency indoor="5000"Description: Indoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
outdoor="5000"Description: Outdoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
/>

<lowpassGain indoor="0.8"Description: Indoor lowpass gain
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor lowpass gain
Type: Float
Default: 1
Required: no
>

<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</lowpassGain>
<lowpassResonance indoor="2"Description: Indoor lowpass resonance
Type: Float
Default: 2
Required: no
outdoor="2"Description: Outdoor lowpass resonance
Type: Float
Default: 2
Required: no
/>

<pitch indoor="1"Description: Indoor pitch
Type: Float
Default: 1
Required: no
outdoor="1"Description: Outdoor pitch
Type: Float
Default: 1
Required: no
>

<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</pitch>
<randomization isInside="true"Description: Randomization is applied inside
Type: Boolean
Default: true
Required: no
isOutside="true"Description: Randomization is applied outside
Type: Boolean
Default: true
Required: no
maxLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
maxPitch="float"Description: Max pitch
Type: Float
Required: no
maxVolume="float"Description: Max volume
Type: Float
Required: no
minLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
minPitch="float"Description: Max pitch
Type: Float
Required: no
minVolume="float"Description: Min volume
Type: Float
Required: no
/>

<sourceRandomization file="string"Description: Path to sound sample
Type: String
Required: no
/>

<volume indoor="0.8"Description: Indoor volume
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor volume
Type: Float
Default: 1
Required: no
>

<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>

</volume>
</sound>
</fillTypeSound>
</fillTypeSounds>

<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>
</map>