Page MenuHomeFeedback Tracker

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


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:


Operating System
Windows 11 x64
Operating System Version
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

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 line 204

TRAGER added a comment.Thu, May 4, 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:

  • delete visionMode[]={}; in (configfile >> "CfgVehicles" >> "HMG_02_base_F" >> "Turrets" >> "MainTurret" >> "ViewGunner" >> "ViewOptics")
  • switch optics=1; to optics=0; in (configfile >> "CfgVehicles" >> "HMG_02_base_F" >> "Turrets" >> "MainTurret")
honger added a subscriber: honger.Mon, May 22, 3:29 PM