Bigity Posted August 10, 2024 Posted August 10, 2024 Does this file exist for the Chinook? I'd really like to be able to see my controls indicator on my multi-monitor setup.
Bigity Posted August 10, 2024 Author Posted August 10, 2024 No, you misunderstand. I have a multi-monitor setup - the window is hidden under an exported MFD. WIth other aircraft I have to edit a lua file to get it back on my main screen. That file does not seem to exist for the chinook.
Solution Deezle Posted August 10, 2024 Solution Posted August 10, 2024 1 hour ago, Bigity said: No, you misunderstand. I have a multi-monitor setup - the window is hidden under an exported MFD. WIth other aircraft I have to edit a lua file to get it back on my main screen. That file does not seem to exist for the chinook. Check in the Mods\aircraft\GCBase folder. Intel 9600K@4.7GHz, Asus Z390, 64GB DDR4, EVGA RTX 3070, Custom Water Cooling, 970 EVO 1TB NVMe 34" UltraWide 3440x1440 Curved Monitor, 21" Touch Screen MFD monitor, TIR5 My Pit Build, Moza AB9 FFB w/WH Grip, TMWH Throttle, MFG Crosswinds W/Combat Pedals/Damper, Custom A-10C panels, Custom Helo Collective, SimShaker with Transducer
Bigity Posted August 11, 2024 Author Posted August 11, 2024 1 hour ago, Deezle said: Check in the Mods\aircraft\GCBase folder. Thanks, I will but I got it sorted another way. I reorientated my monitors in Windows from left to right (instead of stacked), which causes DCS to put the control window in the normal place. 1
MadKreator Posted August 12, 2024 Posted August 12, 2024 Just ran into the same thing, having a multi-monitor setup the controls indicator renders way down at the bottom of the stacked screens, not in the upper left of the main screen where it should be… or is on most/ all others. Also on mine it only shows( with r-ctrl+enter) when in Alt-F1 view. It doesn’t render in the standard cockpit view, not on any monitor I tried forcing it to export as a viewport but that didn’t work. Seems odd for this function to have module-specific settings and not be a general UI-Layer thing. 1 Intel i7 13700k, ASUS rog strix z790A, 64gigs G.Skill Trident DDR5 @6400Mhz, Nvidia RTX 4080FE, 4TB, 2x 2TB, 1TB Samsung NVME, 1TB Samsung SSD, Corsair RM1000x, Corsair Titan 360 X AIO cooler, Lian Li LanCool 2, VKB Gunfighter Ultimate, VKB Custom STECS , MFG Crosswinds, Moza FFB, Virpil Collective, Track IR5, 48” LG UltraGear OLED & HP 24” touchscreen for Helios,49” Samsung Ultrawide, Streamdeck XL, Corsair Virtuoso RGB Headphones
C6_Hellfrog Posted April 25 Posted April 25 with one screen whatever is resolution main game folder, not the users one, \DCS World\Mods\aircraft\CH-47F\Cockpit\Scripts\CargoIndicator\CargoIndicator_page.lua an exemple on how to place the indicator on screen, and edited with a black transparent to replace the ugly green... dofile(LockOn_Options.common_script_path.."elements_defs.lua") --local prerequisite1_path = get_dcs_plugin_path("GCBase") --local prerequisite1_cpt_script_path = prerequisite1_path .. "/Cockpit/Scripts/" --dofile(prerequisite1_cpt_script_path .. "IndicatorsCmn/materials.lua") SetCustomScale(1.0) function AddElement(object) object.screenspace = ScreenType.SCREENSPACE_TRUE object.use_mipfilter = true Add(object) end local box_height = 0.25 local box_width = 0.25 local narrow_height = 0.01 local narrow_width = 0.01 local size=0.25; local line_width=0.0005 local width = 1.0 local BaseX = 0.66 --local aspect = LockOn_Options.screen.aspect -- X : -1 top left ------ 0 center ------- +1 top right local BaseY = -0.33 -- 1.0 = top up ------ 0 middle ----- -1 bottom --**** local texture_red = MakeMaterial("Bazar/Textures/AvionicsCommon/arcade.tga", {255, 0, 0, 255}) local texture_cred = MakeMaterial("Bazar/Textures/AvionicsCommon/big_circle.tga", {255, 0, 0, 255}) base = CreateElement "ceMeshPoly" base.name = "base" base.primitivetype = "triangles" base.material = "DBG_BLACK" --base.material = "DBG_GREEN" base.vertices = {{-box_width, -box_height}, {-box_width, box_height }, { box_width, box_height }, { box_width, -box_height}} base.indices = default_box_indices base.init_pos = {BaseX-box_width,BaseY-box_height} --base.init_pos = {aspect-box_width,1.0-box_height} --base.initpos X Y is left down coord of graphic drawing ---******** base.init_rot = {90,0,0} base.controllers = {{"show"}} base.h_clip_relation = h_clip_relations.REWRITE_LEVEL base.level = DEFAULT_LEVEL AddElement(base) local size_narrow = 1.25 NarrowCircle = CreateElement "ceTexPoly" NarrowCircle.name = "NarrowCircle " NarrowCircle.primitivetype = "triangles" NarrowCircle.material = texture_red NarrowCircle.vertices = {{-narrow_width*size_narrow, -narrow_height*size_narrow}, {-narrow_width*size_narrow, narrow_height*size_narrow }, { narrow_width*size_narrow, narrow_height*size_narrow }, { narrow_width*size_narrow, -narrow_height*size_narrow}} NarrowCircle.tex_params = {253/722, 360/722, 75/722 / (2*narrow_width*size_narrow), 75/722 / (2*narrow_height*size_narrow)} NarrowCircle.indices = default_box_indices NarrowCircle.init_pos = {0.0,0.0} NarrowCircle.controllers = {{"show"},{"narrowPosition",BaseX-box_width--[[-narrow_width*size_narrow--]],BaseY-box_height--[[narrow_height*size_narrow--]]}} --NarrowCircle.controllers = {{"show"},{"narrowPosition",aspect-box_width--[[-narrow_width*size_narrow--]],1.0-box_height--[[narrow_height*size_narrow--]]}} --**** NarrowCircle.parent_element = base.name NarrowCircle.h_clip_relation = h_clip_relations.COMPARE NarrowCircle.level = DEFAULT_LEVEL AddElement(NarrowCircle) circle = CreateElement "ceTexPoly" circle.name = "circle" circle.primitivetype = "triangles" circle.material = texture_cred circle.vertices = {{-narrow_width*12.5/2, -12.5/2*narrow_height}, {-narrow_width*12.5/2, 12.5/2*narrow_height}, { narrow_width*12.5/2, 12.5/2*narrow_height }, { narrow_width*12.5/2, -12.5/2*narrow_height}} circle.tex_params = {0.5, 0.5, 720/722/(25/2*narrow_width), 720/722/ (25/2*narrow_height)} circle.indices = default_box_indices circle.init_pos = {0.0,0.0} circle.controllers = {{"show"},{"circlePosition",BaseX-box_width,BaseY-box_height}--[[,{"radius"}--]]} --circle.controllers = {{"show"},{"circlePosition",aspect-box_width,1.0-box_height}--[[,{"radius"}--]]} --**** circle.parent_element = base.name circle.h_clip_relation = h_clip_relations.COMPARE circle.level = DEFAULT_LEVEL --circle.parent_element = base.name --set_circle(circle, 0.8, 0.815) AddElement(circle) heightBordersCargo = CreateElement "ceMeshPoly" heightBordersCargo .name = "heightBordersCargo" heightBordersCargo .primitivetype = "triangles" heightBordersCargo .material = "DBG_BLUE" heightBordersCargo .vertices = {{-line_width*5 , -size}, {-line_width*5 , size}, { line_width*5 , size}, { line_width*5 ,-size}} heightBordersCargo .indices = default_box_indices heightBordersCargo .controllers = {{"show"},{"showHeightBordersCargo"}} heightBordersCargo .init_pos = {BaseX-0.06,BaseY-box_height} --heightBordersCargo .init_pos = {aspect-0.06,1.0-box_height} --********* heightBordersCargo .level = DEFAULT_LEVEL heightBordersCargo .h_clip_relation = h_clip_relations.REWRITE_LEVEL AddElement(heightBordersCargo) heightBordersZone = CreateElement "ceMeshPoly" heightBordersZone .name = "heightBordersZone" heightBordersZone .primitivetype = "triangles" heightBordersZone .material = "DBG_BLACK" --heightBordersZone .material = "DBG_RED" heightBordersZone .vertices = {{-line_width*5 , -size}, {-line_width*5 , size}, { line_width*5 , size}, { line_width*5 ,-size}} heightBordersZone .indices = default_box_indices heightBordersZone .controllers = {{"show"},{"showHeightBordersZone"}} heightBordersZone .init_pos = {BaseX-0.06,BaseY-box_height} --heightBordersZone .init_pos = {aspect-0.06,1.0-box_height} --****** heightBordersZone .level = DEFAULT_LEVEL heightBordersZone .h_clip_relation = h_clip_relations.REWRITE_LEVEL AddElement(heightBordersZone) zone = CreateElement "ceMeshPoly" zone.name = "zone" zone.primitivetype = "triangles" zone.material = "DBG_RED" zone.vertices = {{-line_width*5 , -0.8*size}, {-line_width*5 , 0.8*size}, { line_width*5 , 0.8*size}, { line_width*5 ,-0.8*size}} zone.indices = default_box_indices zone.controllers = {{"show"}} zone.init_pos = {BaseX-0.06,BaseY-box_height} --zone.init_pos = {aspect-0.06,1.0-box_height} --******** zone.h_clip_relation = h_clip_relations.REWRITE_LEVEL zone.level = DEFAULT_LEVEL AddElement(zone) heightnarrow = CreateElement "ceTexPoly" heightnarrow.name = "heightnarrow" heightnarrow.primitivetype = "triangles" heightnarrow.material = texture_red heightnarrow.vertices = {{-narrow_width*size_narrow, -narrow_height*size_narrow}, {-narrow_width*size_narrow, narrow_height*size_narrow}, { narrow_width*size_narrow, narrow_height*size_narrow }, { narrow_width*size_narrow, -narrow_height*size_narrow}} heightnarrow.tex_params = {0.5, 0.5, 75/722/(2*size_narrow*narrow_width), 75/722/(2*size_narrow*narrow_height)} heightnarrow.indices = default_box_indices heightnarrow.parent_element = base.name heightnarrow.init_pos = {0.0,0.0} heightnarrow.controllers = {{"show"},{"heightStripPosition",BaseX-0.06,BaseY-box_height}} --heightnarrow.controllers = {{"show"},{"heightStripPosition",aspect-0.06,1.0-box_height}} --********* AddElement(heightnarrow) crosshair = CreateElement "ceMeshPoly" crosshair.name = "crosshair" crosshair.primitivetype = "lines" crosshair.material = "DBG_RED" crosshair.vertices = {{-size ,0},{size , 0}, { 0 ,-size},{0, size}} crosshair.indices = {0,1,2,3} crosshair.parent_element = base.name AddElement(crosshair) 1
Recommended Posts