Mav87th Posted March 20 Posted March 20 (edited) In order to solve the problems with non-folding wings and the new super carrier deck crew - would it be possible to "give" the T-45C pseudo folding wings by adding the supporting code in the lua files to fold wings, and then tie it to opening the cockpit in 3D. Thus the state of "wings folded" would be set/sent from the player and the deck crew being able to react on this. perhaps i is possible to figure out how the F/A-18C is structured in this regard and "copy" that structure? Just thinking out loud Edited March 20 by Mav87th 1
MAXsenna Posted March 20 Posted March 20 In order to solve the problems with non-folding wings and the new super carrier deck crew - would it be possible to "give" the T-45C pseudo folding wings by adding the supporting code in the lua files to fold wings, and then tie it to opening the cockpit in 3D. Thus the state of "wings folded" would be set/sent from the player and the deck crew being able to react on this. perhaps i is possible to figure out how the F/A-18C is structured in this regard and "copy" that structure? Just thinking out loudNot a bad idea, while ED will have to come up with an alternative even for the Hornet and the Tomcat, if the fold/sweep mechanisms are broken.Cheers! Sent from my SM-A536B using Tapatalk
LCO489 Posted March 20 Posted March 20 7 hours ago, Mav87th said: In order to solve the problems with non-folding wings and the new super carrier deck crew - would it be possible to "give" the T-45C pseudo folding wings by adding the supporting code in the lua files to fold wings, and then tie it to opening the cockpit in 3D. Thus the state of "wings folded" would be set/sent from the player and the deck crew being able to react on this. perhaps i is possible to figure out how the F/A-18C is structured in this regard and "copy" that structure? Just thinking out loud Could it be airbreaks instead of canopy? 1
Minsky Posted March 20 Posted March 20 1 hour ago, LCO489 said: Could it be airbreaks instead of canopy? Or any other unused cockpit switch other than the canopy (which is supposed to remain closed during deck taxiing). 1 Dima | My DCS uploads
MAXsenna Posted March 20 Posted March 20 Or any other unused cockpit switch other than the canopy (which is supposed to remain closed during deck taxiing).Could even be a fake function probably. Sent from my SM-A536B using Tapatalk
nibbylot Posted March 20 Posted March 20 14 hours ago, Mav87th said: In order to solve the problems with non-folding wings and the new super carrier deck crew - would it be possible to "give" the T-45C pseudo folding wings by adding the supporting code in the lua files to fold wings, and then tie it to opening the cockpit in 3D. Thus the state of "wings folded" would be set/sent from the player and the deck crew being able to react on this. perhaps i is possible to figure out how the F/A-18C is structured in this regard and "copy" that structure? Just thinking out loud We have a tested and working solution using a new keybind that fakes the wing fold. 6 My mods: T-45C Heli EFM Demo (not supported/updated) FPV Drone
Esac_mirmidon Posted March 20 Posted March 20 Interesting, that could be a solution also for the A-4 Skyhawk 1 " You must think in russian.." [sIGPIC][/sIGPIC] Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´ Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4
cj43g3r Posted March 21 Posted March 21 Can the folded wings keybind be tied to flaps instead of canopy or air brakes? Flaps up => folded wings. Flaps no longer needed after landing. Flaps down => unfolded wings. Since flaps should deployed for takeoff. In the lua, is the "Arg" 85, the same as "85, -- launch bar" ? FoldableWings = {-- necessary for AI to not get stuck at end of cat launch {Transition = {"Retract", "Extend"}, Sequence = {{C = {{"Arg", 85, "to", 0.0, "in", 5.0}}}}, Flags = {"Reversible"}}, {Transition = {"Extend", "Retract"}, Sequence = {{C = {{"Arg", 85, "to", 1.0, "in", 5.0}}}}, Flags = {"Reversible", "StepsBackwards"}}, 2 1
nibbylot Posted March 22 Posted March 22 On 3/21/2025 at 5:10 AM, cj43g3r said: Can the folded wings keybind be tied to flaps instead of canopy or air brakes? Flaps up => folded wings. Flaps no longer needed after landing. Flaps down => unfolded wings. Since flaps should deployed for takeoff. In the lua, is the "Arg" 85, the same as "85, -- launch bar" ? FoldableWings = {-- necessary for AI to not get stuck at end of cat launch {Transition = {"Retract", "Extend"}, Sequence = {{C = {{"Arg", 85, "to", 0.0, "in", 5.0}}}}, Flags = {"Reversible"}}, {Transition = {"Extend", "Retract"}, Sequence = {{C = {{"Arg", 85, "to", 1.0, "in", 5.0}}}}, Flags = {"Reversible", "StepsBackwards"}}, This is a great idea. I've changed it to be tied to the flaps, so the player only has to move the flaps up or down to satisfy the deck crew. Yes arg 85 is the launch bar argument. 3 4 My mods: T-45C Heli EFM Demo (not supported/updated) FPV Drone
MAXsenna Posted March 22 Posted March 22 This is a great idea. I've changed it to be tied to the flaps, so the player only has to move the flaps up or down to satisfy the deck crew. Yes arg 85 is the launch bar argument.Excellent! Sent from my SM-A536B using Tapatalk 1
Mav87th Posted March 22 Posted March 22 (edited) Whaaaaat!!! so it works @nibbylot ? Can you post what to add to the keybind file? Edited March 22 by Mav87th 1
nibbylot Posted March 22 Posted March 22 6 minutes ago, Mav87th said: Whaaaaat!!! so it works @nibbylot ? Can you post what to add to the keybind file? There is no changes to the keybind file, its some internal .dll code to set the external argument for wing fold and it reads the flap position. If you don't want to wait for the update, you can try to fix it yourself by putting the following code in the update() function of the EFM.lua (Cockpit/Scripts/EFM.lua) set_aircraft_draw_argument_value(8, 1.0-get_aircraft_draw_argument_value(9)*2.0) I haven't tested this out though, but its the same thing I'm doing in the .dll 4 1 My mods: T-45C Heli EFM Demo (not supported/updated) FPV Drone
Mav87th Posted March 22 Posted March 22 @nibbylot Cool i might try that monday and get back to you how it works for me. Thanks 1
LCO489 Posted March 22 Posted March 22 8 hours ago, nibbylot said: There is no changes to the keybind file, its some internal .dll code to set the external argument for wing fold and it reads the flap position. If you don't want to wait for the update, you can try to fix it yourself by putting the following code in the update() function of the EFM.lua (Cockpit/Scripts/EFM.lua) set_aircraft_draw_argument_value(8, 1.0-get_aircraft_draw_argument_value(9)*2.0) I haven't tested this out though, but its the same thing I'm doing in the .dll Hi, just tried it and it works fine. 2
cj43g3r Posted March 23 Posted March 23 (edited) @nibbylot Thanks!!! The line "set_aircraft_draw_argument_value(8, 1.0-get_aircraft_draw_argument_value(9)*2.0)" added to the bottom of the update() function in <VNAO_T45>\Cockpit\Scripts\Systems\EFM.lua for the T-45 works for the player's plane. Adding it to the bottom of the corresponding update() function in <A-4E-C>\Cockpit\Scripts\Systems\flaps.lua for the A-4e-c also works for the player's plane. The AI versions of the T-45 and A-4e-c still don't catapult off the supercarrier maybe for similar reasons. Perhaps a similar technique could be used for that in the future. Edited March 23 by cj43g3r remove nulls 2
prestupnik Posted March 23 Posted March 23 Is the carrier's TACAN working properly now? T-45 sees only TACAN ground stations.Other planes see both the ground TACAN and carriers TACAN
DP Spaz Posted March 23 Posted March 23 On 3/22/2025 at 5:06 AM, nibbylot said: There is no changes to the keybind file, its some internal .dll code to set the external argument for wing fold and it reads the flap position. If you don't want to wait for the update, you can try to fix it yourself by putting the following code in the update() function of the EFM.lua (Cockpit/Scripts/EFM.lua) set_aircraft_draw_argument_value(8, 1.0-get_aircraft_draw_argument_value(9)*2.0) I haven't tested this out though, but its the same thing I'm doing in the .dll It's great to see some work is continuing to fix and bring more capabilities to the T-45! I'm curious and need to ask, are you part of VNAO or working with some of them on this? Been hoping for years now that this effort would get picked back up and finished! I wrote code years ago (very long time ago), without the .dll files, there isn't much that can be done. I looked into the lua code some, and made some minor changes, nothing significant, mostly just testing to see if I understood the T-45 code. Appreciate the work that is being done!!! 4
nibbylot Posted March 24 Posted March 24 On 3/23/2025 at 1:41 PM, prestupnik said: Is the carrier's TACAN working properly now? T-45 sees only TACAN ground stations.Other planes see both the ground TACAN and carriers TACAN The mission file changed at some point which broke the carrier TACAN. There is a fix in the coming update. On 3/23/2025 at 3:07 PM, DP Spaz said: It's great to see some work is continuing to fix and bring more capabilities to the T-45! I'm curious and need to ask, are you part of VNAO or working with some of them on this? Been hoping for years now that this effort would get picked back up and finished! I wrote code years ago (very long time ago), without the .dll files, there isn't much that can be done. I looked into the lua code some, and made some minor changes, nothing significant, mostly just testing to see if I understood the T-45 code. Appreciate the work that is being done!!! Part of the original developer team, had to take a break from DCS for a few years. 14 1 My mods: T-45C Heli EFM Demo (not supported/updated) FPV Drone
DP Spaz Posted March 26 Posted March 26 On 3/24/2025 at 3:18 PM, nibbylot said: Part of the original developer team, had to take a break from DCS for a few years. Thanks for getting back regarding my question!.. its great to have you back and working on this really sweet mod!!! It brings so much to DCS and Naval Aviation as a whole. Hopefully you will get some additional help and can get it completed, which would be awesome!!! 5
dimasovetov Posted April 14 Posted April 14 Hello! Could you please clarify does the T-45C project currently have an active Discord server? I've heard rumors about a major update addressing long-standing bugs - is this true? 1
sideshow Posted April 24 Posted April 24 Can anyone post the updated EFM.lua? I've been trying to figure out where in the scripts to paste the new line to bind the wing fold to the flaps unsuccessfully. Thanks
Esac_mirmidon Posted April 24 Posted April 24 (edited) EFM.lua @sideshow Edited April 24 by Esac_mirmidon 1 " You must think in russian.." [sIGPIC][/sIGPIC] Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´ Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4
abitar Posted April 30 Posted April 30 (edited) Putting the flaps in place of folding wings worked for me, both in the T-45 and in the A-4, Thanks for the solution! I also inserted some rockets and bombs for non-training and they work well, but does anyone know if it is possible to make a gunpod work? Edited April 30 by abitar 1
FST_Bearcat Posted April 30 Posted April 30 @Abitar, Sound great is there a way to get your upgrade ? Thank you by advance , best regards
Recommended Posts