BR55Sevas Posted January 20, 2020 Share Posted January 20, 2020 Does anyone knows how to play engine sound with EFM? I suppose this is somewhere here double ed_fm_get_param(unsigned index) { if (index <= ED_FM_END_ENGINE_BLOCK) { switch (index) { case ED_FM_ENGINE_1_RPM: [b]return 0;[/b] case ED_FM_ENGINE_1_RELATED_RPM: return 0; case ED_FM_ENGINE_1_THRUST: return 0; case ED_FM_ENGINE_1_RELATED_THRUST: return 0; case ED_FM_ENGINE_2_RPM: return 0; case ED_FM_ENGINE_2_RELATED_RPM: return 0; case ED_FM_ENGINE_2_THRUST: return 0; case ED_FM_ENGINE_2_RELATED_THRUST: return 0;////////////// } } I tried to return 0..1 range or 0..maxRPM, but engine sound does not play. МиГ-29 Fly by wire СДУ Su-27SM second display panel https://www.youtube.com/embed/videoseries?list=PL_2GGwNpWNp_fKXfRtDhIk8s5Jf4a9XHS http://berkuts.ru Пилотажный сервер с роботом | Aerobatic server with PhantomControl Link to comment Share on other sites More sharing options...
nibbylot Posted January 29, 2020 Share Posted January 29, 2020 Does anyone knows how to play engine sound with EFM? I suppose this is somewhere here double ed_fm_get_param(unsigned index) { if (index <= ED_FM_END_ENGINE_BLOCK) { switch (index) { case ED_FM_ENGINE_1_RPM: [b]return 0;[/b] case ED_FM_ENGINE_1_RELATED_RPM: return 0; case ED_FM_ENGINE_1_THRUST: return 0; case ED_FM_ENGINE_1_RELATED_THRUST: return 0; case ED_FM_ENGINE_2_RPM: return 0; case ED_FM_ENGINE_2_RELATED_RPM: return 0; case ED_FM_ENGINE_2_THRUST: return 0; case ED_FM_ENGINE_2_RELATED_THRUST: return 0;////////////// } } I tried to return 0..1 range or 0..maxRPM, but engine sound does not play. I have found that the only important one is "case ED_FM_ENGINE_1_CORE_RELATED_RPM:", that will give you sound, heatblur, and rpm in F2 view. It doesn't seem like any of the others are important. Link to comment Share on other sites More sharing options...
BR55Sevas Posted January 29, 2020 Author Share Posted January 29, 2020 (edited) Thanks for answer! In my case works only heatblur. Do you have any sound file inside your Mod folder? Edited January 29, 2020 by BR=55=Sevas МиГ-29 Fly by wire СДУ Su-27SM second display panel https://www.youtube.com/embed/videoseries?list=PL_2GGwNpWNp_fKXfRtDhIk8s5Jf4a9XHS http://berkuts.ru Пилотажный сервер с роботом | Aerobatic server with PhantomControl Link to comment Share on other sites More sharing options...
Recommended Posts