武装突袭3

武装突袭3

2,058 个评价
BettIR NVG
15
6
9
4
15
26
19
19
17
9
8
2
3
2
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
Mod Type: Equipment
文件大小
发表于
更新日期
28.438 KB
2020 年 10 月 17 日 下午 12:59
2020 年 10 月 19 日 上午 6:35
5 项改动说明 ( 查看 )

订阅以下载
BettIR NVG

描述
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://psteamcommunity.yuanyoumao.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

热门讨论 查看全部(5)
12
2021 年 5 月 12 日 下午 7:10
How to make my/someone's mod compatible with BettIR?
Vestarr
11
2021 年 6 月 17 日 上午 9:06
Suggestions
Leopard20
5
2024 年 1 月 20 日 下午 12:06
Help me make it better!
Vestarr
480 条留言
_mickey_ 13 小时以前 
@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  [作者] 16 小时以前 
@_mickey_ can you elaborate what's wrong with the dev version?
_mickey_ 19 小时以前 
@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  [作者] 19 小时以前 
@_mickey_ there was no update to this version just yet
_mickey_ 22 小时以前 
however, there is still no compatibility with some ACE3 NVGs ( for example White Phosphor NVGs - "ACE_NVGoggles_WP" ) Please try fix this
_mickey_ 22 小时以前 
@Vestarr Thanks for updating the main version, it works well. Better than Dev
Timay 11 月 10 日 上午 9:53 
good to know @Somedudechen
Somedudechen 10 月 2 日 下午 1:08 
@FILISTIN He's working on it, bro just has a stupid car that keeps breaking down and taking all his attention away from it. Patience.
FILISTIN 9 月 28 日 下午 3:21 
5 years since last update. yup, mod's dead as hell
Redzitus 6 月 29 日 上午 9:25 
where. new. version.. pls.