Special Aircraft Service

Please login or register.

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

Author Topic: Mosquito FB MkXVIII reticle now brightness adjustable  (Read 832 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 5929
Mosquito FB MkXVIII reticle now brightness adjustable
« on: February 28, 2023, 03:36:54 PM »

Get it here:

https://www.mediafire.com/file/c9x6t26x5h2c47i/Mosquito_FB_MkXVIII_adjustable_reticle.7z/file


From the included readme file:

Achieving an adjustable reticle brightness for the Mosquito FB MkXVIII
----------------------------------------------------------------------

Adjustable brightness for reticles would seem to require that the reticle's mat name be "Reticle.mat".

If a cockpit folder is shared by two or more planes each having a different reticle pertaining to them, such as the Mossie Mk6 and Mk18, any reticle having its mat file named other than "Reticle.mat" will always present at full brightness and not be adjustable.

To get around this, a cockpit sub-folder can be created, into which the afflicted reticle's .msh, .mat and .tga files are moved. Then the mat file is renamed "Reticle.mat" and the .msh file's material reference is similarly named. Additionally, hier.him has the reticle section altered so as to point to the new sub-folder. This will allow the reticle to now be brightness adjustable!

I created sub-folder [TSE] in the cockpit folder:

  3do\Cockpit\Mosquito_FB_MkVI\TSE



Old and new entry for the reticle in hier_TSE.him, the latter pointing to the new sub-folder, TSE:

;[Z_Z_RETICLE]  //original
;Mesh Z_Z_RETICLE_TSE
;Parent _ROOT_
;Attaching 0 -1 0 0 0 1 -1 0 0 11.3515 0.09479 0.67293

[Z_Z_RETICLE]
Mesh TSE/Z_Z_RETICLE_TSE
Parent _ROOT_
Attaching 0 -1 0 0 0 1 -1 0 0 11.3515 0.09479 0.67293



Inside the new sub-folder:

  3do\Cockpit\Mosquito_FB_MkVI\TSE\Z_Z_RETICLE_TSE.msh, Reticle.mat, Reticle.tga

Z_Z_RETICLE_TSE.msh originally pointed to "Reticle_TSE.mat", but this has been written as "Reticle.mat".

These supersede the files in the parent folder, which are still present.


Now that adjustable brightness has been obtained, I brightened up the texture in the .mat file, by making both the Shine and ColorScale alpha values equal to 1.0. (Formerly they were both set to 0.75 so as to have a reasonable compromise in brightness due to being non adjustable.)




WxTech
Feb 28, 2023
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: 5929
Re: Mosquito FB MkXVIII reticle now brightness adjustable
« Reply #1 on: February 28, 2023, 05:50:17 PM »

I've don't recall having seen a cockpit hier.him point to a sub-folder. I've looked at rather fewer plane hier.him files, but also recall no such instances. Surely I can't be the first to try this?...

If anyone suffers any problem, fire off a missive. 😉
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9507
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Mosquito FB MkXVIII reticle now brightness adjustable
« Reply #2 on: March 01, 2023, 02:13:46 AM »

I've don't recall having seen a cockpit hier.him point to a sub-folder.
This is the first time I've seen this in my memory.  o_O
I didn't know you could do that...
Tks !  ;)
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 5929
Re: Mosquito FB MkXVIII reticle now brightness adjustable
« Reply #3 on: March 01, 2023, 06:24:42 AM »

As a Java chimp, when getting desperate in poo-flinging mode I sometimes flail about and try what might end up being a hare-brained notion. Once in a while something might work, kind of.   :-|
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Kopfdorfer

  • member
  • Offline Offline
  • Posts: 2150
  • Potez 63.11 France's most significant AC in 1940
Re: Mosquito FB MkXVIII reticle now brightness adjustable
« Reply #4 on: March 01, 2023, 07:48:51 AM »

Jeez WXTech I can't believe how fast you responded to this hope , this dream ,
this glimmer of promise.

Did I get a tear on you guys ?

Seriously I wasn't necessarily expecting this to happen at all , let alone so quickly.

Thank you.

Kopfdorfer
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 5929
Re: Mosquito FB MkXVIII reticle now brightness adjustable
« Reply #5 on: March 01, 2023, 11:17:35 AM »

In a case like this, involving such an isolated element, the work is quick if the solution is known. Here I had just stumbled upon the understanding of the problem and its solution, and you presented what appeared to be a directly related sibling of the issue which provided an opportunity, a test case, by which to verify the remedy. Fundamentally simple problems can be fixed in a snap.

There will doubtless be another such case that just about anyone can tackle using the Selector's dump mode and a utility by which to convert a mesh to ASCII text.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 27 queries.