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.

Meshed Again, part II -- the Isle of Plight now in FS9

Featured Replies

Hello all,some time ago I made an island for FS2002, and one of the many issues (finally solved) was having correct terrain and coastlines.As it turned out, the respective FS2002 hyp*.bgl file flattened the island mesh. After just removing the hyp*.bgl file, terrain was fine, but the coastlines were now reflecting the cell squares, not the real beach.The solution, arrived at with the incessant help of the kind people here (thanks Dick, Los Dos Luises, and Holger!), was to hack the hyp*.bgl file, to introduce "clinging water".(see the [a href=http://forums.avsim.net/dcboard.php?az=show_topic&forum=123&topic_id=18304&mesg_id=18304&page=&topic_page=3]old thread[/a] "An Island for FS2002", started on Sun Feb-22-04 09:24 PM; go to the end with rhumbaflappy's message from Sun Feb-29-04 11:09 PM)Thus:FS2002 original hyp*.bgl:

CellID_000075 EQU LWMCellID 0, 0, _Transparent_, 437, 85  LWMDataAreaFill8x8 0, _Water_, 0, 1, 0, 0, 0	LWMDataAreaHeight -1, 0   . . .  LWMDataAreaDrawPolygons 2,3,1,14,1  LWMPoly2 8, 0, _Water_, -1, 0	LWMPoint 41, 108  . . .

[p class=dcmessage]hacked FS2002 hyp*.bgl ("-1" replaced by "-9999"):[/p]

CellID_000075 EQU LWMCellID 0, 0, _Transparent_, 437, 85  LWMDataAreaFill8x8 0, _Water_, 0, 1, 0, 0, 0	LWMDataAreaHeight -9999, 0  . . .	  LWMDataAreaDrawPolygons 2,3,1,14,1  LWMPoly2 8, 0, _Water_, -9999, 0	LWMPoint 41, 108  . . .

[p class=dcmessage]So far so good. Worked beautifully. Now I moved the island to FS9, and am seeing basically the same thing: island flat, removing the respective HP*.bgl file restores the terrain, but coastlines now wrong.The original FS9 HP*.bgl disassembly looks like this:[/p]

CellID_000044 EQU LWMCellID 0, 0, _Transparent_, 437, 85  LWMDataAreaFill8x8 0, _Water_, 0, 1, 0, 0, 0	LWMDataAreaHeight 0, 0  . . .  LWMDataAreaDrawPolygons	2,_Transparent_,1,14,1  LWMPoly3 8, 0, _Water_, 0, 0, 0, 0  ; N60* 6.16', E25* 2.92'	LWMPoint3 41, 108, 0  . . .

[p class=dcmessage]So, for one thing the nice conspicuous "-1"s (to be changed to -9999) have gone; instead there are "0"s in LWMDataAreaHeight in FS9 .And then there is now LWMPoly3 instead of LWMPoly2, with a different number of parameters altogether.Can someone please advise how to apply the above FS2002 "clinging water" hack in FS9?[/p] [ul][li][p class=dcmessage]Just brazenly replace the first "0" in LWMDataAreaHeight by "-9999", as before with the "-1"?[/p][/li][li][p class=dcmessage]And what where to replace in LWMPoly3?[/p][/li][li][p class=dcmessage]Also, how about re-compiling with bglc -- is it enough to make sure that the correct version of TDFMacros.inc and TDFHeaders.inc are included, or is there anything else to worry about?[/p][/li][/ul][p class=dcmessage]As always, many thanks in advance for any pointers! Cheers,Martin [/p]

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.