Crash and stress damage system: Difference between revisions

Jump to navigation Jump to search
(→‎How to install the current system on an aircraft: version 0.13, with some improvements and bugfixes)
Line 578: Line 578:
</syntaxhighlight>
</syntaxhighlight>


Add this to your sounds file:
Add this to your sounds file, remember to replace JA37, with your aircraft folder name:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
        <aircraft-explode>
  <aircraft-explode>
   <name>aircraft-explode</name>
   <name>aircraft-explode</name>
   <path>Sounds/aircraft-explode.wav</path>
   <path>Aircraft/JA37/Sounds/aircraft-explode.wav</path>
   <mode>once</mode>
   <mode>once</mode>
   <condition>
   <condition>
                      <or>
      <equals>
              <equals>
      <property>damage/sounds/explode-on</property>
        <property>damage/sounds/explode-on</property>
        <value>1</value>
                <value>1</value>
     </equals>
     </equals>
                        <equals>
                            <property>damage/sounds/detach-on</property>
                            <value>1</value>
                          </equals>
                        </or>
   </condition>
   </condition>
      <position>
        <x>0.01</x>
        <y>0.01</y>
        <z>0.01</z>
      </position>
   <volume>
   <volume>
   <factor>1</factor>
   <factor>3</factor>
        <max>3</max>
   </volume>
   </volume>
   </aircraft-explode>
   </aircraft-explode>
    <aircraft-detach>
      <name>aircraft-detach</name>
      <path>Aircraft/JA37/Sounds/aircraft-wings-detach.wav</path>
      <mode>once</mode>
      <condition>
          <equals>
            <property>damage/sounds/detach-on</property>
            <value>1</value>
          </equals>
      </condition>
      <position>
        <x>0.01</x>
        <y>0.01</y>
        <z>0.01</z>
      </position>     
      <volume>
        <factor>1</factor>
      </volume>
    </aircraft-detach>
       


   <aircraft-crash>
   <aircraft-crash>
   <name>aircraft-crash</name>
   <name>aircraft-impact</name>
   <path>Sounds/aircraft-crash.wav</path>
   <path>Sounds/aircraft-crash.wav</path>
   <mode>once</mode>
   <mode>once</mode>
Line 612: Line 634:
     </equals>
     </equals>
   </condition>
   </condition>
      <position>
        <x>0.01</x>
        <y>0.01</y>
        <z>0.01</z>
      </position>     
   <volume>
   <volume>
   <factor>1</factor>
   <factor>1</factor>
Line 619: Line 646:
   <aircraft-water-crash>
   <aircraft-water-crash>
   <name>aircraft-water-crash</name>
   <name>aircraft-water-crash</name>
   <path>Sounds/aircraft-water-crash.wav</path>
   <path>Aircraft/JA37/Sounds/aircraft-water-crash.wav</path>
   <mode>once</mode>
   <mode>once</mode>
   <condition>
   <condition>
Line 627: Line 654:
   </equals>
   </equals>
   </condition>
   </condition>
      <position>
        <x>0.01</x>
        <y>0.01</y>
        <z>0.01</z>
      </position>     
   <volume>
   <volume>
   <factor>1</factor>
   <factor>1</factor>
Line 634: Line 666:
   <aircraft-crack>
   <aircraft-crack>
   <name>aircraft-crack</name>
   <name>aircraft-crack</name>
   <path>Sounds/aircraft-crack.wav</path>
   <path>Aircraft/JA37/Sounds/aircraft-crack.wav</path>
   <mode>once</mode>
   <mode>once</mode>
   <condition>
   <condition>
Line 643: Line 675:
   </equals>
   </equals>
   </condition>
   </condition>
      <position>
        <x>0.01</x>
        <y>0.01</y>
        <z>0.01</z>
      </position>     
   <volume>
   <volume>
   <property>damage/sounds/crack-volume</property>
   <property>damage/sounds/crack-volume</property>
Line 651: Line 688:
   <aircraft-creaking>
   <aircraft-creaking>
   <name>aircraft-creaking</name>
   <name>aircraft-creaking</name>
   <path>Sounds/aircraft-creaking.wav</path>
   <path>Aircraft/JA37/Sounds/aircraft-creaking.wav</path>
   <mode>looped</mode>
   <mode>looped</mode>
   <condition>
   <condition>
Line 660: Line 697:
   </equals>
   </equals>
   </condition>
   </condition>
      <position>
        <x>0.01</x>
        <y>0.01</y>
        <z>0.01</z>
      </position>     
   <volume>
   <volume>
   <property>damage/sounds/creaking-volume</property>
   <property>damage/sounds/creaking-volume</property>
Line 667: Line 709:
</syntaxhighlight>
</syntaxhighlight>


Add some sounds to the aircraft sound folder that corresponds to the file names used in the above. (you can use those in the Mig15 or Ja-37 folders)
Add some sounds to the aircraft sound folder that corresponds to the file names used in the above. (you can use those in the Mig15 or JA-37 folders)


Optionally add these signals to the replay recorder:
Optionally add these signals to the replay recorder:
574

edits

Navigation menu