Realistic Axon Body 3
About
The most realistic Axon Body 3 script, based on Axon Body Camera.
Available for OBS and other streaming software
Image 1: a real AB3 overlay
Image 2: this script
TFNRP’s Axon Body 3 script’s goal is to be as realistic as possible, with future plans for more audio files the real Axon Body 3 uses.
Installation
Clone from Git or download manually
git clone https://github.com/TFNRP/axonbody3.git
To be able to use AB3, implement the ab3.user.toggle
ace in your server config.
Note: If you don’t need ACL checks, you may disable this ace by setting
CommandAccessAce
tonil
, and implement the client-side logic inCommandAccessHandling
.
Features
- Supports the TFNRP framework to allow use for LEO.
- Just like the real thing. Beeps every 2 minutes whilst recording, audible to nearby players.
- Realistic overlay, with the same font used by Axon, ISO-8601 date format and transparent Axon logo.
- Maximum server performance. Everything that can be done client-side, is.
- Two commands included:
/axon
,/axonon
,/axonoff
- Starts/stops Axon recording/axonhide
,/axonshow
- Hide/show the first-person overlay
Configuration
The config.lua
is shared between the client and server.
Config variables are explained in greater detail in config.lua
, but here’s an overview.
Warning
Do not enter server secrets inconfig.lua
.
property | type | description |
---|---|---|
CommandBinding = 'u' |
string|nil | Keybind to use for on/off command. May be nil for no keybind |
ThirdPersonMode = false |
boolean | Whether the axon overlay is also visible in third person |
CommandAccessHandling |
function | Handling used to verify if the client should be able to enable AB3 |
CommandAccessAce = 'ab3' |
string|nil | Use ACL to determine whether the client should be able to enable AB3 |
ThrottleServerEvents = false |
boolean | Whether server events should be throttled server-side |
ThrottleDropPlayer = true |
boolean | Whether the player should be dropped if the throttle is violated |
Screenshots
Contributing
Please read Contributing before submitting a pull request.
Credits & Copyright
- @RCPisAwesome for
- their Axon Body Camera script; and
- providing and giving permission of use of
static/beep.wav
file.
Licensed under MIT License.
For OBS streamers
TFNRP’s Realistic Axon Body 3 now has an OBS-compat version which works as a on-stream overlay:
Installation
No special installation or dependencies required.
Clone from Git or download manually.
$ git clone https://github.com/TFNRP/axonbody3-obs.git
Usage
- Create a new Browser Source Component (Right Click in Preview →
Add
→Browser
). - Check
Local file
, clickBrowse
and locateindex.html
from the directory you donwloaded Axon Body 3 OBS. - Set
Width
andHeight
to your Canvas resolution (usually 1920 by 1080). - Click
OK
. Now you should have a functioning AB3 overlay in OBS.
Configuration
We also supply a config.js
for further ehancement:
CustomCameraId
: If you’d like to use a custom id for the overlay. It will replace the randomly generated id.ForceUTCTimeZoneOffset
: Can befalse
or a numebr. Setting this to a number will override the UTC offset instead of using your current UTC offset.CalculateDaylightSavingsTime
: Can betrue
orfalse
. Setting this totrue
will make the overlay advance an hour ahead during Daylight Saving Time.BeepVolume
: Can be a number. This will determine the volume of interval beeps, which occur every two minutes. Set this to0
if you do not want beeping.