Jump to content

Recommended Posts

Posted

I am trying to move the mini hud for the controllers from the lower left to the upper left. I read the suggestion of PP below (after using the new location of the file), but nothing happened.

 

http://forums.eagle.ru/showthread.php?t=84266&highlight=indicator+controls+move

 

Any other suggestions.

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

Posted (edited)

Also you will have to do it for each module.. If you want the viewport for A10 and Ka50 then it goes in each respective init file.

 

And then in monitor config...

 

GUI =

{

x = 2520; --ENTER POSITION YOU WANT FROM THE RIGHT

y = 115; --ENTER THE POSITION YOU WANT FROM THE TOP

width = 115; --ENTER HOW WIDE YOU WANT IT

height = 40; --ENTER HOW TALL YOU WANT IT

}

Edited by Reaper6

"De oppresso liber"

 

NZXT Phantom Full Tower, Intel Core i7 4960X Processor(6x 3.60GHz/15MB L3Cache) 20% Overclocking, 64GB DDR3-2133 Memory, NVIDIA GeForce GTX Titan Black-6GB SLI Mode(Dual Cards), Gigabyte GA-X79-UP4 Motherboard, ViewSonic PJD5132 SVGA Multi-Region 3D Ready Portable DLP Projector, Track IR 5, Thrustmaster Warthog, Cougar MFDs.

Posted

Basically just copy and paste this into the Controlsindicator.lua and overwrite everything else in that file. (This should be the only code in that .lua)

 

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")

indicator_type = indicator_types.COMMON

purposes = {render_purpose.SCREENSPACE_INSIDE_COCKPIT,render_purpose.HUD_ONLY_VIEW}

screenspace_scale = 4;

-- try to find assigned viewport

function try_find_assigned_viewport(exactly_name)

local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua"

local f = loadfile(multimonitor_setup_name)

if f then

local env = {screen = LockOn_Options.screen}

setfenv(f,env)

pcall(f)

local target_env = env[exactly_name]

if target_env then

set_full_viewport_coverage(target_env)

purposes = {100,render_purpose.HUD_ONLY_VIEW}

end

end

end

try_find_assigned_viewport("GUI")

end

-------PAGE IDs-------

id_Page =

{

MAIN = 0,

}

id_pagesubset =

{

COMMON = 0,

}

page_subsets = {}

page_subsets[id_pagesubset.COMMON] = LockOn_Options.script_path.."ControlsIndicator\\ControlsIndicator_page.lua"

 

----------------------

pages = {}

pages[id_Page.MAIN] = { id_pagesubset.COMMON}

init_pageID = id_Page.MAIN

"De oppresso liber"

 

NZXT Phantom Full Tower, Intel Core i7 4960X Processor(6x 3.60GHz/15MB L3Cache) 20% Overclocking, 64GB DDR3-2133 Memory, NVIDIA GeForce GTX Titan Black-6GB SLI Mode(Dual Cards), Gigabyte GA-X79-UP4 Motherboard, ViewSonic PJD5132 SVGA Multi-Region 3D Ready Portable DLP Projector, Track IR 5, Thrustmaster Warthog, Cougar MFDs.

Posted

My monitor config file

 

Reaper6

Here is my current monitor config file for my 2 monitors.

 

I will try your controller suggestion.

2_monitors-KA50.lua

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

Posted

It seems that I had misspelled the word indicator (left out the "a") so when I corrected it, PP's solution worked and I doubled the size of the mini hud. Later I will try to move it up. I didn't use the suggestion by Reaper6, but will try it later.

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

  • Recently Browsing   0 members

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