Jump to content

Recommended Posts

Posted

Does anyone know which LUA file is assoicated with the AI panel for the gunners?   This is in relation to a previous thread trying find why i cant see it on any of my screens.    

Posted
On 10/22/2024 at 11:11 PM, Gabreil said:

Does anyone know which LUA file is assoicated with the AI panel for the gunners?   This is in relation to a previous thread trying find why i cant see it on any of my screens.    

the file is located

DCS > Mods > aircraft > GCBase > Cockpit > scripts > AI > ControlPanel > g_panel_page.lua

Posted

Thanks @jonsky7     

Thats good to know.   Perhaps you can assist a bit further.   If i understand correctly, this is the master file and other aircraft like the UH-1 reference it?   If thats the case, i would have thought i would see the same file somewhere in the CH47 folder?

If a case of editing the file you've indicated, i think its this area that needs attention.. Any suggestions to get it to show on my screen?   Even being able to see some it would be good.. 

local shift_X          = -0.65
local shift_Y          = -1
local size_X          = -shift_X + 0.02     -----shift_X + 0.02 
local size_Y          = 0.35                -----0.35
local border_s          = 0.01
local Y_space          = size_Y/9.0            -----size_Y/6.0

 

Posted
1 minute ago, Gabreil said:

Thanks @jonsky7     

Thats good to know.   Perhaps you can assist a bit further.   If i understand correctly, this is the master file and other aircraft like the UH-1 reference it?   If thats the case, i would have thought i would see the same file somewhere in the CH47 folder?

If a case of editing the file you've indicated, i think its this area that needs attention.. Any suggestions to get it to show on my screen?   Even being able to see some it would be good.. 

local shift_X          = -0.65
local shift_Y          = -1
local size_X          = -shift_X + 0.02     -----shift_X + 0.02 
local size_Y          = 0.35                -----0.35
local border_s          = 0.01
local Y_space          = size_Y/9.0            -----size_Y/6.0

 

This is not a master file no, just the file for the CH47. There are some other CH47 files in the directory too. Not sure why the module file structure has changed and why there's a whole separate folder for parts of the module. 

 

To move the whole thing:

look for line 62

base.init_pos       = {aspect + shift_X,firstLineY + shift_Y} 

I changed mine to

{aspect + shift_X - 5.2,firstLineY + shift_Y + 1.6} ---

adding negative offset values for X will make it go left, and for Y go down
positive values for X go right, and up for Y

It is set to appear on the bottom right of your resolution by default, so you'll have to work out which way to move it to bring it onto a screen.

 

Posted

Thanks ill give that a go.   No wonder i was struggling to find the file for the CH47..   I followed a logical approach and assumed it would follow the same sort of path as the UH-1.. and be inside the heli folder structure.    Cant follow the logic of the CH47 not having the same and a folder totally outside of it being in play.. But, i'm learning that ED dont always play by the rules!!

Posted

I'm giving up trying to get the AI panel to show.   No matter what i tried i could not get it showing by changing numbers.    I spun up a brand new install of DCS on a laptop, installed the CH47 and the AI panel showed immeditely.   Tried copying the GCBase file from known working to my game pc.. Still nothing.  Tried the copying the CH47 folder over.. still nothing.   Last resort was a new options.lua with just one monitor setup.. Still nothing..   

Can only assume the problem is deeper in the DCS folder structure which is preventing the AI panel to display in the CH47.  Last resort would be a full re-install of DCS.. But thats a bit extreme for just the AI panel.   If nothing else, hope this gives some insight to others who have got the same problem!

Posted
5 hours ago, Gabreil said:

 I spun up a brand new install of DCS on a laptop, installed the CH47 and the AI panel showed immeditely.

Yeah, as it should with only one screen. The files that are changed are actually functions of the screen area and placed in size and relations to it. I wish all the panels were absolutes and calculated and placed in Saved Games with easy to understand coordinates for us to change to our liking.

5 hours ago, Gabreil said:

Tried copying the GCBase file from known working to my game pc..

And that's why it's not working. Because the screen area is not the same. And placed somewhere outside of what you physically can see. 

5 hours ago, Gabreil said:

Last resort was a new options.lua with just one monitor setup.. Still nothing..   

Now, that is odd. 

5 hours ago, Gabreil said:

Last resort would be a full re-install of DCS.. But thats a bit extreme for just the AI panel.  

Very extreme, because you can just run a repair and bring DCS back to vanilla. I'd do just that, and then run DCS with one screen. Quick question. You didn't do anything in Saved Games, right? 

Posted

I ran the repair as you mentioned in the other post about trying to just find the AI Panel.  that didnt reveal anything.. and no, i've not made any changes in the Saved games.  Couldnt find anything that was directly connected to the CH47.   

The only thing that would make sense would be that there is a file somewhere which references the AI Panel and screen postition.. Hence, when i create a new options.lua, where it's configured for one monitor, the AI panel is still nowhere to be seen.. But what the file might be is anyones guess

 

Posted (edited)
On 10/26/2024 at 4:47 PM, Gabreil said:

I ran the repair as you mentioned in the other post about trying to just find the AI Panel.  that didnt reveal anything.. and no, i've not made any changes in the Saved games.  Couldnt find anything that was directly connected to the CH47.   

The only thing that would make sense would be that there is a file somewhere which references the AI Panel and screen postition.. Hence, when i create a new options.lua, where it's configured for one monitor, the AI panel is still nowhere to be seen.. But what the file might be is anyones guess

 

Oh, and I've just remembered after the update,

you have to bind the SHOW/HIDE AI PANEL that is in the main controls, not the gunner controls menu, the gunner controls one doesn't work for me either.

Edited by jonsky7
  • Like 1
  • Recently Browsing   0 members

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