As you know, when muzzle flash lighting is enabled a light source is activated at the position of the gun's muzzle (more correctly, at the hook position for the generation of the various effects.) This can be annoying in the way it can light up the interior of the cockpit from impossible angles (the hull is treated as completely transparent), and by making such things as the gun sight glass flash very horribly.
I just succeeded in adding the option to have the illumination NOT occur while the view is inside the plane. At the moment, this applies for all other planes as well, meaning that one's own guns produce no such illumination, and nor do any other planes while viewed from inside one's own plane. When switching the view to outside, however, all planes--one's own and AI--will exhibit the illumination.
So the next step is to further restrict deactivation of the illumination to one's own plane ONLY while the view is inside. That is, when setting the option to disable muzzle illumination from the cockpit view, this does not ALSO cause all other planes to not create such illumination.
At this moment the options I make available are:
- Always on (for all planes and all views).
- Always off (for all planes and all views).
- On at night only (for all planes and all views).
- Off when the view is inside the cockpit (for all planes).
Simplicity is a worthy goal. Too many options can be confusing. Personally, I feel that disabling this illumination ONLY for one's own plane while the view is inside is sufficient.
Perhaps the only other element to consider is whether the illumination is to be off during the day. This would lead to five potential options:
- 0 - Always off (for all planes and all views).
- 1 - Always on (for all planes and all views). (This would be the default setting, as it is for the stock implementation)
- 2 - On at night only (for all planes and all views).
- 3 - Always on except for one's own plane for the inside view. (my own preference)
- 4 - On at night only except for one's own plane for the inside view.
Any thoughts?