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.

V5.4 and FT eham incompatibility

Featured Replies

Thank you so much!

  • 10 months later...
On 6/9/2023 at 11:05 PM, PinkPony said:

I managed to fix it.

Solution:  

1. Locate the eham_grd.lua file in \FlyTampa\Amsterdam\scripts and rename to .off (or delete it).
2. Replace with my eham_grd.lua file, available here https://www.dropbox.com/sh/vkiu3r1hc4horyb/AACef_0mhafuy17u-k2XjBgca?dl=0
3. Enjoy. Long live P3D!

Evidently there has been a change in how P3D v5.4 processes .lua scripts. In the case of Flytampa Amsterdam V2 .lua scripts are used to load the various (seasonal) ground textures which was no longer occuring with the original .lua script. 

P.S. I will reach out to FlyTampa to share my findings. If someone could be so kind to share my solution here on the main FlyTampa thread
https://www.flytampa.org/forum/viewtopic.php?t=36743

The link isn't working anymore.  Where can I get a new link or download the file in question?

3 hours ago, Benjamin Bavel said:

The link isn't working anymore.

Just tested the Dropbox link myself and all was fine, downloaded np, maybe it's a location based transient issue ?

But in anycase the file name is eham_grd.lua and it's contents are in the spoiler below.

Just copy the spoiler contents to a text file and name that text file as eham_grd.lua (being sure you've got show file extensions enabled in Windows Explorer).

Spoiler

!lua
local month = varget("E:ZULU MONTH OF YEAR", "Number")
local StringOld = varget("T:DiffuseTexture", "String")
local StringNew

    if month == 1 then
        StringNew=string.sub(StringOld,1,7) .. "_hw.dds"
    elseif month == 2 then
        StringNew=string.sub(StringOld,1,7) .. "_wi.dds"
    elseif month <= 9 then
        StringNew=string.sub(StringOld,1,7) .. ".dds"
    else
        StringNew=string.sub(StringOld,1,7) .. "_wi.DDS"
    end

    varset("T:DiffuseTexture","String",StringNew)

 

Ryzen 5800X clocked to 4.7 Ghz (SMT off), 32 GB ram, Samsung 1 x 1 TB NVMe 970, 2 x 1 TB SSD 850 Pro raided, Asus Tuf 3080Ti

P3D 4.5.14, Orbx Global, Vector and more, lotsa planes too.

Catch my vids on Oz Sim Pilot, catch my screen pics @ Screenshots and Prepar3D

Archived

This topic is now archived and is closed to further replies.

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.