Arma 3
1,512 ratings
BettIR (Legacy v0.2.1)
15
5
9
4
14
26
19
18
17
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 (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
4
Jan 7, 2021 @ 4:31pm
[Bug] Laser light turns on then immediately turns off again.
Vormulac
< >
395 Comments
Kirgiz 18 hours ago 
But there are other problems. If there are many light sources in the scene, then the beam disappears for a while or until you move to where there are fewer lights.
Also, if the button to hold the beam and turn on the light is the same, then you will not be able to turn on the light in the technique and the headlights. Author, you should add a check if the player is a crew in a vehicle to avoid an error.
Kirgiz 19 hours ago 
honger , Yes it works
honger Feb 8 @ 1:44am 
has anyone checked whether this works with BSP Night Vision?
Kirgiz Dec 28, 2022 @ 12:23pm 
And yet, now the addon only works with the vanilla pointer, can you add pointers from the Sahara DLC? Well, all sorts of snake skin and others?
Kirgiz Dec 28, 2022 @ 11:53am 
Hello, please tell me, you have written that AI react and use it., Here are the questions:
1) Under what circumstances can the enemies and their own react (will it give out my position to the AI of the enemies) and how to turn on the IR of the player and the AI of the opponents?
2) How can AI use this if they are on their own?
3) how to force the AI of my group if I am the leader to turn on the backlight or laser?
Predator14 Dec 28, 2022 @ 9:34am 
the light on the weapon and too strong how to reduce it?
Predator14 Dec 28, 2022 @ 8:50am 
how do you turn on the gun's laser light?
LeoVetta Oct 26, 2022 @ 6:24am 
@Palaius - even a real IR (peq's) illuminator can't do its job perfectly on 2km - btw if you're looking for an improved version of the illuminator of this mod, i shared a couple based on the original version made by Verstarr - you will find the fix on my profile/workshop. Feel free to delete this message if its not related.
Boba Fett Oct 26, 2022 @ 6:18am 
How does this work? not working for me
Palaius Oct 26, 2022 @ 1:51am 
Ran into a problem that on my dedicated server I can't force the view range over the default 300m. It's set to be forced to 2000m, but after 300m it still fogs out. Do you by chanv´ce happen to know of a fix for that?