hokie17 Posted August 24, 2012 Share Posted August 24, 2012 (edited) Ok. Here we go. :) Clickable radio menu. Total render 3840x1080 I need the top left of the selection "F1" at x=3057/y=686 I would like to have the top-left of Dialogue at x=15/y=15. The default positioning of this, being in the top left of the view window, is ok with me. MonitorSetup lua _ = function#p# return p; end; name = _#'BMFCD'); Description = 'BMFCD' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1#7777777777777777777777777778; } } RIGHT_MFCD = { x = 3326; y = 120; width = 445; height = 445; } LEFT_MFCD = { x = 1987; y = 120; width = 445; height = 445; } CMSC_SCREEN = { x = 2776; y = 141; width = 230; height = 49; } CMSP_SCREEN = { x = 2995; y = 190; width = 270; height = 70; } RWR_SCREEN = { x = 2520; y = 161; width = 175; height = 175; } DIGIT_CLOCK = { x = 2400; y = 830; width = 122; height = 122; } UHF_FREQUENCY_STATUS = { x = 2555; y = 565; width = 120; height = 30; } UHF_PRESET_CHANNEL = { x = 2668; y = 477; width = 30; height = 30; } UHF_REPEATER = { x = 2576; y = 695; width = 110; height = 30; } UIMainView = Viewports.Center Edited August 24, 2012 by hokie17 Link to comment Share on other sites More sharing options...
PeterP Posted August 24, 2012 Author Share Posted August 24, 2012 (edited) Ok. Here we go. :) Clickable radio menu. Total render 3840x1080 I need the top left of the selection "F1" at x=3057/y=686 I would like to have the top-left of Dialogue at x=15/y=15. The default positioning of this, being in the top left of the view window, is ok with me. MonitorSetup lua _ = function#p# return p; end; name = _#'BMFCD'); Description = 'BMFCD' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1#7777777777777777777777777778; } } RIGHT_MFCD = { x = 3326; y = 120; width = 445; height = 445; } LEFT_MFCD = { x = 1987; y = 120; width = 445; height = 445; } CMSC_SCREEN = { x = 2776; y = 141; width = 230; height = 49; } CMSP_SCREEN = { x = 2995; y = 190; width = 270; height = 70; } RWR_SCREEN = { x = 2520; y = 161; width = 175; height = 175; } DIGIT_CLOCK = { x = 2400; y = 830; width = 122; height = 122; } UHF_FREQUENCY_STATUS = { x = 2555; y = 565; width = 120; height = 30; } UHF_PRESET_CHANNEL = { x = 2668; y = 477; width = 30; height = 30; } UHF_REPEATER = { x = 2576; y = 695; width = 110; height = 30; } UIMainView = Viewports.Center Attached Thumbnails Your version is Ready - please test and report! (No need for others to download it - unless you use the same monitor-layout as hokie17) Edit: Please tell me if you can also need a Left-Click variant - but make sure that it can't collide with your Helios profile. I will re-fresh the attached files with it. 2nd Edit : Done! Edited August 26, 2012 by PeterP 1 Link to comment Share on other sites More sharing options...
hokie17 Posted August 24, 2012 Share Posted August 24, 2012 Ok, that works pretty well. I had a problem with the menu disappearing when I hit my PTT key for Shoot voice commands, but found a setting in CapLoz's Helios profile to fix that. The location of the menus is perfect, though I haven't had a chance to try rearming yet, which I think has the longest radio menus. I'll let you know when I have the chance to test it (family dinner is imminent, I have to go!) :) Here's my only problem: clicking on the menu on my touchscreen is not sending any keystrokes. Do I need to edit menu.res, or did that change with DCS World? Anything else I need to edit on my own? Thank you very much for the help and the patience! Link to comment Share on other sites More sharing options...
PeterP Posted August 24, 2012 Author Share Posted August 24, 2012 (edited) I cant help you with "disappearing-menus".- you have to maintain your profiles on your own. ...it is a Right-Click. So it is almost impossible to interfere with other underlying windows...or using it in a cockpit view. What I have done with my touch-screen: When I hold a single point longer as 0.3 sec it will be translated as a Right-click. Look up your touch-screen settings how to do it. About the rearming window: Since 1.2.0 it is a whole different item and can be called through [L-Alt+'] -whatever - I added a "Left-click-hokie17.exe" to the last attachment. Try it. Edited August 24, 2012 by PeterP Link to comment Share on other sites More sharing options...
hokie17 Posted August 24, 2012 Share Posted August 24, 2012 Thanks I will try the left click when I get back. I have to hold down a left click on simulated held switches and wouldn't be sure about the best way to do a right click. But since the engine instruments are in that location, I shouldn't have to worry about clicking something else. Link to comment Share on other sites More sharing options...
hokie17 Posted August 25, 2012 Share Posted August 25, 2012 Ok, the left click works. I had to set Helios up so the radio switch on the throttle outputted LWIN+R on each release of each direction, because if I just left the script active it interfered with normal holding down of left-click touches. That, and tapping an OSB would result in it being held down for a few seconds before being released. Thanks for the help! :) Link to comment Share on other sites More sharing options...
PeterP Posted August 25, 2012 Author Share Posted August 25, 2012 (edited) because if I just left the script active it interfered with normal holding down of left-click touches. oh! Sorry Hokie! I made a small typo in the scripts - the stuck button is absolutely unintended. I loaded up the corrected scripts and it is fixed now... I even triple-checked them now for correct behaviour :) Please delete all previous versions to prevent confusing! Tip: I added my exe to the windows startup folder - so it gets loaded when Windows starts. So I don't have to search for it before starting DCS. Edited August 25, 2012 by PeterP Link to comment Share on other sites More sharing options...
PeterP Posted August 25, 2012 Author Share Posted August 25, 2012 (edited) I finished the instruction!:) Click- and Customizable Radio Menu for DCS World (HI-Res picture is inside the attachment) The Readme: Click- and Customizable Radio Menu for DCS World Please choose your pre-set and read the Readme inside !!! 1.Normal For normal "expected" users: with a single monitor (or even more - but the "camera/gui" at the left/top most- at X/Y =0) 2. TripleHead For Triple-head users: The Radio menu will only appear at the middle screen 3. Custom For Multi-Monitor/SoftTH/cockpit-builders/Helios users : This version includes a detailed instruction how to customize almost every aspect of the radio menu. Comments and Feedback >>> http://forums.eagle.ru/showthread.php?t=76225 -PeterP 25-8-2012 Edited August 26, 2012 by PeterP Link to comment Share on other sites More sharing options...
Phantom453 Posted August 25, 2012 Share Posted August 25, 2012 Peter - You are a legend!!! Just outstanding work and thank you so much for your efforts and for sharing this. Rep inbound. This is the one thing that was bugging me the most about using DCS World. Have been testing your mod and all seems fine so far. A bit more testing to do. Just one question. I use to have my HOTAS radio switch “Up” command assigned to F12 (in DCS A10-C) to exit the radio menu. Is it possible to do this for your DCS World mod? Thanks!! :thumbup: Link to comment Share on other sites More sharing options...
PeterP Posted August 25, 2012 Author Share Posted August 25, 2012 (edited) Just one question. I use to have my HOTAS radio switch “Up” command assigned to F12 (in DCS A10-C) to exit the radio menu. Is it possible to do this for your DCS World mod? yes Find out which exact joystick ID and button number the mic-switch "up" has and add this code to the end of the AHK file: 4Joy15:: ; This is a example ! = Joystick ID #4 Button 15 -change this to your needs sendevent {F12 down} KeyWait, 4Joy15 ; !Change the button ID like above! ; waiting for the button to be released , then ... sendevent {F12 up} return More info about programming your joystick with Autohotkey: http://forums.eagle.ru/showthread.php?t=93155 Edited August 26, 2012 by PeterP Link to comment Share on other sites More sharing options...
PeterP Posted August 27, 2012 Author Share Posted August 27, 2012 (edited) Comment on the userfiles download page: Badger66, 27.08.2012 17:55:13 Ive followed the instructions ..... but win R wont do anything for me . All this has done for me is swap the labels from the right to the left . Now , I know many people have gotten this working , so I must be doing something wrong , but no idea what . Badger66, which version did you "tried"? ...when "Custom":have you installed Autohotkey like I wrote in the Readme and did you activated the script ? Edited August 27, 2012 by PeterP Link to comment Share on other sites More sharing options...
badger66 Posted August 27, 2012 Share Posted August 27, 2012 I tried the normal Peter ..... then clicked on the little green box . Link to comment Share on other sites More sharing options...
PeterP Posted August 28, 2012 Author Share Posted August 28, 2012 bagger , and what exactly happened? ...green-box ... are you talking of the exe or the notification icon? ... are you still on 32bit? - the exe supports only 64 bit. please give me every info that you might think is useful to debug your problem. Edit: >> 32bit executables of the AHK scripts are now attached to post #1<< Link to comment Share on other sites More sharing options...
badger66 Posted August 28, 2012 Share Posted August 28, 2012 Wait up Peter , im 64 bit , but Im tryin to fugure this out , just in a bit of a rush at the minute . I'll get back to you soon . Thanks for taking the time to help :) 1 Link to comment Share on other sites More sharing options...
badger66 Posted August 28, 2012 Share Posted August 28, 2012 (edited) Right , Ive decided on the normal version , Im running win7 64bit . I selected the CommandDialogsPanel.lua and CommandMenu.lua from the installation and let them overwrite the files . Ive backed up original files before letting new ones overwrite . Then Ive double clicked on the little green box "clickable radiomenu for DCS World 1.2.0. x64 normal.exe" and a box apears on the screen saying "an older version of this script is already running , to avoid this message, see single instance in the help file" . Nothin is happenin now , cept the script has changed from right to left . Win + R does nothin . I know Im doing something wrong , as others have managed to get it workin , but excatly what , havent a clue . What help file ? Ok , I got 2 hidden icons , little green boxs , both with a "S" ..... should I delete the "S" one ? I cant , cuz the programe isnt showing up in my deinstall list ? .............. Ive gone grey !!! Edited August 28, 2012 by badger66 Link to comment Share on other sites More sharing options...
PeterP Posted August 28, 2012 Author Share Posted August 28, 2012 (edited) Right , Ive decided on the normal version , Im running win7 64bit . I selected the CommandDialogsPanel.lua and CommandMenu.lua from the installation and let them overwrite the files . Ive backed up original files before letting new ones overwrite . Good Then Ive double clicked on the little green box "clickable radiomenu for DCS World 1.2.0. x64 normal.exe" and a box apears on the screen saying OK "an older version of this script is already running , to avoid this message, see single instance in the help file" .That's seems the point when things went wrong - as it says: an older version of this script is already running Means you run two instances of it... Ok , I got 2 hidden icons , little green boxs , both with a "S" ..... should I delete the "S" one ? I cant , cuz the programe isnt showing up in my deinstall list ? .............. Ive gone grey !!That you have two of these "little green boxs" confirms this. and a "S" means that the script is suspended and does nothing at all. As I wrote in the read me - you have to hit [Win+R] to activate it. -whatever- I want you to do this: 1. Check your notification tray if there is such a "little green boxs" - if yes > right click on it (them) and choose "exit" Make sure there is no instance of it running. 2. Now right click on "Clickable RadioMenu for DCS World 1.2.0 x64 Normal.exe" and chose "open" Now a massage box with this text should appear: Clickable Radio Menu with Right-Mouse for DCS 1.2.0 . Press [Win+R] to switch the script ON/OFF. (OFF by default) IF you don't have a visible Mouse pointer e.g. Su-25T: Open the "Score window" ['] and drag it in a corner. ([Ä] on a German Qwertz)> click "OK" 3. Now start DCS world 1.2.0 4. When the mission is running just hit [Win+R] and you have activated the script.- you hear also a sound that indicates it. Further: The "little green box" will show a "H" for "Hotkey" and indicates that this script is now active. Now you can click the Radio menu with the Right mouse button. If you have still problems please check again if you followed this 4 steps in the right order and double-check that only one instance of this script is active. Once you ended your DCS session you can simply hit [Win+R] to deactivate it or kill the process by right-clicking the little green box and exit it. Edited August 28, 2012 by PeterP Link to comment Share on other sites More sharing options...
badger66 Posted August 28, 2012 Share Posted August 28, 2012 The tray is empty now , but when I click "customise" at the bottom it opens up a window , in this window there are 2 green icons , one with a "H" and one with an "S" ..... I cant click on them , it does nothing . Both are set to "show icon and notifications" within this window . What the fcuk have I done now !!! lol Link to comment Share on other sites More sharing options...
PeterP Posted August 28, 2012 Author Share Posted August 28, 2012 ... I never told to click "customize your notification tray"... To get to the desired outcome as quick as possible without the need to explaining you how the notification tray of Win7 works in detail: Simply restart your system or Log off Link to comment Share on other sites More sharing options...
badger66 Posted August 28, 2012 Share Posted August 28, 2012 I did a system restore , and its gotten rid of all the icons in question ..... I will now start fresh with the complete mod . Be back shortly . Thanks for your time Link to comment Share on other sites More sharing options...
badger66 Posted August 28, 2012 Share Posted August 28, 2012 Right , Ive done everything like you said ..... the little green icon changes from "S" to "H" when I do win+R ..... including the startup noise , then I start the game , enter a mission , choose comms which are on the left hand side of the screen , but right mouse click selects nothing ..... neither does left . Im lost !!! Link to comment Share on other sites More sharing options...
PeterP Posted August 28, 2012 Author Share Posted August 28, 2012 (edited) Im lost !!! Me too! - something must be wrong at your end. My last guess : Run the "Clickable RadioMenu for DCS World 1.2.0 x64 Normal.exe" as administrator. Edited August 28, 2012 by PeterP Link to comment Share on other sites More sharing options...
E61-v1T1 Posted August 28, 2012 Share Posted August 28, 2012 Installed and tested!! Excellent Mod!! Initially I broke my head, then I realized it was done with right mouse clik :lol: :thumbup: [sIGPIC][/sIGPIC] Hotas TM Warthog | Saitek Pro Flight Rudder | Oculus Rift | MSI Z97 Gaming 3| i5-4690K oc 4.5Ghz | 16Gb ddr3 | GTX 1080 Ti | W10 64Bits Link to comment Share on other sites More sharing options...
PeterP Posted August 28, 2012 Author Share Posted August 28, 2012 Thanks ! Initially I broke my head, then I realized it was done with right mouse clik Yes - things getting easier if you are not only able to read - but also able to understand!:) 1 Link to comment Share on other sites More sharing options...
badger66 Posted August 28, 2012 Share Posted August 28, 2012 Well , that worked ..... much appreciated for your time and , patience and a big thank you Peter . Brilliant mod , Im now a happy camper :) Link to comment Share on other sites More sharing options...
PeterP Posted August 28, 2012 Author Share Posted August 28, 2012 Well , that worked ..... much appreciated for your time and , patience and a big thank you Peter . Brilliant mod , Im now a happy camper :) What exactly worked? Running it as administrator when UAC is on? - I will add it to the readme.txt Link to comment Share on other sites More sharing options...
Recommended Posts