Jump to content

Recommended Posts

Posted

Ok so through collecting code from other NVG mods I have everything to have NVGs but the MiG-29, Su-27, Su-33, and the F-15.

 

So as far as I can tell the Su-25 and the A-10A can get it from a combo of the

 

creators[devices.HELMET_DEVICE] = {"avNightVisionGoggles"}

 

line being placed in

 

Mods\aircraft\Flaming Cliffs\Cockpit\A10A\device_init.lua

Mods\aircraft\Flaming Cliffs\Cockpit\KneeboardLeft\device_init.lua

Mods\aircraft\Flaming Cliffs\Cockpit\KneeboardRight\device_init.lua

 

with a combination of the following lines inside Mods\aircraft\Flaming Cliffs\entry.lua

 

make_flyable('A-10A' , current_mod_path..'/Cockpit/A10A/', {self_ID,'A10A',old = true}, current_mod_path..'/Comm/A-10A.lua')

 

make_flyable('Su-27' , current_mod_path..'/Cockpit/KneeboardLeft/', {self_ID,'Su27',old = true}, current_mod_path..'/Comm/Su-27.lua')

 

were as the fighters have

 

make_flyable('MiG-29A' , current_mod_path..'/Cockpit/KneeboardLeft/', nil, current_mod_path..'/Comm/MiG-29A.lua')

 

So does the MiG-29, Su-27, Su-33, and the F-15 not have any kind of device_init.lua?

I tried placing the line in the common Kneeboard file in hopes it would enable it there, but no dice.

 

As far as I can find those planes dont have any kind of file that declares attributes or creators.

 

Any advice?

Posted
Ok so through collecting code from other NVG mods I have everything to have NVGs but the MiG-29, Su-27, Su-33, and the F-15.

 

So as far as I can tell the Su-25 and the A-10A can get it from a combo of the

 

creators[devices.HELMET_DEVICE] = {"avNightVisionGoggles"}

 

line being placed in

 

Mods\aircraft\Flaming Cliffs\Cockpit\A10A\device_init.lua

Mods\aircraft\Flaming Cliffs\Cockpit\KneeboardLeft\device_init.lua

Mods\aircraft\Flaming Cliffs\Cockpit\KneeboardRight\device_init.lua

 

with a combination of the following lines inside Mods\aircraft\Flaming Cliffs\entry.lua

 

make_flyable('A-10A' , current_mod_path..'/Cockpit/A10A/', {self_ID,'A10A',old = true}, current_mod_path..'/Comm/A-10A.lua')

 

make_flyable('Su-27' , current_mod_path..'/Cockpit/KneeboardLeft/', {self_ID,'Su27',old = true}, current_mod_path..'/Comm/Su-27.lua')

 

were as the fighters have

 

make_flyable('MiG-29A' , current_mod_path..'/Cockpit/KneeboardLeft/', nil, current_mod_path..'/Comm/MiG-29A.lua')

 

So does the MiG-29, Su-27, Su-33, and the F-15 not have any kind of device_init.lua?

I tried placing the line in the common Kneeboard file in hopes it would enable it there, but no dice.

 

As far as I can find those planes dont have any kind of file that declares attributes or creators.

 

Any advice?

You cant give night vision to FC3 Fighters only A-10 and Su-25 theres no code around that.

  • Recently Browsing   0 members

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