Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Kohlsman strip not showing in customized gauge

Featured Replies

I'm not sure where to post this, since the only panel/gauges forum is for FSX and there's non for P3D, so I thought to post it in here.

 

I'm totaly new to making my own gauges, so maybe I'm overlooking a very simple thing, here...

My second gauge to convert is the standard Beech Baron Altimeter gauge to a larger size and give it new textures. So far all the changed textures are showing and the needles work properly, only the kohlsman strip isnt visible in its window.

I sized up the graphics from 100x100 to 500x500. My guess would be that I have to reposition the Kohlsman strip, but I cant find which coordinates will let me do that. I only see coordinates that seem to correspond to positions on the strip itself.

 

Here's the part of the xml file for the kohlsman strip as I adjusted it:

 

<Element>

        <Position X="365" Y="219" />

        <MaskImage Name="P01_G02ALT_StripMask_500.bmp">

                <Axis= X="0" Y="7" />

        </MaskImage>

        <Image name="P01_G02ALT_Strip_500.bmp">

                <Nonlinearity>

                        <Item Value="28.1" X="0" Y="7" />

                        <Item Value="31.5" X="0" Y="1720" />

                </Nonlinearity>

        </Image>

        <Shift>

                <Value Minimum="28.1" Maximum="31.5">(A:Kohlsman Setting hg, inHG)</Value>

        </Shift>

</Element>

 

I'm not sure about what the X and Y Axis position on the StripMask image are, but they seem to correspond to the 28.1 position on the strip as I see from the Item Value a little underneeth.

The Item Values for 28.1 and 31.5 seem to correspond to the pixel position of the numbers on the strip which are 7 from the top for the 28.1 and 1720 from the top for the 31.5. Both should be correct from what I measured in Photoshop.

The StripMask is in exactly the right position.

 

Can someone explain to me what to adjust to make the Kohlsman strip show up at the right position, please?

 

I'm not sure what information to provide for this problem, so if anything is missing, please let me know.

 

Cheers!

Maarten

  • Commercial Member

Hi! Welcome to the madness!

 

Be careful with the Stripmasks! they contain (1,1,1) and (0,0,0) colors only, and unless you know this, you will not see it! review an original (rom the baron) and check where it is 1 and where it is 0 (I myself do not remember). Adjust your version accordingly. Your paint program may attempt to dither ther borders or flatten them to a single color... check the color table! (or make the mask blue and red, then change the color table to RGB0 and RGB1).

The mask is supposed to go in the visible window where the khlsman strip is visible...

 

Hope this helps,

signature.jpg

  • Author

Thanks Marion, I'm going to have a look at it :)

Cheers!

Maarten

  • Author

The 0,0,0 or 1,1,1 are full black colors, so I asume this is the window for the strip itself, which you're refering to. The mask/window is indeed full black and I can see the background layer through that mask/window (I can tell by the edges of the mask being slightly visible).

So I do have a window that should allow access to the strip behind it.

Cheers!

Maarten

  • Moderator

Actually, that's a bit backwards. The "mask" provides the surface on which the overlying "strip" will be visible, and is 1,1,1 in color, and typically just a tiny bit larger than the 'window' though which the numbers will be seen.

 

Oh yes, don't worry about the fact that this is a "sub-forum" of MS Flight Simulator. P3D'ers are very welcome... :Big Grin:

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.