Arma 3
1,183 ratings
BettIR (Legacy v0.2.1)
15
5
9
4
14
24
18
17
16
9
8
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Equipment
File Size
Posted
Updated
0.027 MB
Oct 17, 2020 @ 12:59pm
Oct 19, 2020 @ 6:35am
5 Change Notes ( view )

Subscribe to download
BettIR (Legacy v0.2.1)

Description
This is a legacy version of this mod
The new version of BettIR iwill not be backwards compatible with this version nor other compatibility mods that are around. A link to its Steam Workshop page will be here once it gets released.

Consider supporting your content creators!
I've decided to set up a paypal account. I'm currently aiming to buy a Night vision setup (might be worth having one for this project lol), and I'm hoping to fund it partially from community support.
All donations, even if it's just to buy me a coffee, are very much appreciated!
Paypal: thevestarr@gmail.com

Also Feel free to join my discord: https://discord.gg/wCUqFxs
If you'd like to join my milsim unit, visit https://spar-frontend.herokuapp.com/


BettIR - IR Improvement for ARMA

Disclaimer:
This mod doesn't change the color of the NVG's! I used a wonderful NVG mod by Apricot to take nicer preview screenshots. You can find it here: https://steamcommunity.com/sharedfiles/filedetails/?id=1908374667

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?

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 (4)
12
May 12 @ 7:10pm
How to make my/someone's mod compatible with BettIR?
Vestarr
11
Jun 17 @ 9:06am
Suggestions
Leopard20
4
Jan 7 @ 4:31pm
[Bug] Laser light turns on then immediately turns off again.
Vormulac
< >
362 Comments
SSG 15 hours ago 
Hi, noticed that the keybinding "Hold weapon xxx" would force player to select the primary weapon with firemode reset to default, thanks in advance! Great mod and really saves my ass with ACE NVGs!
Sleaz Dec 4 @ 11:34am 
tested it in co-op for the first time and doesn't seem to work. light just turns off after 2 seconds
Sleaz Dec 2 @ 7:50am 
please consider making this compatible with Tier 1 Weapons by Fingolfin_A3
Killer Nov 30 @ 1:24am 
what values do i edit if i want to have a longer throw on the IR illuminator?
Morrison Nov 27 @ 2:22pm 
Hi, when I board a AI controlled helicopter, if I have my illuminator on, the vehicle will go up, and keep going up, until I turn the illuminator off (it seems the AI is trying to overpass the lightsource). Is that going to be fixed in the next update, or is it an unavoidable side effect?
DEINONYCHUS2011 Nov 17 @ 12:27pm 
ok i pull up
DxG6767 Nov 3 @ 4:02am 
Also what mod do you use for the quad nvg
DxG6767 Nov 3 @ 2:19am 
Is it possible to add the ir lights on the helmet but not on the nvg?
Vestarr  [author] Nov 1 @ 7:40am 
FYI guys - yes, BettIR is getting a big update soon. I just have been way busier than I'd like lately. Please have patience:)
Archer Oct 30 @ 2:36am 
Amazing work, how do I disable the ACE nightvision?