<sound>

<ambient>
<sample filename="string"Description: Sample filename
Type: String
Required: no
probability="1"Description: Sample probability
Type: Float
Default: 1
Required: no
>

<prevent afternoon="boolean"Description: Prevent flag afternoon
Type: Boolean
Required: no
autumn="boolean"Description: Prevent flag autumn
Type: Boolean
Required: no
cloudy="boolean"Description: Prevent flag cloudy
Type: Boolean
Required: no
inForest="boolean"Description: Prevent flag inForest
Type: Boolean
Required: no
inVehicle="boolean"Description: Prevent flag inVehicle
Type: Boolean
Required: no
isIndoor="boolean"Description: Prevent flag isIndoor
Type: Boolean
Required: no
morning="boolean"Description: Prevent flag morning
Type: Boolean
Required: no
nearWater="boolean"Description: Prevent flag nearWater
Type: Boolean
Required: no
night="boolean"Description: Prevent flag night
Type: Boolean
Required: no
noon="boolean"Description: Prevent flag noon
Type: Boolean
Required: no
outVehicle="boolean"Description: Prevent flag outVehicle
Type: Boolean
Required: no
postNoon="boolean"Description: Prevent flag postNoon
Type: Boolean
Required: no
postSunrise="boolean"Description: Prevent flag postSunrise
Type: Boolean
Required: no
postSunset="boolean"Description: Prevent flag postSunset
Type: Boolean
Required: no
preNoon="boolean"Description: Prevent flag preNoon
Type: Boolean
Required: no
preSunrise="boolean"Description: Prevent flag preSunrise
Type: Boolean
Required: no
preSunset="boolean"Description: Prevent flag preSunset
Type: Boolean
Required: no
rain="boolean"Description: Prevent flag rain
Type: Boolean
Required: no
snow="boolean"Description: Prevent flag snow
Type: Boolean
Required: no
spring="boolean"Description: Prevent flag spring
Type: Boolean
Required: no
summer="boolean"Description: Prevent flag summer
Type: Boolean
Required: no
sun="boolean"Description: Prevent flag sun
Type: Boolean
Required: no
sunrise="boolean"Description: Prevent flag sunrise
Type: Boolean
Required: no
sunset="boolean"Description: Prevent flag sunset
Type: Boolean
Required: no
winter="boolean"Description: Prevent flag winter
Type: Boolean
Required: no
/>

<required afternoon="boolean"Description: Required flag afternoon
Type: Boolean
Required: no
autumn="boolean"Description: Required flag autumn
Type: Boolean
Required: no
cloudy="boolean"Description: Required flag cloudy
Type: Boolean
Required: no
inForest="boolean"Description: Required flag inForest
Type: Boolean
Required: no
inVehicle="boolean"Description: Required flag inVehicle
Type: Boolean
Required: no
isIndoor="boolean"Description: Required flag isIndoor
Type: Boolean
Required: no
morning="boolean"Description: Required flag morning
Type: Boolean
Required: no
nearWater="boolean"Description: Required flag nearWater
Type: Boolean
Required: no
night="boolean"Description: Required flag night
Type: Boolean
Required: no
noon="boolean"Description: Required flag noon
Type: Boolean
Required: no
outVehicle="boolean"Description: Required flag outVehicle
Type: Boolean
Required: no
postNoon="boolean"Description: Required flag postNoon
Type: Boolean
Required: no
postSunrise="boolean"Description: Required flag postSunrise
Type: Boolean
Required: no
postSunset="boolean"Description: Required flag postSunset
Type: Boolean
Required: no
preNoon="boolean"Description: Required flag preNoon
Type: Boolean
Required: no
preSunrise="boolean"Description: Required flag preSunrise
Type: Boolean
Required: no
preSunset="boolean"Description: Required flag preSunset
Type: Boolean
Required: no
rain="boolean"Description: Required flag rain
Type: Boolean
Required: no
snow="boolean"Description: Required flag snow
Type: Boolean
Required: no
spring="boolean"Description: Required flag spring
Type: Boolean
Required: no
summer="boolean"Description: Required flag summer
Type: Boolean
Required: no
sun="boolean"Description: Required flag sun
Type: Boolean
Required: no
sunrise="boolean"Description: Required flag sunrise
Type: Boolean
Required: no
sunset="boolean"Description: Required flag sunset
Type: Boolean
Required: no
winter="boolean"Description: Required flag winter
Type: Boolean
Required: no
/>

<settings audioGroup="ENVIRONMENT"Description: The audio group the sound will be assigned to
Type: String
Default: ENVIRONMENT
Required: no
fadeInTime="0"Description: The fade in time in seconds
Type: Float
Default: 0
Required: no
fadeOutTime="0"Description: The fade out time in seconds
Type: Float
Default: 0
Required: no
indoorVolume="0.8"Description: The volume if the player is indoor or in a vehicle
Type: Float
Default: 0.8
Required: no
maxDelay="0"Description: The max delay in milliseconds
Type: Float
Default: 0
Required: no
maxLength="0"Description: The max length time in milliseconds
Type: Float
Default: 0
Required: no
maxLoops="1"Description: The maximum number of loops played once a sound is triggered
Type: Integer
Default: 1
Required: no
maxPitch="1"Description: The max pitch
Type: Float
Default: 1
Required: no
maxRetriggerDelaySeconds="0"Description: The maximum number of seconds until the sound has to be retriggered
Type: Float
Default: 0
Required: no
maxVolume="1"Description: The maxVolume if the player is outdoor
Type: Float
Default: 1
Required: no
minDelay="0"Description: The min delay in milliseconds
Type: Float
Default: 0
Required: no
minLength="0"Description: The min length time in milliseconds
Type: Float
Default: 0
Required: no
minLoops="1"Description: The minimum number of loops played once a sound is triggered (0 means it will play one loop)
Type: Integer
Default: 1
Required: no
minPitch="1"Description: The min pitch
Type: Float
Default: 1
Required: no
minRetriggerDelaySeconds="0"Description: The minimum number of seconds until sound can be retriggred
Type: Float
Default: 0
Required: no
minVolume="1"Description: The minVolume if the player is outdoor
Type: Float
Default: 1
Required: no
/>

<variation fadeInTime="0"Description: The fade in time in seconds
Type: Float
Default: 0
Required: no
fadeOutTime="0"Description: The fade out time in seconds
Type: Float
Default: 0
Required: no
filename="string"Description: Sample filename
Type: String
Required: no
indoorVolume="0.8"Description: The volume if the player is indoor or in a vehicle
Type: Float
Default: 0.8
Required: no
maxDelay="0"Description: The max delay in milliseconds
Type: Float
Default: 0
Required: no
maxLength="0"Description: The max length time in milliseconds
Type: Float
Default: 0
Required: no
maxLoops="1"Description: The maximum number of loops played once a sound is triggered
Type: Integer
Default: 1
Required: no
maxPitch="1"Description: The max pitch
Type: Float
Default: 1
Required: no
maxVolume="1"Description: The maxVolume if the player is outdoor
Type: Float
Default: 1
Required: no
minDelay="0"Description: The min delay in milliseconds
Type: Float
Default: 0
Required: no
minLength="0"Description: The min length time in milliseconds
Type: Float
Default: 0
Required: no
minLoops="1"Description: The minimum number of loops played once a sound is triggered (0 means it will play one loop)
Type: Integer
Default: 1
Required: no
minPitch="1"Description: The min pitch
Type: Float
Default: 1
Required: no
minVolume="1"Description: The minVolume if the player is outdoor
Type: Float
Default: 1
Required: no
probability="1"Description: Sample probability
Type: Float
Default: 1
Required: no
/>

</sample>
</ambient>

<ambient3d filename="string"Description: 3d Ambient sound file
Type: String
Required: no
/>


<cutting>
<sample 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
name="string"Description: Cutting sample name
Type: String
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>
</sample>
</cutting>

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

<surface>
<material loopCount="integer"Description: Sample loop count
Type: Integer
Required: no
materialId="integer"Description: Material id
Type: Integer
Required: no
name="string"Description: Material name
Type: String
Required: no
template="string"Description: Sample template
Type: String
Required: no
type="string"Description: Sample type
Type: String
Required: no
/>

</surface>
</sound>