Jump to content

Recommended Posts

Posted (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 by Mav87th
  • Like 1
Posted
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
Not 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

Posted
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?

  • Like 1
Posted
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).

  • Like 1

Dima | My DCS uploads

Posted
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

Posted
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.

  • Like 6

My mods:
T-45C

Heli EFM Demo (not supported/updated)

FPV Drone

Posted

Interesting, that could be a solution also for the A-4 Skyhawk

  • Like 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

Posted

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"}},
  • Like 2
  • Thanks 1
Posted
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.

  • Like 3
  • Thanks 4

My mods:
T-45C

Heli EFM Demo (not supported/updated)

FPV Drone

Posted
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

  • Like 1
Posted
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

  • Like 4
  • Thanks 1

My mods:
T-45C

Heli EFM Demo (not supported/updated)

FPV Drone

Posted
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.

 

  • Like 2
Posted (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 by cj43g3r
remove nulls
  • Like 2
Posted
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!!!

  • Like 4

Posted
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.

  • Like 14
  • Thanks 1

My mods:
T-45C

Heli EFM Demo (not supported/updated)

FPV Drone

Posted
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!!! 

  • Like 5

  • 3 weeks later...
Posted

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?

  • Like 1
  • 2 weeks later...
Posted

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

Posted (edited)

EFM.lua

@sideshow

Edited by Esac_mirmidon
  • Like 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

Posted (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?

20250430110402_1.jpg

20250430105642_1.jpg

Edited by abitar
  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...