Skip to content

Instantly share code, notes, and snippets.

@Nonlinearsound
Last active March 24, 2019 21:33
Show Gist options
  • Save Nonlinearsound/7a902d9bee0fd3fa4d00ad9ce7b15294 to your computer and use it in GitHub Desktop.
Save Nonlinearsound/7a902d9bee0fd3fa4d00ad9ce7b15294 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<fx>
<crank>
<name>engstart</name>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/merlin-start.wav</path>
<condition>
<property>engines/engine[0]/cranking</property>
<not>
<property>engines/engine[0]/running</property>
</not>
</condition>
<volume>
<property>orientation/alpha-deg</property>
<type>log</type>
<min>0.5</min>
<max>1.0</max>
</volume>
<volume>
<factor>1.2</factor>
<max>1.0</max>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</crank>
<crank>
<name>cough</name>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/splutter.wav</path>
<condition>
<property>engines/engine[0]/cranking</property>
<not>
<property>engines/engine[0]/running</property>
</not>
</condition>
<volume>
<property>orientation/alpha-deg</property>
<type>log</type>
<min>0.5</min>
<max>1.0</max>
</volume>
<volume>
<factor>1.2</factor>
<max>1.0</max>
</volume>
<position>
<x>-2.48</x>
</position>
</crank>
<engine>
<name>engine idle rpm</name>
<mode>looped</mode>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/merlin-idle.wav</path>
<condition>
<less-than>
<property>engines/engine/rpm</property>
<value>1500</value>
</less-than>
<greater-than>
<property>engines/engine/rpm</property>
<value>100</value>
</greater-than>
</condition>
<volume>
<property>orientation/alpha-deg</property>
<type>log</type>
<min>1.0</min>
<max>1.5</max>
</volume>
<pitch>
<property>engines/engine/rpm</property>
<factor>0.0009496</factor>
<min>0.6</min>
<max>2.0</max>
<offset>0</offset>
</pitch>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</engine>
<engine-4>
<name>engine high rpm</name>
<mode>looped</mode>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/merlin-fast.wav</path>
<condition>
<greater-than>
<property>engines/engine/rpm</property>
<value>1400</value>
</greater-than>
<less-than>
<property>engines/engine/rpm</property>
<value>2800</value>
</less-than>
</condition>
<volume>
<property>orientation/alpha-deg</property>
<type>log</type>
<min>1.2</min>
<max>1.5</max>
</volume>
<pitch>
<property>engines/engine/rpm</property>
<factor>0.000462</factor>
<min>0.7</min>
<max>3.0</max>
<offset>0</offset>
</pitch>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</engine-4>
<engine-5>
<name>engine vhigh rpm</name>
<mode>looped</mode>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/merlin-rpm3.wav</path>
<condition>
<greater-than>
<property>engines/engine/rpm</property>
<value>2800</value>
</greater-than>
<less-than>
<property>engines/engine/rpm</property>
<value>6000</value>
</less-than>
</condition>
<volume>
<property>orientation/alpha-deg</property>
<type>log</type>
<min>1.0</min>
<max>1.5</max>
</volume>
<pitch>
<property>engines/engine/rpm</property>
<factor>0.000300</factor>
<min>0.0</min>
<max>2.0</max>
<offset>0</offset>
</pitch>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</engine-5>
<engine>
<name>engine shut down rpm</name>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/merlin-shutdown.wav</path>
<condition>
<property>engines/engine/running</property>
<not>
<property>controls/engines/engine/cutoff</property>
</not>
<less-than-equals>
<property>engines/engine/rpm</property>
<value>1089</value>
</less-than-equals>
</condition>
<volume>
<property>orientation/alpha-deg</property>
<type>log</type>
<min>1.0</min>
<max>1.5</max>
</volume>
<volume>
<property>sim/current-view/internal</property>
<offset>1.0</offset>
<factor>-0.4</factor>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</engine>
<squeal>
<name>squeal</name>
<path>Sounds/squeal.wav</path>
<condition>
<or>
<property>gear/gear[0]/wow</property>
<property>gear/gear[1]/wow</property>
<property>gear/gear[2]/wow</property>
</or>
</condition>
<volume>
<property>velocities/speed-down-fps</property>
<factor>0.5</factor>
<max>1.0</max>
</volume>
<volume>
<property>velocities/airspeed-kt</property>
<factor>0.01</factor>
<max>1.0</max>
</volume>
<volume>
<internal>dt_stop</internal>
<factor>0.05</factor>
<max>1.0</max>
</volume>
<pitch>
<property>velocities/airspeed-kt</property>
<factor>0.0025</factor>
<offset>1.2</offset>
</pitch>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</squeal>
<guns>
<name>gunfire</name>
<mode>looped</mode>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/gunfire_1.wav</path>
<condition>
<property>controls/armament/trigger</property>
<property>ai/submodels/submodel/count</property>
</condition>
<volume>
<factor>1.2</factor>
<max>1.0</max>
</volume>
</guns>
<!-- flyby -->
<flyby>
<name>fly-by</name>
<mode>once</mode>
<path>Aircraft/SpitfireVb_VooDoo/Sounds/flyby.wav</path>
<condition>
<and>
<greater-than>
<property>velocities/airspeed-kt</property>
<value>50</value>
</greater-than>
<equals>
<property>sim/current-view/view-number</property>
<value>6</value>
</equals>
</and>
<not>
<property>/sim/current-view/internal</property>
<property>/engines/engine/out-of-fuel</property>
</not>
</condition>
<volume>
<property>velocities/airspeed-kt</property>
<factor>0.001</factor>
</volume>
</flyby>
</fx>
</PropertyList>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment