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.

Fractional LWM Altitude ?

Featured Replies

Does anyone know how to format fractional LWM altitude into the source.asm file? I only know of the whole meters way and I may, depending on the format, want to add this feature to LWMDraw so users can adjust to more detailed ground elevations if they wish.Thanks for any help!! :)Ken

  • Author

Hi Ken.LWMPoly2 4, 0, 0, 100, 64Will display the water at 100 + 64/128 meters ( 100.5m ).It's a fractional thing.LWMPoly2 4, 0, 0, 100, 192Will display the water at 100 - 64/128 meters ( 99.5m ). ( I think! ):)Dick

Thanks DickThat information went straight over my head and it's still going through the room bouncing off the walls. Now I'm having to duck my head now and then to avoid getting knocked out. :-xxrotflmao I don't see how a fraction 192 equates to a minus value and I'm missing some math skills in this area. At least for now I think I'll stick with whole meter values like we've been using. It's much easier that way and users wanting more detailed elevations can just as easily edit the source file.Thanks for you help bro! Ken :-outta

  • Author

Hi Ken.It's a signed 8-bit integer. Anything over 127 becomes a minus number... just keep the numbers below 128. So your range is from 0-127, divided by 128. 32 is 32/128, or 0.25 meters. 64 = 0.5 meters. 96 = 0.75 meters. 127 = 0.9921875 meters ( 127 / 128 )Dick

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.