Ok then, about the flood light. I looked into that and there's no mask. It's a spotlight coded in LightSystem.lua.
This is the piece of code that drives it:
FloodLight_Thunderstorm.sources = {
{
lighttype = "spot",
angle = cone_angles_1,
direction = {azimuth = math.rad(0),elevation = math.rad(90),roll = math.rad(0)},
input = {0,1},
output = {0,1},
color = color_default,
attenuation = attenuation_default,
connector = "PTR-CNP-FLOODLGT-L",
--projection_texture = "Bazar/A-10C/Model/Textures/spot_mask.bmp",
--projection_texture = "Bazar/A-10C/Model/Textures/spot_mask.tga",
--position = {0.25,-0.35,-0.35}
},
{
lighttype = "spot",
angle = cone_angles_1,
direction = {azimuth = math.rad(0),elevation = math.rad(90),roll = math.rad(0)},
input = {0,1},
output = {0,1},
color = color_default,
attenuation = attenuation_default,
connector = "PTR-CNP-FLOODLGT-R",
--projection_texture = "Bazar/A-10C/Model/Textures/spot_mask.bmp",
--projection_texture = "Bazar/A-10C/Model/Textures/spot_mask.tga",
--position = {0.25,-0.35,0.35}
},
}
It's possible to move the light so it doesn't shine on the windscreen, with direction or cone_angles_1 parameters. But then of course, you're changing how it illuminates the whole cockpit. You can lower cone_angles_1 for example, making the light cone tighter.