Difference between revisions of "Sound modifications"

From War Thunder Wiki
Jump to: navigation, search
m (How to create sound modifications)
(y)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{Notice
 +
|
 +
In update 1.99.1.39, the original game sound files have been changed. Download the [https://github.com/GaijinEntertainment/fmod_studio_warthunder_for_modders repository], to update your sound mod for War Thunder!
 +
}}<br>
 
{{Notice
 
{{Notice
 
|Be careful! Sound modifications, if not executed perfectly, are capable of leading to problems operating the game and may even harm your health!
 
|Be careful! Sound modifications, if not executed perfectly, are capable of leading to problems operating the game and may even harm your health!
  
 
Any individual that creates custom sound modifications, modifies the game’s audio files, or makes use of sound modification files created by any other person, does so at their own risk, and we (Gaijin) will take no responsibility for their, or anyone else’s, use of those modifications.|!
 
Any individual that creates custom sound modifications, modifies the game’s audio files, or makes use of sound modification files created by any other person, does so at their own risk, and we (Gaijin) will take no responsibility for their, or anyone else’s, use of those modifications.|!
}}
+
}}<br>
 
 
 
== How to implement sound modifications ==
 
== How to implement sound modifications ==
 
[[File:Sound modifications - config.blk.png|thumb|400x400px]]
 
[[File:Sound modifications - config.blk.png|thumb|400x400px]]
Visit the sound modifications section on [https://live.warthunder.com/feed/all/ War Thunder LIVE] (which will be released soon!)
+
Visit the sound modifications section on [https://live.warthunder.com/feed/sounds/ War Thunder LIVE]
  
 
# Choose and download your chosen modification files, (make sure you trust the source before doing so).
 
# Choose and download your chosen modification files, (make sure you trust the source before doing so).
# Open the game’s config.blk, which is located in the War Thunder game folder, by using any text editor and add the line: enable_mod:b=yes to the sound block, pictured below.
+
# Open the game’s config.blk, which is located in the War Thunder game folder, using any text editor and add the line: <code>enable_mod:b=yes</code> to the sound block, pictured below.
 +
# Some mods require  the following variables and values ​​to be added to the sound {} block of the config.blk file.
 +
#* <code>useLoopsForGunSound:b=yes</code> - enables support for the sounds of rapid-fire aircraft guns, implemented by the method of loops (looped pre-rendered sounds of gun bursts). The need to add a line is indicated by the author of the modification.
 +
#* <code>useLoopsForGunSound:b=no</code> - default value (no need to specify in the config.blk). In this case, the sounds of rapid-fire aircraft guns also play using the loop method, but the sound of the queue starts when the on_shot parameter is set to "1". Returning to "0" ends the queue sound.
 +
#* <code>useLoopsForGMGunSound:b=no</code> - in this case, sound of ground and naval vehicles plays in the oneshot mode, i.e. every shot requires on_shot parameter set to 1.
 +
#* <code>useLoopsForGMGunSound:b=yes</code> - default value (no need to specify in the config.blk). In this case, the sounds of rapid-fireground and naval guns also play using the loop method, but the sound of the queue starts when the on_shot parameter is set to "1". Returning to "0" ends the queue sound.
 
# Save the changes made to the file.
 
# Save the changes made to the file.
 
# Find the “sound” folder located in the War Thunder game folder, and within it, create a new folder named “mod”.
 
# Find the “sound” folder located in the War Thunder game folder, and within it, create a new folder named “mod”.
Line 20: Line 28:
  
 
== How to rollback sound modification changes ==
 
== How to rollback sound modification changes ==
If the game becomes unstable following the implementation of a sound modification, or you decide you don’t like the result of the modification, you can rollback the changes. To do this, just change the line “enable_mod:b=yes” to “enable_mod:b=no” in the config.blk or just delete this line entirely.
+
If the game becomes unstable following the implementation of a sound modification, or you decide you don’t like the result of the modification, you can rollback the changes. To do this, just change the line “enable_mod:b=yes” to “enable_mod:b=no” in the config.blk or just delete this line entirely. Also, be sure to delete the mod folder with all content from the sound folder.
  
 
Following these steps, War Thunder will start using the standard sound effects once again.
 
Following these steps, War Thunder will start using the standard sound effects once again.
 
Don’t forget to then delete the ‘mod’ folder containing the modification from the “sounds” folder.
 
  
 
== How to create sound modifications ==
 
== How to create sound modifications ==
Line 32: Line 38:
 
# Open the sound project in the current version of Fmod Studio.
 
# Open the sound project in the current version of Fmod Studio.
 
# The current version of the Fmod Studio for War Thunder can be found on the sound project page on Github in the readme file.
 
# The current version of the Fmod Studio for War Thunder can be found on the sound project page on Github in the readme file.
# Find the sound you want to change in the sounds folder which is located in the Assets folder in the fmod_studio_warthunder_for_modders-master folder.
+
# Make changes to the sound events without changing the names of the files, the location of the files, or the structure/hierarchy of the folder.
# Paste the sound file you want to be your modified sound (MG.wav) in the same folder as the original sound as in this [https://snipboard.io/ENwv5U.jpg screenshot].
+
# Please note that if you want to implement sounds of rapid-fire guns via loops (looped pre-rendered sounds of the gun bursts) you will need to add the following line to the block <code>sound{}</code> of the config.blk file: <code>useLoopsForGunSound:b=yes</code> - Also don’t forget to notify the users of your mod about this.
# Copy the name of the original sound file (vickers_mkv.wav) and then delete it.
+
# Assemble the data banks where change events are located without amending the names of the data banks or the composition of events in them.
# Rename your new sound file (MG.wav) to the EXACT same name as the original sound file (vickers_mkv.wav) as in this [https://snipboard.io/5zbOo7.jpg screenshot]. You can do this for as many sounds as you want to modify.
 
# Click file>build which will build your banks.
 
# Copy the banks into your mod folder in the sounds folder located in the War Thunder file directory as in this [https://snipboard.io/d3cNFO.jpg screenshot].
 
# Please note, this is an example. The following method above works for any sound file in the modding folder. Your modified sound MUST be named exactly the same as the original sound file or Fmod Studio will give an error saying that it can't find all the required sounds to build the project.
 
  
 
Check your saved project before sharing it with other players!
 
Check your saved project before sharing it with other players!
 +
 
[[Category:War Thunder CDK]]
 
[[Category:War Thunder CDK]]

Latest revision as of 19:14, 19 July 2023

Msg-info.png

In update 1.99.1.39, the original game sound files have been changed. Download the repository, to update your sound mod for War Thunder!


Msg-important.png Be careful! Sound modifications, if not executed perfectly, are capable of leading to problems operating the game and may even harm your health!

Any individual that creates custom sound modifications, modifies the game’s audio files, or makes use of sound modification files created by any other person, does so at their own risk, and we (Gaijin) will take no responsibility for their, or anyone else’s, use of those modifications.


How to implement sound modifications

Sound modifications - config.blk.png

Visit the sound modifications section on War Thunder LIVE

  1. Choose and download your chosen modification files, (make sure you trust the source before doing so).
  2. Open the game’s config.blk, which is located in the War Thunder game folder, using any text editor and add the line: enable_mod:b=yes to the sound block, pictured below.
  3. Some mods require the following variables and values ​​to be added to the sound {} block of the config.blk file.
    • useLoopsForGunSound:b=yes - enables support for the sounds of rapid-fire aircraft guns, implemented by the method of loops (looped pre-rendered sounds of gun bursts). The need to add a line is indicated by the author of the modification.
    • useLoopsForGunSound:b=no - default value (no need to specify in the config.blk). In this case, the sounds of rapid-fire aircraft guns also play using the loop method, but the sound of the queue starts when the on_shot parameter is set to "1". Returning to "0" ends the queue sound.
    • useLoopsForGMGunSound:b=no - in this case, sound of ground and naval vehicles plays in the oneshot mode, i.e. every shot requires on_shot parameter set to 1.
    • useLoopsForGMGunSound:b=yes - default value (no need to specify in the config.blk). In this case, the sounds of rapid-fireground and naval guns also play using the loop method, but the sound of the queue starts when the on_shot parameter is set to "1". Returning to "0" ends the queue sound.
  4. Save the changes made to the file.
  5. Find the “sound” folder located in the War Thunder game folder, and within it, create a new folder named “mod”.
  6. Extract the modification files to the newly created ‘mod’ folder.

War Thunder will now use the new modified sounds.

Note: If the modifications have not been created or implemented correctly, the game may exhibit errors!

How to rollback sound modification changes

If the game becomes unstable following the implementation of a sound modification, or you decide you don’t like the result of the modification, you can rollback the changes. To do this, just change the line “enable_mod:b=yes” to “enable_mod:b=no” in the config.blk or just delete this line entirely. Also, be sure to delete the mod folder with all content from the sound folder.

Following these steps, War Thunder will start using the standard sound effects once again.

How to create sound modifications

The creation of custom sound modifications is possible with the Fmod Studio (you will need to register on the relevant page and download the software).

  1. Download or clone the sound project from the official repository
  2. Open the sound project in the current version of Fmod Studio.
  3. The current version of the Fmod Studio for War Thunder can be found on the sound project page on Github in the readme file.
  4. Make changes to the sound events without changing the names of the files, the location of the files, or the structure/hierarchy of the folder.
  5. Please note that if you want to implement sounds of rapid-fire guns via loops (looped pre-rendered sounds of the gun bursts) you will need to add the following line to the block sound{} of the config.blk file: useLoopsForGunSound:b=yes - Also don’t forget to notify the users of your mod about this.
  6. Assemble the data banks where change events are located without amending the names of the data banks or the composition of events in them.

Check your saved project before sharing it with other players!