Page MenuHomeFeedback Tracker

M2 HMG gunner can't use his NVG if use iron sights
New, NormalPublic

Description

Take a look at the door gunners of the UH-80 Ghost Hawk, they have no optics on weapon but gunner can use night vision goggles (see screenshot in Additional Information)
However the gunner on M2 with the same iron sights cannot use NVG:

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
22H2
Category
General
Steps To Reproduce
  1. place e.g. class B_G_HMG_02_F
  2. get in gunner
  3. go aim, right mouse button
  4. try to use NVG

result→ we will not be able to do this

Additional Information

Event Timeline

TRAGER created this task.May 3 2023, 7:27 AM

Compared to Ghost Hawk turret, static M2 has optics = 1;, maybe its the cause? Couldn't find this parameter description in https://community.bistudio.com/wiki/Turret_Config_Reference

TRAGER added a comment.EditedMay 3 2023, 1:16 PM

seems found a problem

visionMode doesn't exist in door gunner turrets of Ghost Hawk

So need to delete visionMode from this config
configfile >> "CfgVehicles" >> "HMG_02_base_F" >> "Turrets" >> "MainTurret" >> "ViewGunner" >> "ViewOptics"

See what actions are needed to fix this issue

TRAGER added a comment.EditedMay 4 2023, 6:23 AM

ye m2 offroad turret doesn't have visionMode too, there is no such problem on an offroad as a static turret

And it seems SaMatra is also right, M2 HMG on Offroad and Ghost Hawk's minigun has optics=0; but on static turret M2 HMG optics=1;
although this setting is not documented...

so needs make 2 changes:

  • switch optics=1; to optics=0; in (configfile >> "CfgVehicles" >> "HMG_02_base_F" >> "Turrets" >> "MainTurret")
  • remove "normal" parameter in (configfile >> "CfgVehicles" >> "HMG_02_base_F" >> "Turrets" >> "MainTurret" >> "ViewGunner" >> "ViewOptics") to be visionMode[]={}; then player can be able to use his NVG or other head equipment when aiming this machine gun' iron sight
honger added a subscriber: honger.May 22 2023, 3:29 PM

@BIS_fnc_KK can you please take a look into it