Skip to content

About

Server-run proximity voice and radios for Arma 3: no Discord or TeamSpeak, encrypted voice through the Arma server

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Arma 3 Radio

Proximity voice and radios for Arma 3, run by the Arma server itself. No Discord, no TeamSpeak, no accounts: join a server that runs the mod and you're on voice.

  • Proximity voice (whisper / normal / yell), vehicle intercom, muffling through walls and hulls, room echo
  • Handheld (~3 km) and manpack (~20 km) radios plus vehicle radios, two channels each, one per ear
  • Signal model: terrain, height, range fade, transmit power (high / low), channel scan, loudspeaker mode
  • Electronic warfare: encryption by side (captured radios listen in), Direction Finder item, jammers and relays
  • Zeus modules (with Zeus Enhanced), Eden modules for mission makers, script API and events
  • Microphone clean-up: RNNoise noise suppression, echo cancellation, automatic mic volume, echo test
  • ACE3 support (unconscious, captives, hearing, self-interaction menu); works without ACE too

Players: get it from the Steam Workshop. Requires CBA_A3; Zeus Enhanced is optional (Zeus modules). BattlEye must be off (the DLL isn't BattlEye-whitelisted).

Not made by, endorsed by or affiliated with Bohemia Interactive.

How it works

The extension DLL (arma3radio_x64.dll) runs a small UDP voice relay inside the Arma server (port 2310 by default). Each player gets a random per-session key from the server; voice is Opus-encoded and sealed with AES-128-GCM. Every quarter second the server works out who can hear whom (distance, radio channel, range, terrain, jammers, relays, encryption keys) and the relay only forwards a speaker's voice to those players. Nothing is recorded or sent anywhere else.

Repository layout

Folder What's in it
addon/arma3radio/ The Arma addon: config, SQF functions (functions/), UI, sounds
extension/src/ The C++ extension: relay, voice client, audio, DSP, crypto, network discovery
tests/ Native tests (DSP, relay + routing, mic chain, DLL loader)
tools/ Build, packaging and art scripts (radio faces, icons and sounds are drawn/generated, not copied)
art/ PNG sources of the UI art and Workshop preview
mod/ mod.cpp and logo for the mod folder
workshop/ Steam Workshop description and change notes (Steam BBCode)
third_party/ Opus 1.5.2 and SpeexDSP 1.2.1 (git submodules), RNNoise 0.2 (release source), small config shims

Building (Windows)

Needs Visual Studio 2022 (or its Build Tools, C++ workload), CMake 3.20+, and Arma 3 Tools (from Steam) for packing the PBO.

git clone --recurse-submodules https://github.com/CodeBugd/arma3-radio.git
cd arma3-radio
.\tools\build_mod.ps1

This builds the DLL, runs the native tests, draws the UI textures, packs the addon and puts the mod in dist\@Arma3Radio. Use -ArmaTools "<path>" if Arma 3 Tools isn't in the default Steam folder.

tools\package_workshop.ps1 signs a Workshop build. It needs the private signing key, which is not in this repository; builds you sign with your own key won't match servers using the official arma3radio.bikey.

Server setup

  • Load @Arma3Radio + @CBA_A3 on the server and every client, BattlEye off.
  • Open / forward UDP 2310 to the server (Addon Options > Server > Arma 3 Radio > Voice server UDP port). The server tries UPnP and writes in its .rpt whether outside players can reach voice.
  • If it says they can't: forward the port by hand and set "Voice server address" to your public IP or host name.
  • With verifySignatures = 2, copy keys\arma3radio.bikey into the server's keys folder.

Mission makers

// Per unit (init field): starting channels
this setVariable ["DR_preset", [hhMain, hhSecond, lrMain, lrSecond]];

// Server: jammers and relays
["addJammer", _truck, 600, 1] call DR_fnc_signal;   // radius m, strength 0-1
["addRelay", _tower, 3] call DR_fnc_signal;          // range x3

// Server: every transmission start / stop
["DR_radioTransmit", { params ["_unit", "_radio", "_channel", "_side", "_started"]; }] call CBA_fnc_addEventHandler;

Eden modules (Modules > Arma 3 Radio): Radio Jammer, Radio Relay, Radio Activity Area.

Licence

Arma 3 Radio is licensed under the Arma Public License Share Alike (APL-SA); see LICENSE. Opus, RNNoise and SpeexDSP are Xiph.org projects under BSD licences (their COPYING files are in third_party/ and ship with the mod).

About

Server-run proximity voice and radios for Arma 3: no Discord or TeamSpeak, encrypted voice through the Arma server

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages