Arma 3

Arma 3

2,072 ratings
BettIR NVG
15
6
9
4
15
26
19
19
17
9
8
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Equipment
File Size
Posted
Updated
28.438 KB
Oct 17, 2020 @ 12:59pm
Oct 19, 2020 @ 6:35am
5 Change Notes ( view )

Subscribe to download
BettIR NVG

Description
BettIR Nightvision module
If you noticed a change in the mod title and description, it's because BettIR will soon be updated right here; it was previously called "Legacy" because I was going to upload a new version separately, but I've decided otherwise.

The weapon attachments module will be moved to a separate mod soon however, so that people don't have to use my solution and pick anything else they prefer (i.e. ITN)

This is still the legacy version! It will be updated soon. You can test the new version now at https://steamcommunity.com/sharedfiles/filedetails/?id=3619189127

Consider supporting my modding efforts
I've set up a buymeacoffee - it helps more than you think, especially in helping me find time to work on mods, which I normally would have to spend on work.
https://buymeacoffee.com/vestarr


Also Feel free to join my discord: https://discord.gg/wCUqFxs

BettIR - IR Improvement for ARMA

Arma is a great game, but there's one thing it could never do - IR illumination. There's a lot of great things that only work in IR Spectrum, but ESPECIALLY in ACE mod, if it's dark - you're doomed.
In real life, you would normally use IR illuminators for that purpose. They emit a bit of IR light to help you see stuff around you. A lot of known Night Vision Goggles have them built in; you can also find these lights in AN/PEQ-15 boxes and other weapon-mounted light combos.
Unfortunately, Arma doesn't natively support such thing. However, with a bit of scripting (and magic) we can make anything work right?
Arma engine has been updated and directional IR lights are now supported, so BettIR is now simplified.

The mod currently only includes:
- NVG-mounted IR lights (compatible with particular NVGs only)
- Weapon-mounted IR lights (e.g. vanilla IR laser pointer is enough to use this functionality)
- "Pressure pad" mode - hold a button to have IR laser/IR Illuminator on, as soon as you release it, it's off
- Compatible with Vanilla NVG's and IR pointers
- Compatible with most RHS NVG's and IR pointers
- Compatible with most CUP NVG's and IR pointers
- Compatible with most USP NVG's
- Allows you to use your laser along with the IR illuminator
- Multiplayer Compatible!
- Configurable keybinds to toggle the both lights (Shift + Alt + L and Shift + Alt + N by default)
- Adjustable viewdistance
- Tested with 66 AI actors with their illuminators on with minor FPS impact
- Easily Extendible - see "For Developers" section below

To be added soon:
- Weapon-specific offsets for better approximation of the position of the light source
- IR Patches
- IR-only textures
- Weapon-mounted illuminators
- AI using it and reacting to it
- Reorganizing the code architecture

Known bugs:
- Laggy in vehicles, potential fix in the pipeline
- NVG Illuminator offset vector is not being rotated with the head
- Position of the lights is approximated and might not be perfectly lined up to the actual position of the light source; will not fix (unless there's a method to fix it)


For Developers
You can make this mod compatible with other attachments/nvg's from different mods fairly easy with configs.
First of all, add the BettIR_Core to the requiredAddons. Then you add your NVG classes to the config.cpp as follows:

class BettIR_Config { class CompatibleNightvisionGoggles { class mymods_NVGs_className { offset[] = {0.1, 0.15,0.3}; }; }; class CompatibleAttachments { class mymods_some_gunAttachment { offset[] = {0.15,0.22,0.25}; }; }; };

You can also inherit from classes that are already there. Check the configs for more information!

But how do I make the AI use it?
Currently AI is very agnostic to it unfortunately, it takes a lot more coding to make it compatible. However, if you'd like the AI to use the illuminators in your scenario, you can run the below on them (first, you need to make sure they have NVG's on their head and that they're actually using them when you run it):
[this] call BettIR_fnc_nvgIlluminatorOn; // OR [this] call BettIR_fnc_weaponIlluminatorOn;

Licensing (to be updated)
Mod is in early alpha and it doesn't show the final result, but I believe it's in a condition good enough to be put out there to the world to see and test.
You're using it on your own risk though, the creator of this mod takes no responsibility of any problems that might come out of it.

That being said, I'm more than happy to look into any problems that you might face while using this mod and absolutely please let me know if that happens.

Before you ask me if you can repack it for your server's mod - yes, you can, I couldn't care less. As long as you don't try to reupload it and spread/sell it as your own mod, it's fine. Just bear in mind you will not have the updates that will come to it.

Credits
Ulfgaar - for giving me the idea to do the IR patches, which then spiraled out of control and became much more than that; for exchanging a lot of information about the real life technology and helping me understand it much more
Dslyecxi - for feedback and Nightvision-related consultation
Leopard20 - for post-release scripting advice
OneLittleSociopath - for helping me figure out some of the optimalization concerns
TheVache & Somedudechen - for helping me test this mod

Popular Discussions View All (5)
12
May 12, 2021 @ 7:10pm
How to make my/someone's mod compatible with BettIR?
Vestarr
11
Jun 17, 2021 @ 9:06am
Suggestions
Leopard20
5
Jan 20, 2024 @ 12:06pm
Help me make it better!
Vestarr
485 Comments
HBAOplus Jan 4 @ 12:56am 
@Kirgiz
there is a function called "BettIR Auto Enable for AI" in KtweaK
https://steamcommunity.com/sharedfiles/filedetails/?id=3036516333
Kirgiz Jan 2 @ 2:05am 
The new mod needs to add controls for AI teammates, so your squad can identify itself, show its target, and so on, at the player's request. I know you're a master, and you'll do it. Surprise us in the new year!!!:steamhappy::steamthumbsup:🎁
Vestarr  [author] Jan 1 @ 2:24pm 
@Perk Duck Thanks! And good point - there actually was some discussion regarding a collab ages ago, but we didn't agree on the direction/approach, that's why we kept our projects separate ;)

The weapon attachments will soon no longer be part of this mod, they will be uploaded as a separate mod so that people can choose if they want to use it, or alternatives such as ITN. Good news is, the new BettIR will have some custom modes and adjustments, you can take a look at my twitter, although it's been ages since I posted it
Perk Duck Jan 1 @ 11:38am 
You and Ghost JB with his Illuminate The Night mod have been a god send on making IR in arma 3 better. yall need to do a Collab to make one over all super IR mod. I do like in his how you can focus the beam tightness of your IR Illuminator on the fly and wish your mod had that feature
_mickey_ Dec 10, 2025 @ 12:02pm 
@Vestarr

Dude, I've already described all the issues in the DEV comments. In short, in the DEV version, the backlight from the Laser Aiming Modules does not work for 99% of the ones I tried. You don't even have a keyboard shortcut setting for this action. Unfortunately, this version is not playable for me.

Again thank you for this stable version!
Vestarr  [author] Dec 10, 2025 @ 8:54am 
@_mickey_ can you elaborate what's wrong with the dev version?
_mickey_ Dec 10, 2025 @ 6:06am 
@Vestarr Yes, buddy, I was wrong) I confused the mods and their update dates) However, thanks anyway, I've been using your mod for a long time, unfortunately the DEV version still looks worse than this one
Vestarr  [author] Dec 10, 2025 @ 5:25am 
@_mickey_ there was no update to this version just yet
_mickey_ Dec 10, 2025 @ 2:56am 
however, there is still no compatibility with some ACE3 NVGs ( for example White Phosphor NVGs - "ACE_NVGoggles_WP" ) Please try fix this