Jump to content

FC3 A-10A can use NVG?


Stratos

Recommended Posts

Thanks Morkva. Nice Work.

Consequently, I've discovered you can add gain control by using a slightly different method.

 

Instead of modifying the default file in your Mods/aircrafts folder, try this:

Add the following lines to your User/Saved Games/DCS/Config/Input/a-10a/keyboard/keyboard.lua file.

...

 

Thank you ReOrdain! Your method is more suitable than mine. :thumbup: Rep +

I am glad that my find was useful for the community.

  • Like 2

su-24.gif

Link to comment
Share on other sites

  • 4 weeks later...

{combos = {{key = "H", reformers = {"RWin", "RAlt", }}, }, pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},
{combos = {{key = "H", reformers = {"RWin", "RCtrl", }}, }, pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},
{combos = {{key = "H", reformers = {"RWin", }}, }, down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},

.

 

This works great thanks!

Mods I use: KA-50 JTAC - Better Fire and Smoke - Unchain Rudder from trim KA50 - Sim FFB for G940 - Beczl Rocket Pods Updated!

Processor: Intel Q6600 @ 3.00GHz

GPU: GeForce MSI RTX 2060 6GB

RAM: Crucial 8GB DDR2

HDD: 1TBGB Crucial SSD

OS: Windows 10, 64-bit

Peripherals: Logitech G940 Hotas, TrackiR 5, Voice Activated commands , Sharkoon 5.1 headset. ,Touch Control for iPad, JoyToKey

Link to comment
Share on other sites

  • 10 months later...
  • 5 years later...
Instead of modifying the default file in your Mods/aircrafts folder, try this:

Add the following lines to your User/Saved Games/DCS/Config/Input/a-10a/keyboard/keyboard.lua file.

 

Backup the file

After opening in Notepad++, Scroll down to the last "combos" entry and paste the following lines in after the last entry:

 

{combos = {{key = "H", reformers = {"RWin", "RAlt", }}, }, pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},
{combos = {{key = "H", reformers = {"RWin", "RCtrl", }}, }, pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},
{combos = {{key = "H", reformers = {"RWin", }}, }, down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},

You don't have to use this code exactly if you prefer different keys, or reformers, but this one works well for me.

 

Method works for the A-10A, Su-25T, Su-25, and the P-51D.

 

 

In DCS 2.5.4 User/Saved Games/DCS/Config/Input/a-10a/keyboard/keyboard.lua does not exist any more. We only have keyboard.diff.lua now, which does not allow

 

{combos = ...

So instead I used your code in the main DCS folder in

...\DCSWorld\Config\Input\Aircrafts\base_keyboard_binding.lua

 

This will define night goggles for the Su-25T, Su-25 and A-10, so you have to do this only once. Other aircraft do not get affected by this for some reason.

Btw. I have noticed that my keyboard does not have a RWin-key, so instead I used this code:

 

{combos = {{key = "N", reformers = {"LAlt", }}, }, pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},
{combos = {{key = "N", reformers = {"LCtrl", }}, }, pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},
{combos = {{key = "N"}, }, down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},

 


Edited by Tiramisu
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...

Method still working today .... thank you !:thumbup:

 

 

You can add the following lines to the DCS World OpenBeta\Mods\aircraft\A-10A\Input\a-10a\joystick\default.lua to be able to assign joystick bindings :

{pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},

{pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},

{down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},

 

 

and as stated before these lines to the DCS World OpenBeta\Mods\aircraft\A-10A\Input\a-10a\keyboard\default.lua for key assignments

 

 

 

{combos = {{key = "H", reformers = {"RWin", "RAlt", }}, }, pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},

{combos = {{key = "H", reformers = {"RWin", "RCtrl", }}, }, pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},

{combos = {{key = "H", reformers = {"RWin", }}, }, down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},


Edited by Spearzone
Link to comment
Share on other sites

Alright, as of the last OB Update 2.5.6.53756 things don't work anymore as i posted above.

 

 

In order to get the NVG in FC3 aircraft you will now have to edit (Tested with the A-10A)

 

 

 

DCS World OpenBeta\Config\Input\Aircrafts\base_joystick_binding.lua

and add :

-- NVG

{pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = _('Sensors')},

{pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = _('Sensors')},

{down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = _('Sensors')},

 

 

and for the keyboard binding edit the

 

DCS World OpenBeta\Config\Input\Aircrafts\base_joystick_binding.lua

and add :

-- NVG

{combos = {{key = "N", reformers = {"RWin", "RAlt", }}, }, pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},

{combos = {{key = "N", reformers = {"RWin", "RCtrl", }}, }, pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},

{combos = {{key = "N", reformers = {"RWin", }}, }, down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},

 

 

 

 

 

(@Tiramisu has stated this method also above , thanks !)


Edited by Spearzone
  • Like 1
Link to comment
Share on other sites

  • 6 months later...
On 8/21/2020 at 3:42 AM, Spearzone said:

Alright, as of the last OB Update 2.5.6.53756 things don't work anymore as i posted above.

 

In order to get the NVG in FC3 aircraft you will now have to edit (Tested with the A-10A)

 

DCS World OpenBeta\Config\Input\Aircrafts\base_joystick_binding.lua

and add :

-- NVG

{pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = _('Sensors')},

{pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = _('Sensors')},

{down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = _('Sensors')},

 

and for the keyboard binding edit the

 

DCS World OpenBeta\Config\Input\Aircrafts\base_joystick_binding.lua

and add :

-- NVG

{combos = {{key = "N", reformers = {"RWin", "RAlt", }}, }, pressed = iCommandPlane_Helmet_Brightess_Down, name = "Gain goggles down", category = "Sensors"},

{combos = {{key = "N", reformers = {"RWin", "RCtrl", }}, }, pressed = iCommandPlane_Helmet_Brightess_Up, name = "Gain goggles up", category = "Sensors"},

{combos = {{key = "N", reformers = {"RWin", }}, }, down = iCommandViewNightVisionGogglesOn, name = "Toggle goggles", category = "Sensors"},

 

(@Tiramisu has stated this method also above , thanks !)

 

Spearzone, thank you SO much for updating the method to enable NVGs for FC3 aircraft. I'm currently working on making Desert Storm style missions for the A-10A. NVGs were incredibly important for Hawg pilots during Desert Storm, and many many A-10A sorties  were flown at night. This fix makes recreating these missions possible!

Link to comment
Share on other sites

  • 1 year later...

I just fired up DCS for the first time after leaving for my deployment last year. It seems that this NVG fix no longer works. Do you know if there was an update that broke this workaround?

EDIT: Disregard, this fix is still working!


Edited by EagleBeak
Link to comment
Share on other sites

  • 4 weeks later...

I'm not sure A-10A cockpit was even compatible with NVG.  I've heard an interview with A-10A pilot flying it during Desert Storm - they were flying at night, at very low altitude, they didn't heve NVG. Balls of steel and great skill.


Edited by bies
  • Like 1
Link to comment
Share on other sites

  • 11 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...