Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Muzzle flash illumination options  (Read 473 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Muzzle flash illumination options
« on: February 02, 2024, 03:58:54 AM »

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?
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: Muzzle flash illumination options
« Reply #1 on: February 02, 2024, 04:05:46 AM »

I should add that this applies to ALL guns for which the related pair of properties for this illumination are present in their weapon class. Such as the big guns on ships.

And the option to disable the illumination during the day has merit for this reason. For the bigger guns, like those on BBs and CAs, where the lighting range is farther, during the day the shadowed side of a ship can go *darker* while the illumination is active. This is certainly an eyesore worth suppressing. And the midsize guns can also make for a subtler manifestation of this undesirable appearance, the higher frequency of their firing adding further to the ugliness.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: Muzzle flash illumination options
« Reply #2 on: February 02, 2024, 06:58:35 AM »

I've just succeeded in eliminating the muzzle illumination for the player's plane only when the view is inside the plane. And so the full array of options for enabling/disabling is available.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

shardana

  • member
  • Offline Offline
  • Posts: 862
Re: Muzzle flash illumination options
« Reply #3 on: February 02, 2024, 08:16:15 AM »

Great stuff as usual!! looking forward to use it!!
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: Muzzle flash illumination options
« Reply #4 on: February 02, 2024, 08:31:14 AM »

The array of options I've settled on. The switch between day and night, at the moment anyway, is when the Sun crosses 0 degrees altitude. I may or may not adjust this; if I do it'll probably be to move the threshold a little lower.

0 - All off

1 - All on, all hours
2 - All on, night only

3 - No player illumination for interior view, all hours    (all non player sources are active)
4 - No player illumination for interior view, night only    (ditto)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Dimlee

  • member
  • Offline Offline
  • Posts: 1254
Re: Muzzle flash illumination options
« Reply #5 on: February 02, 2024, 03:48:43 PM »

Option 4 will be welcomed by the fans of night fighting action, probably.

But how it will be activated, through one of the "misc" keys?
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: Muzzle flash illumination options
« Reply #6 on: February 02, 2024, 06:08:36 PM »

This new selection of settings will be controlled via an entry in the [Mods] section of conf.ini.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

TXZCJSP

  • member
  • Offline Offline
  • Posts: 178
Re: Muzzle flash illumination options
« Reply #7 on: February 03, 2024, 07:50:13 AM »

It doesn't really affect il2ge users.
After all DynamicalLights=0  ;D
Logged

RABIZO

  • member
  • Offline Offline
  • Posts: 512
Re: Muzzle flash illumination options
« Reply #8 on: February 03, 2024, 08:00:32 AM »

This is something I've been looking forward to since I've been using graphics extenders a lot lately.

When will it be completed?
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: Muzzle flash illumination options
« Reply #9 on: February 03, 2024, 10:03:30 AM »

It doesn't really affect il2ge users.
After all DynamicalLights=0  ;D

I don't use il2ge myself. However, I've seen RABIZO's (Supersensitive1465) YT vids which do show horrible flashing artifacts when firing guns with the graphics extender in operation...
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

RABIZO

  • member
  • Offline Offline
  • Posts: 512
Re: Muzzle flash illumination options
« Reply #10 on: February 03, 2024, 05:50:40 PM »

“Glenn” Thank you as always.

.. .. .. That's right. The light flashes violently.

I wish I could remove this part.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 24 queries.