Jump to content

Click- and Customizable Radio Menu for DCS World


Recommended Posts

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

 

radiomenu.thumb.jpg.94ec6f434d5f581626788fb49f5b1fc9.jpg


Edited by hokie17
Link to comment
Share on other sites

  • Replies 191
  • Created
  • Last Reply

Top Posters In This Topic

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 attachment.php?attachmentid=69835&stc=1&thumb=1&d=1345800832

 

 

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 by PeterP
  • Like 1

Link to comment
Share on other sites

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

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 by PeterP

Link to comment
Share on other sites

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

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

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 by PeterP

Link to comment
Share on other sites

I finished the instruction!:)

 

Click- and Customizable Radio Menu for DCS World

 

 

(HI-Res picture is inside the attachment)

Re-positionRadiomenuinstruction.jpg

 

ClickboxAHKinstruction-1.jpg

 

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 by PeterP

Link to comment
Share on other sites

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

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 by PeterP

Link to comment
Share on other sites

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 by PeterP

Link to comment
Share on other sites

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

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 by badger66
Link to comment
Share on other sites

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 by PeterP

Link to comment
Share on other sites

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

... 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

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

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

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

  • Recently Browsing   0 members

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