Multiplayer Custom Sounds Tutorial: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
Both [[Operation Flashpoint]] and [[Armed Assault]] support players having their own custom radio sounds in multiplayer which can be used to both amuse and annoy other players. However, many players make the mistake of using too high bitrates resulting in unnecessarily high file sizes causing extra lag and longer load/join times. The [http://en.wikipedia.org/wiki/Vorbis Vorbis ("OGG")] codec used by BIS handles low bitrates quite well resulting in small yet usable sound files.
[[Image:arma_1.00.gif]] [[Image:arma2_1.00.gif]]


=Making the custom sounds=
=About=
==Step 1==
[[Operation Flashpoint]], [[Armed Assault]] and [[ArmA 2|Armed Assault 2]] support players having their own custom radio sounds in multiplayer which can be used to both amuse and annoy other players. However, many players make the mistake of using too high bitrates resulting in unnecessarily high file sizes causing extra lag and longer load/join times. The [http://en.wikipedia.org/wiki/Vorbis Vorbis ("OGG")] codec used by BIS handles low bitrates quite well resulting in small yet usable sound files.
Edit your own sound clip (make it short as possible, long custom sounds are just annoying) and save it as a WAV file using 44.1KHz sampling frequency and mono. [http://audacity.sourceforge.net/ Audacity] is a free simple tool that can do this.


The steps presented here however deal with the creation of OGG files using oggdropXPd. Apart from application specific behaviour, the steps should be similar in other applications.
=Sound file settings=
== File location ==


==Step 2==
Create a directory "''Sound''" in your players profile directory and place your OGG-files there.
Download the newest version of [http://www.rarewares.org/ogg.html oggdropXPd]. Extract and run the program.


==Step 3==
*WinXP: "''...My Documents\Arma (or Arma Other Profiles)\''"
Right click the oggdrop window and select encoding options.
*Vista: "''C:Users\UserName\Documents\ArmA2 Other Profiles\PlayerName\Sound''"
[[Image:Step3.png|thumb|Selecting the encoding options.]]


==Step 4==
== Known restrictions ==
Set you compression options, only the uppermost options are relevant in most cases. I personally prefer "Use CBR mode" and 32Kbits, it produces sufficient quality while keeping most of my short clips under 10KB. Click accept after you have chosen your options.
[[Image:Step4.png|thumb|Setting your encoding options]]


==Step 5==
*'''Filesize''': max. 50 KB (beside possible server-side restrictions)
Now, drag your WAV file into the oggdrop main window and an .ogg file should be generated into the same directory where the origal WAV file is located. Play the .ogg file with an audio player just to make sure it's working.


==Step 6==
*'''Filetype''': OGG
Move the resulting .ogg file into your user folder's Sound subfolder (create one if you have to). Your user folder should be located in My Documents/Arma (or Arma Other Profiles)/.


==Step 7==
*'''Number of custom sounds''': max. 9
Join a multiplayer game and use the custom sound radio menu (0-9) to annoy the hell out of your fellow players.


[[Category:ArmA: Multiplayer]]
== Filename ==
 
Although there is no special restriction, the filename becomes the text which will be shown in the chat
while you play your custom sound. So if youre sound file says something
like "I need a medic" then it would make sense to name your soundfile "I need a medic.ogg".
 
== How to use In-game==
In Multiplayer use your custom sound radio menu (0-9-x) to play your custom sounds. "x" is the number of the listed sound file.
 
 
=Converting your custom sounds to OGG format=
There are several tools to convert sound files to OGG. Let's explain the method with two of them:
* [http://audacity.sourceforge.net/ Audacity] (Open Source), sound editor
* [http://www.rarewares.org/ogg.html oggdropXPd] (Free to use), OGG converter only
 
 
'''Tipps''':
* Sampling rate of 44.1 kHz is OK.
* Stereo isn't really needed, and as benefit mono will reduce filesize
* For simulated radio transmissions 16 Bit sampling format is best. For better quality stay with 32 Bit, but consider the bigger filesize.
==Audacity==
#Load your soundfile into Audacity (File -> Open)
#Set bitrate if necessary (see Fig. 2)
#Export to OGG-format (File -> Export to OGG)
 
{|
|[[Image:Audacity_main.jpg|thumb|'''Fig.1: Audacity''': Main window]]
|[[Image:Audacity_settings.jpg|thumb|'''Fig.2: Audacity:''' Settings]]
|}
'''Enhancements'''
 
*If your filesize as OGG is still bigger than 50 KB then you may consider to reduce the quality of your OGG file.
*Under Edit -> Properties -> Fileformats you can set the quality of your OGG export from 0 to 10 (preset is 5).
 
==oggdropXPd==
'''Remark''': Your original sound file has to be in WAV format.
# Download the newest version of [http://www.rarewares.org/ogg.html oggdropXPd]. Extract and run the program.
# Right click the oggdrop window and select encoding options.
#Set you compression options, only the uppermost options are relevant in most cases. I personally prefer "Use CBR mode" and 32Kbits, it produces sufficient quality while keeping most of my short clips under 10KB. Click accept after you have chosen your options.
#Now, drag your WAV file into the oggdrop main window and an .ogg file should be generated into the same directory where the origal WAV file is located. Play the .ogg file with an audio player just to make sure it's working.
#Move the resulting .ogg file into your user folder's "''Soun''d" subfolder.
 
{|
|[[Image:Step3.png|thumb|'''Fig.3: oggdropXPd''': Selecting the encoding options.]]
|[[Image:Step4.png|thumb|'''Fig.4: oggdropXPd''': Setting your encoding options]]
|}
 
==Useful links==
*[http://www.brickfilms.com/index.php?action=tutorials&op=view&tutorialname=Radio%20Transmission%20Sound%20Effect%20in%20Audacity Radio transmissions sound effects in Audacity]
*[http://wiki.audacityteam.org/index.php?title=Audacity_Wiki_Home_Page Audacity Wiki]
[[Category:ArmA: Multiplayer]][[Category:ArmA_2|Custom sound]] [[Category:Arma_2:_Multiplayer|Custom sound]]

Revision as of 12:30, 24 July 2009

arma 1.00.gif arma2 1.00.gif

About

Operation Flashpoint, Armed Assault and Armed Assault 2 support players having their own custom radio sounds in multiplayer which can be used to both amuse and annoy other players. However, many players make the mistake of using too high bitrates resulting in unnecessarily high file sizes causing extra lag and longer load/join times. The Vorbis ("OGG") codec used by BIS handles low bitrates quite well resulting in small yet usable sound files.

Sound file settings

File location

Create a directory "Sound" in your players profile directory and place your OGG-files there.

  • WinXP: "...My Documents\Arma (or Arma Other Profiles)\"
  • Vista: "C:Users\UserName\Documents\ArmA2 Other Profiles\PlayerName\Sound"

Known restrictions

  • Filesize: max. 50 KB (beside possible server-side restrictions)
  • Filetype: OGG
  • Number of custom sounds: max. 9

Filename

Although there is no special restriction, the filename becomes the text which will be shown in the chat while you play your custom sound. So if youre sound file says something like "I need a medic" then it would make sense to name your soundfile "I need a medic.ogg".

How to use In-game

In Multiplayer use your custom sound radio menu (0-9-x) to play your custom sounds. "x" is the number of the listed sound file.


Converting your custom sounds to OGG format

There are several tools to convert sound files to OGG. Let's explain the method with two of them:


Tipps:

  • Sampling rate of 44.1 kHz is OK.
  • Stereo isn't really needed, and as benefit mono will reduce filesize
  • For simulated radio transmissions 16 Bit sampling format is best. For better quality stay with 32 Bit, but consider the bigger filesize.

Audacity

  1. Load your soundfile into Audacity (File -> Open)
  2. Set bitrate if necessary (see Fig. 2)
  3. Export to OGG-format (File -> Export to OGG)
Fig.1: Audacity: Main window
Fig.2: Audacity: Settings

Enhancements

  • If your filesize as OGG is still bigger than 50 KB then you may consider to reduce the quality of your OGG file.
  • Under Edit -> Properties -> Fileformats you can set the quality of your OGG export from 0 to 10 (preset is 5).

oggdropXPd

Remark: Your original sound file has to be in WAV format.

  1. Download the newest version of oggdropXPd. Extract and run the program.
  2. Right click the oggdrop window and select encoding options.
  3. Set you compression options, only the uppermost options are relevant in most cases. I personally prefer "Use CBR mode" and 32Kbits, it produces sufficient quality while keeping most of my short clips under 10KB. Click accept after you have chosen your options.
  4. Now, drag your WAV file into the oggdrop main window and an .ogg file should be generated into the same directory where the origal WAV file is located. Play the .ogg file with an audio player just to make sure it's working.
  5. Move the resulting .ogg file into your user folder's "Sound" subfolder.
Fig.3: oggdropXPd: Selecting the encoding options.
Fig.4: oggdropXPd: Setting your encoding options

Useful links