Jump to content

Recommended Posts

Posted (edited)
18 minutes ago, razo+r said:

The animation is currently bugged. Using a key or mouse will move the lever, but not actually engage the function of the lever. Using an axis is the opposite. The lever will not move, but it will actually do the function that the lever is supposed to provide.

Best way to show: Go to a high altitude just below second gear kicks in. Move the lever with the mouse or keys and see the effect on Manifold pressure. Now do the same but by moving the lever with an axis.

You will see it won't do anything with mouse and keys, but it will work, despite no lever movement, when using an axis.

Hey.

Thanks for the fast reply! I was just checking it and geting to hight altitude to see. My problem is that now I can t tell when it is fws or aft!

Thks again.

Saca111

 

Edit.

It worked, the manifold jumps up and down like a maniac, but no lever movement!

thanks again.

Saca111

Edited by Sacarino111
Posted

I have determined, at least for myself, that the advice given here re: axis binding etc, does in fact work as advertised, but I sure wish the Devs would give this (and the Mustang overheating bug) some attention. After reading the changelog of the most recent update, I think a lot of those items could have taken a back seat to this problem, considering how long they have had to fix it.

My two-

Thanks for all the good info, guys-

On 12/30/2021 at 9:38 AM, Sacarino111 said:

Hey.

Thanks for the fast reply! I was just checking it and geting to hight altitude to see. My problem is that now I can t tell when it is fws or aft!

Thks again.

Saca111

 

Edit.

It worked, the manifold jumps up and down like a maniac, but no lever movement!

thanks again.

Saca111

 

There is a carb air mod floating around in these forums that restores the lever animation- you might want to do a search for it-

[sIGPIC][/sIGPIC] Remembering Arlie "Jack" Campbell, US Army Air Forces, WWII. Well done dad, rest in peace.

Posted
8 hours ago, chris455 said:

I have determined, at least for myself, that the advice given here re: axis binding etc, does in fact work as advertised, but I sure wish the Devs would give this (and the Mustang overheating bug) some attention. After reading the changelog of the most recent update, I think a lot of those items could have taken a back seat to this problem, considering how long they have had to fix it.

Very similar to my sentiments

Posted

ED is developing new cooling system for all liquid cooled warbirds but no news about it for long time so far.

  • Like 1
  • Thanks 2

System specs: I7 14700KF, Gigabyte Z790 Aorus Elite, 64GB DDR4 3600MHz, Gigabyte RTX 4090,Win 11, 48" OLED LG TV + 42" LG LED monitor

Posted

Some of us (including myself) don't have any spare slider. I created these 3 commands (for addition to "default.lua") that set the lever axis to MAX, OFF or HALF.
I actually only use MAX and OFF.

{down = device_commands.Button_18, cockpit_device_id  = devices.ENGINE_SYSTEM, value_down = 1.0, name = _('Cold Air Control OFF'), category = _('Carburetor Air Controls')},
{down = device_commands.Button_18, cockpit_device_id  = devices.ENGINE_SYSTEM, value_down = 0.0, name = _('Cold Air Control HALF'), category = _('Carburetor Air Controls')},
{down = device_commands.Button_18, cockpit_device_id  = devices.ENGINE_SYSTEM, value_down = -1.0, name = _('Cold Air Control MAX'), category = _('Carburetor Air Controls')},

 

  • Thanks 2

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted

Not sure if you're aware but if you bind it directly to a key without fixing the lua problem the lever in the cockpit will move, but you won't get the actual system changes (ie. no ram air boost).

 

The proper way to fix it is to simply change 2 single digit numbers in the lua, then you can properly bind it to a key or button and get the proper response.

 

Here is the fix:

Open the file: \Mods\aircraft\P-51D\Cockpit\Scripts\clickabledata.lua

Search for the following lines:

elements["pnt_134"] = default_movable_axis(_("Carburetor Cold Air Control"),devices.ENGINE_SYSTEM, device_commands.Button_8, 134, 0.1 )
elements["pnt_135"] = default_movable_axis(_("Carburetor Warm Air Control"),devices.ENGINE_SYSTEM, device_commands.Button_28, 135, 0.1 )

Change the underlined variable to the following and then save the file:

device_commands.Button_7

device_commands.Button_27

 

It is literally as simple as changing an 8 to a 7 (two instances). @NineLine can we get this one pushed through, already??

 

 

  • Thanks 2
Posted (edited)

@kablamoman
Haha, I suspected that they had messed up the button numbers but didn't have the patience to fiddle with them. Thanks!
 

Edited by LeCuvier

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
8 hours ago, kablamoman said:

Not sure if you're aware but if you bind it directly to a key without fixing the lua problem the lever in the cockpit will move, but you won't get the actual system changes (ie. no ram air boost).

 

The proper way to fix it is to simply change 2 single digit numbers in the lua, then you can properly bind it to a key or button and get the proper response.

 

Here is the fix:

Open the file: \Mods\aircraft\P-51D\Cockpit\Scripts\clickabledata.lua

Search for the following lines:

elements["pnt_134"] = default_movable_axis(_("Carburetor Cold Air Control"),devices.ENGINE_SYSTEM, device_commands.Button_8, 134, 0.1 )
elements["pnt_135"] = default_movable_axis(_("Carburetor Warm Air Control"),devices.ENGINE_SYSTEM, device_commands.Button_28, 135, 0.1 )

Change the underlined variable to the following and then save the file:

device_commands.Button_7

device_commands.Button_27

 

It is literally as simple as changing an 8 to a 7 (two instances). @NineLine can we get this one pushed through, already??

 

 

I am on stable version and I tried to do it and save the file, but I got message that I didn't have the permission to change the file.

ScreenShot_20220105025833.png

Posted (edited)

a) It's not a DCS stable issue, but Windows system issue - Windows is anal about editing anything code-related, when it's located in Program Files folder - that's the primary reason NOT to install games in Program Files if you intend to mod them.

b) try using an already edited file from Dawger's mod (it changes these two lines too):

https://www.digitalcombatsimulator.com/en/files/3317307/

c) tip for the future - don't edit .lua files with windows notepad, because it sometimes messes up file format/layout. Use dedicated tool like Notepad++, created specifically for editing such files.

Edited by Art-J

i7 9700K @ stock speed, single GTX1070, 32 gigs of RAM, TH Warthog, MFG Crosswind, Win10.

Posted (edited)

@Silent Film
Install the free Notepad++ and set it up to "Run as Administrator".
Once you have installed Notepad++ you should have its shortcut on your desktop.
Right-click the shortcut and select "Properties". Then, on the "Shortcut" tab, click "Advanced".
This opens a pop-up window. On that window tick "Run as administrator and hit OK.

From now on, when you start Notepad++ from the shortcut, a window will pop up asking whether you want to allow this app to make changes to your device. You confirm this by hitting OK, and now you can edit all .LUA files.

Capture.JPG

Edited by LeCuvier
  • Like 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted (edited)
On 1/4/2022 at 6:03 PM, Silent Film said:

I am on stable version and I tried to do it and save the file, but I got message that I didn't have the permission to change the file.

ScreenShot_20220105025833.png

Hey sorry for the late reply, friend.

As others mentioned this is just a windows issue — looks like you need administrator rights to edit the file.

If you’re not sure how to run notepad as admin, you could try saving a copy of the file to your desktop, make the change and save, then try copying/dragging it back to the folder — hopefully you’d get a prompt for admin approval to overwrite the original file and can simply click to allow it.

 

Good luck.

 

Edited by kablamoman
  • Like 1
Posted
On 1/6/2022 at 11:26 PM, kablamoman said:

Hey sorry for the late reply, friend.

As others mentioned this is just a windows issue — looks like you need administrator rights to edit the file.

If you’re not sure how to run notepad as admin, you could try saving a copy of the file to your desktop, make the change and save, then try copying/dragging it back to the folder — hopefully you’d get a prompt for admin approval to overwrite the original file and can simply click to allow it.

 

Good luck.

 

 

Thank you for that workaround, it worked! I wouldn't install Notepad++ because I don't use it. Great to see both cold and hot air levers in front positions on start once again! Now my Mustang is noticeably faster.

  • Like 1
Posted
19 hours ago, Silent Film said:

Thank you for that workaround, it worked! I wouldn't install Notepad++ because I don't use it. Great to see both cold and hot air levers in front positions on start once again! Now my Mustang is noticeably faster.

Just use the file I created and posted in the user section. Saves a few steps. If you use a mod manager like OvGMe it becomes very simple  

https://www.digitalcombatsimulator.com/en/files/3317307/

 

 

 

 

EDsignaturefleet.jpg

Posted

^ In that case, @=475FG= Dawger, could you please create and upload updated file to the user files section? Will be easier for new users to have both new functionality and your edits available together.

i7 9700K @ stock speed, single GTX1070, 32 gigs of RAM, TH Warthog, MFG Crosswind, Win10.

Posted (edited)
1 hour ago, Art-J said:

^ In that case, @=475FG= Dawger, could you please create and upload updated file to the user files section? Will be easier for new users to have both new functionality and your edits available together.

Sure. It should be available later today

EDIT: Available now at same link. Be sure to test it. I did not do any testing of this revision.

https://www.digitalcombatsimulator.com/en/files/3317307/

Edited by =475FG= Dawger
  • Like 1

 

 

 

 

EDsignaturefleet.jpg

Posted

I guess this is a virtual control, I still don't see any animation of the Ram Air lever.  Guess I'll watch the "MP. I put it on an axis on my Blackhog...

Thanks

Hoss

Sempre Fortis

  • Recently Browsing   0 members

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