Flightsim.to
    iFly 737 MAX 8 Improvement Mod (Wingflex + Lighting etc.) - Image 2

    Beschreibung

    An improvement modification for the iFly 737 MAX 8 for MSFS 2020 (and should be compatible with MSFS 2024 till the native build drops). 

    Changes (summarised):
    - Wingflex has been tweaked and an oscillating term has been added, with an impulse-dependent amplitude and damping (see video below)
    - External lighting has been overhauled to be more realistic and representative of the real aircraft (see pictures)
    - Anti-collision light with "fast flash rate" has had its active duration shortened to be more realistic (see video below)
    - Low-wind speed engine fanblade windmilling has been added (see video below) *(currently removed post-SP1)*
    - External reflectivity of cockpit windows decreased to be more realistic (see pictures)
    - Refined jetway connection with aircraft — jetway should generally dock quite nicely at most airports now (see pictures)

    Video link: https://www.youtube.com/watch?v=VSBtmBFSOvU

    Installation Instructions:
    Simply Drag and Drop the Main File into your Community Folder

    More details if you're interested:
    This package consists of 3 main areas of improvement, the external lighting, the wingflex and low-speed fanblade windmilling *(currently removed post-SP1)*.

    External lighting:
    - The anti-collision light active time for the "fast-flashing" beacon (really, a misnomer, because the periods are the same, what is changed with the option in the EFB is the active duty time for each light) has been decreased to match real-world flash durations more closely. This value has been chosen because it's fast enough to look like the one on real aircraft, but slow enough to minimise artefacting.

    You can tune the durations by going to SimObjects\Airplanes\iFly 737-MAX8\model and opening up both iFly737Max.xml and iFly737Max8200.xml, then navigating to the sections on the beacon (just search for 'FSG' and choose the correct block of code). The timings for the "fast-flashing" mode and "slow-flashing" mode are currently set to 0.04s and 0.3s respectively. To change the beacon flash in the interior model, go to SimObjects\Airplanes\iFly 737-MAX8\model, open iFly737Max_INTERIOR.xml and repeat the same process.

    - I always thought the lighting effects of the forward-facing lights looked a little strange, but I was never quite able to put my finger on it till comparing real-world photos and realising what was blatantly missing was the light spillage close to the wing root where the light housings are. This was added. The spillage onto the fuselage has been tweaked.

    Currently iFly uses a single beam to create the spillage on the fuselage and also the beams themselves, which is sub-optimal because the lights actually pass through the 3D model of the fuselage, so they aren't blocked realistically by the fuselage as they would be in real life. Thus in the mod one set of lights creates the fuselage spillage and another set creates the beams, which just miss the fuselage and so create the blockage effect. An additional set of lights was added to mimic the reflections off the inboard engine nacelle onto the fuselage.

    Careful placement and tweaking were done to minimise spillage into the cabin for every single light while also creating a realistic lighting effect with references to real-world photos. In particular, the taxi, landing and runway turnoff lights have all been tweaked to give a realistic intensity, colour and positioning, both of their glow and beams, which required different .fx files for the interior and exterior to give a realistic appearance.

    - The navigation, strobe, anti-collision and wing lights have been tweaked for colour correctness, intensity and placement too. The anti-collision light now realistically casts more light on the right wing as compared to the left, due to its offset position on top of the fuselage due to a spar running down the length of the aircraft. The shadow of the wing due to the upper beacon cast on the outermost flap track fairing has also been accurately re-created, with the help of a quirk(?) in the rendering engine which turns lights with softness values much greater than 1 into what can pass of as a shadow.

    You can tune the beams (cone angle, colour, intensity) using the .fx files found in SimObjects\Airplanes\iFly 737-MAX8\effects and the systems.cfg files in SimObjects\Airplanes\iFly 737-MAX8 (and iFly 737-MAX8-166Seats, iFly 737-MAX8-189Seats and iFly 737-MAX8200 too — you can just reuse the same file). The colours are controlled by the 2 .PNG.DDS files in SimObjects\Airplanes\iFly 737-MAX8\texture. You can infer which light is which by looking at the colours — the nav and strobe lights are in the IFLY737MAX_FX_LIGHTS.PNG.DDS file, while the IFLY737MAX_LIGHTS_L.PNG.DDS file controls the others. The brightness of the emissive blobs are controlled by the relevant entries in the iFly737Max.xml and iFly737Max8200.xml files located in SimObjects\Airplanes\iFly 737-MAX8\model.

    Wingflex:
    - An oscillatory term was added to the base wing flex to simulate the vibration of the wing at the first mode. A natural frequency of 3 Hz was chosen, which seemed to give reasonable behaviour when combined with a lag value of 25. The base wing flex was tweaked too, but is slightly more muted than it would look like in real life because it would look strange at large deflections with the low node counts of the wing model.

    The core mechanism was to compute the change in the WING FLEX PCT SimVar over a fixed short time interval, and make the amplitude of oscillations a function of that, with a damping term added. So if you see the wings vibrating slightly when the aircraft appears stationary, it's likely something triggered a change in WING FLEX PCT — could be gusts of wind etc.

    Please go ahead and experiment with tweaking the values if you so wish to. It is advisable to use a quantitative metric to tweak the wingflex to your preference, and I have provided 2 desmos graphs you can access here to aid you in doing so. There is a basic explanation of what each graph does in the graph pages themselves. To tweak the wingflex effectively you should also enable the simulator's Developer Mode which can be enabled by going to Settings > General Options > Developers then turning the mode ON (you should turn this off after you're done because it apparently consumes more resources). Then on the top bar go to Tools > Behaviours > Local Variables and filter by keying in 'FSG'. You should now see all the relevant LVars and their values in a window on screen which you can use in conjunction with the graphs.

    Graph for tweaking wingflex oscillation amplitude: https://www.desmos.com/calculator/3zskoxebd6
    Graph for tweaking base wingflex: https://www.desmos.com/calculator/tgft0tom6b

    - The maximum wing deflection was increased and wing bending profile changed (it should be more realistically curved now). This was done by editing the .glTF and .bin files found in SimObjects\Airplanes\iFly 737-MAX8\model. If you wish to do so yourself, I have provided python scripts to help you do so, because it is quite an involved process involving quaternions and the .glTF files are just rather human-unfriendly to read, much less edit, and the data must then be parsed to the .bin files. Nigh impossible to do in a clean and reproducible manner without a script.

    Low-speed fanblade windmilling *(currently removed post-SP1)*:
    - The aircraft currently does have fanblade windmilling but this only kicks in at very high relative wind speeds. The mod thus adds low-speed windmilling — low speed because it asymptotically drops off, reaching half the max rotation speed at about 16.5 knots of direct longitudinal wind. Correct behaviour involving rotation directions depending on the relative wind and inertia have been implemented. If you wish to tweak the fanblade windmilling behaviour, you can do so with the help of this graph (and following the same steps above to enable dev mode so you can see the LVar values).

    Graph for tweaking fanblade windmilling: https://www.desmos.com/calculator/hdceidzqdj

    Other small changes:
    - The external reflectivity of the cockpit windows has been decreased, which lowers the currently unrealistically "milky" reflections especially near sunrise and sunset. If you wish not to have this, search for 'iFlyMax_WindShield_VC' in the iFly737Max.glTF file found in SimObjects\Airplanes\iFly 737-MAX8\model and change the last entry of its associated "baseColorFactor":[1.0,1.0,1.0,0.0] from 0.0 to 0.01.

    If you wish to get rid of the reflections of the external environment found in the cabin windows (not done in this mod) and don't mind not having nighttime reflections of the cabin, search for 'iFlyMax_WindShieldx' in the iFly737Max_INTERIOR_178.glTF file found in SimObjects\Airplanes\iFly 737-MAX8\model and change the associated "baseColorFactor":[1.0,1.0,1.0,0.01] from 0.01 to 0.0. Any value below 0.01 seems to be treated as 0.0 for some reason. You can also try increasing the 'roughnessFactor' from 0.0 to 0.2, which smoothens out the reflections. Note that values past 0.2 start to make your camera lose focus on the outside view as you get close to the windows.

    Tweaking the Mod with the Optional File:
    - The Optional File contains the 4 python scripts which you can run to plot and patch the maximum wing flex deflection, for both the external and internal 3D model (these are separate in MSFS2020). The 2 .glTF and 2 .bin files are example files — copy your current files from the aircraft folder into the tweaking folder the 4 scripts are in. To run the scripts you must first install python and ensure that the 4 scripts are in the same folder as the 2 .glTF and 2 .bin files. Then open Command Prompt and change directories to the folder in which the files now are. For example if they are in a folder named X on the desktop you'd type

    cd desktop\X

    and hit ENTER. Then run the scripts with python by typing

    python [script name].py

    and hitting ENTER. Or use whatever method you prefer if you know what you're doing.

    - The patcher scripts will not override the .glTF and .bin files but will rather create new ones with _MOD at the end of the file name. To put them back into the Improvement Mod addon folder for testing simply copy and paste into the addon folder and make sure to delete the original files (they should already be backed up in the tweaking folder) and delete the _MOD at the end of the file names. Then, drag and drop the layout.json over the MSFSLayoutGenerator .exe file, which you can find and download from here: https://github.com/HughesMDflyer4/MSFSLayoutGenerator

    Miscellaneous:
    - 17 extra lightdefs were added (the last entry in systems.cfg is now 361 instead of 338, which is an increase of 23, but I also commented out 6 lightdefs). This should have a negligible impact on performance. Similarly, the additional parsing of Lvars is minimal compared to the number already parsed by the sim, which means the mod should have no noticeable impact on performance.

    - If you are planning to change the .xml files mathematically, it is recommended to read the MSFS SDK documentation on Reverse polish Notation here: https://docs.flightsimulator.com/html/Additional_Information/Reverse_Polish_Notation.htm

    A special thanks to ashtonsweetFS and hvxnuvx for the initial inspiration to tweak the lighting, which kickstarted this whole project. You can find their work here:
    https://flightsim.to/file/99361/ashton-sweet-ifly737max8-lights-mod
    https://flightsim.to/file/100374/ifly-737-max8-lighting-overhaul

    Another, perhaps bigger, special thanks to ChatGPT for making the process of writing the scripts much faster, catching bugs and providing ideas on how to implement certain things. Work would certainly have taken much longer and been significantly more tedious if not for its help.

    This initially started with the desire to shorten the active duration for the "fast-flashing" beacon, but upon examination of the files I thought it was impossible since it seemed to be WASM-driven. So I worked on the other lights, then decided to tweak the wingflex, then decided to add windmilling, and only after doing so realised I could use the .xml to create some conditional gates to read the beacon LVar and make it now flash for the correct duration.

    Feedback
    Please feel free to leave feedback below in the comments, or ideas, suggestions etc. While I may not be able to actually implement them due to increased real-life workload at the moment, we can at the very least have a fruitful discussion. Certainly, I learnt a lot from working on this project!


    Kommentare(70)

    Melden Sie sich an, um an der Diskussion teilzunehmen

    Anmelden
    j

    about 4 hours ago

    Please also make this MSFS 2020 !
    F

    about 3 hours ago

    This was created with 2020 in mind actually, the fact that it works for 2024 is a nice bonus. So it should work as intended :)
    a

    about 22 hours ago

    Really stoked to see this get updated... the jetway drives me insane
    F

    about 3 hours ago

    Just updated it — hope it works well on your end!
    C

    1 day ago

    i didnt see any difference in the window cloudyness, hope to see this more if possible for the next update!!! Thank you!
    the sp1 still have the unrealistic cloudy windows... idk why
    F

    about 3 hours ago

    I can only decrease it so much (the minimum value I can set is 0). There will still be reflections on the glass as you'd expect irl too but overall I think there's a noticeable change :)
    a

    1 day ago

    iFly SP1 came out like a few minutes ago, any plans to update for SP1? Still love the work
    F

    1 day ago

    Thanks! Yup I'll be working on that shortly, pretty busy atm so might take a while but alongside I'll update the wingflex profile to be more realistic too :)
    j

    15 days ago

    Any plans to tweak the PMDG 737-800? great tweak
    F

    about 3 hours ago

    No probably not — I don't own the 2024 version so I can't work on it and the exterior lighting in general on PMDG aircraft have always looked decent imo
    j

    16 days ago

    This mod is great for the wingflex, however on 2024 all of the lights are floating slightly above where they should be. This is especially noticeable with the beacon lights.
    Is there anyway to fix this or disable only the lights while keeping the wingflex changes?
    F

    about 3 hours ago

    I believe it's been fixed with the .gltf (3D model) update by the devs — if it hasn't, do let me know
    T

    20 days ago

    This mod seems to break the iFLY mouse interaction setting. When using this mod the aircraft defaults back to the MSFS mouse interaction style. Any way to have the iFLY mouse interaction work with this?

    Thanks so much.
    F

    about 1 hour ago

    It shouldn't have any capability of doing that — but check your iFly Manager to see what's actually going on as the mouse interaction stuff is controlled from there
    c

    about 1 month ago

    Is there a file without the lights but has wing flex and engine windmilling still?
    F

    about 3 hours ago

    You can strip away the parts you don't want by deleting the relevant files and regenerating the layout.json. Get rid of the effects folder and systems file for instance if you don't want the lights :)
    a

    about 2 months ago

    It appears the beacon light is floating a little bit outside of the actual aircraft, is this able to be fixed? I saw some other comments saying that it might not be the mod, do you know anything about it or a way to fix it? It's such a good mod otherwise. This is for 2024.
    F

    about 3 hours ago

    I believe it's been fixed with the .gltf (3D model) update by the devs — if it hasn't, do let me know
    U

    about 2 months ago

    This comment has been deleted
    MSFS 2020MSFS 2024

    iFly 737 MAX 8 Improvement Mod (Wingflex + Lighting etc.)

    An improvement modification for the iFly 737 MAX 8 for MSFS 2020 (and should be compatible with MSFS2024 till the native build drops).  - Impulse-dependent wingflex oscillations with damping (see video below) - External lighting overhauled (see pictures) - Anti-collision light with "fast flash rate" has had its active duration shortened (see video below) - External reflectivity of cockpit windows decreased (see pictures) - Refined jetway connection with aircraft (see pictures)

    Downloads2K
    Version1.2.0
    Dateigröße433.9 MB
    VeröffentlichtVor 5 Monaten
    AktualisiertVor 3 Stunden

    Nutzerbewertungen

    4.7

    12 Bewertungen

    5
    83%
    4
    8%
    3
    0%
    2
    8%
    1
    0%

    More Information

    Simulator
    MSFS2020/24
    Zugehörigkeit
    iFly Boeing 737 MAX

    Versionsgeschichte

    Now compatible with Service Pack 1 - Removed engine windmilling for now — iFly's own one seems to be working just fine - Tweaks here and there to keep all existing effects largely the same - Improved wing bending profile to be more realistic Let me know if it works well in FS2024 for you :)

    Ähnliche Addons