ArmA 3: Speed Radars!

I know everyone was just waiting for exactly this, and now it's finally done for ArmA 3!

Get yourself busted by a Radar Trap!

My first mod so far adds 5 objects to ArmA 3: 5 different speed radar models.

See this trailer for initial information of the awesome:

Benefits of this wonderful speeding trap:

- 5 wonderful models
- Additional flashlight function (not automatically)
- Customizable callback (in which you can call the flashlight)
- aaaaaand it's awesome


- Mirror #1 (, v1.2)
- Mirror #2 (, v1.2)


- Copy the contained mod folder "@SpeedRadar" into your ArmA 3 directory (usually C:UsersYournameDocumentsArma 3)
- Go to the game, to your extension settings and activate the mod
- Or you add the mod in your game start command ([email protected])
- Go to Editor
- Place the desired radar trap (they're at "Empty > Structures")
- Just enter the correct code into the initialization block and you're ready to go


Before you can use the speed radar, please ensure you have the following information:

- Heading of the street (degrees)
- Maximum speed (please keep an eye on the signs, it ain't much fun if you get busted for driving slower than allowed :P)

For the initialization-block, you can use the file speedradar.sqf. You must pass the following parameters:

- The radar object (this)
- The direction of the street (tolerance for the passing vehicle is +- 30°) => for mobile radars, use -1 (see Update v1.2)
- The maximum speed in km/h
- Your callback piece of code

In the callback you recieve three parameters:

- The player object that overspeeded (in case of a multiman-vehicle it's the driver)
- The speed they went
- The maximum allowed speed

You may ensure that you allow some tolerance for the radar will measure exactly.

PHP Code:
nul = [this,45,80,{ hint "busted!" }] execVM "SpeedRadarspeedradar.sqf"
On this one, you already get a hint if you drive too fast.

You may use the flashlight function which plays a little sound and displays two flashing white lights. Just call PEG_fnc_SpeedRadarFlash:

PHP Code:
[] execVM "SpeedRadarPEG_fnc_SpeedRadarFlash.sqf"
After someone gets busted, the radar has to "reload" for five seconds. Please acknowledge that you simply can't be too fast

Singleplayer vs. Multiplayer

The worst issue about that is having the players to download the mod themselves. On this topic, you might want to vote up my feedback issue:

The speedradar performs his checks only on the serverside and only once. So ensure that only the local client of the overspeeder shows the flashlight (so don't use it directly in the callback, for only the server would see it).

================================================== ===============================================


The new Update contains the following fixes and enhancements:

- Fixed error of missing textures (Sorry, my first addon so far ^^)
- Added a 5th radar trap (mobile!)
- Added red flashlight
- Opposite direction will now also be busted
- Minor bugfixes and enhancements

Red Flashlight

To set the color of the flashlight to red, just edit your call of PEG_fnc_SpeedRadarFlash:

Default flashlight:

PHP Code:
[] execVM "SpeedRadarPEG_fnc_SpeedRadarFlash.sqf"
Red flashlight:

PHP Code:
["RED"execVM "SpeedRadarPEG_fnc_SpeedRadarFlash.sqf"
Alternative Syntax:

PHP Code:
"RED" execVM "SpeedRadarPEG_fnc_SpeedRadarFlash.sqf"
Mobile Radar Traps (211 kB)

To be able to use a radar trap for mobile busting, ensure that you set the street heading parameter on speedradar.sqf to -1! This means the radar continously updates his direction and takes just the direction it looks at.



PHP Code:
nul = [this,-1,80,{ hint "busted!" }] execVM "SpeedRadarspeedradar.sqf"
Use it mobile:

PHP Code:
myRadar5 attachTo [myQuad,[0,-1.5,-0.35]]; 
You now have a radar trap behind your quad which is continously active. You can drive on a road with it and if someone bypasses you he gets busted

Place the radar trap again:

PHP Code:
detach myRadar5
Finally just one thing: HAVE FUN!

Please report any issues in this thread or via PM!

Regards, florianmuellerCH aka. PEGASUS

PS: I won't do any more updates on it (except serious bugs) for I'm a real beginner in creating mods, addons and 3D models (you can see it if you take a closer look at the speed radars...). You might want to see the development files to use it by your own. You can edit and redistribute them as you want, but please add some credits


Copyright © 2018. APC Technology Group. All Rights Reserved.