Multiplayer Custom Sounds Tutorial

From Bohemia Interactive Community
Revision as of 19:12, 27 April 2018 by KC Grimes (talk | contribs) (Move to Arma Scripting Tutorials category)
Jump to navigation Jump to search

arma 1.00.gif arma2 1.00.gif

About

Operation Flashpoint, Armed Assault, ArmA 2 and Arma 3 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.

File location

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

ArmA:

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


ArmA 2:

  • WinXP: "...My Documents\ArmA 2\Sound"
  • Vista & 7: "C:Users\UserName\Documents\ArmA 2\Sound"


ArmA 3:

  • WinXP: "...My Documents\ArmA 3\Sound"
  • Vista & 7: "C:Users\UserName\Documents\ArmA 3\Sound"

Known restrictions

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

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 your 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. So push

  • Key "0"
  • Key "9"
  • Key "x", where x is 0,1,2,3,4,5,6,7,8 or 9


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: Bitrate settings
Fig.3: Audacity: Properties

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" (see Fig. 3) 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.4: oggdropXPd: Selecting the encoding options.
Fig.5: oggdropXPd: Setting your encoding options

Useful links